Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 6月 13, 2023
    • Justin Ho Tuan Duong's avatar
      Fix rendering of imported file comments · 4915a553
      Justin Ho Tuan Duong 创作于
      - Fix rendering of discussions that do not have "diff_file.diff_refs".
      Some comments on a whole file (imported from GitHub)
      did not render properly as they use LegacyDiffNotes on the
      backend which does not include "diff_refs". This fix adds a
      fallback value for the old / new SHA to use "commit_id"
      which when passed, renders the correct file path.
      - Add "no_preview" option as a diffFile viewer option. This makes
      sure we don't show the "replaced" side-by-side option for
      file comments.
      
      Changelog: fixed
      4915a553
  2. 6月 07, 2023
  3. 11月 18, 2022
    • Dheeraj Joshi's avatar
      Migrate SafeHtml imports to use shared directive · 953b7c08
      Dheeraj Joshi 创作于
      This change moves all GlSafeHtmlDirective
      imports to use SafeHtml directive in `vue_shared`
      directory. This is a fork from gitlab ui which was
      added earlier to roll out changes more reliably.
      
      It also restricts future import of GlSafeDirective
      with the help of a new eslint rule.
      953b7c08
  4. 5月 31, 2022
  5. 5月 25, 2022
  6. 4月 08, 2022
  7. 2月 03, 2022
  8. 11月 19, 2021
  9. 9月 02, 2021
  10. 2月 15, 2021
  11. 12月 24, 2020
  12. 12月 04, 2020
  13. 11月 26, 2020
  14. 10月 26, 2020
    • Thomas Randolph's avatar
      Add `manuallyCollapsed` flag to Diff Files · d6c42a8b
      Thomas Randolph 创作于
      Of course, this means that there's a bunch of logic
      to coordinate the new flag with the original -
      `automaticallyCollapsed` - flag.
      
      In addition: the UI is updated to use the new flag
      whenever it's been set, but to continue to fall back
      to the old flag. This is primarily facilitated by a new
      helper utility for diff files to do the resolution in a
      single centralized place.
      
      Of note: the diff_file is updated to depend on the
      global store as the authoritative source of determining
      whether the file is collapsed or not. The previous
      version kept a local `isCollapsed` in sync with the
      global store, which introduced a huge amount of
      interwoven complexity. The update ingests the
      resolved collapsed state from the store when
      various observed properties update instead of
      inverting that flow.
      
      This is a full refactor of file collapsing.
      Because the previous version was a single flag, then
      modified with a user preference (file-by-file), there
      were some issues including a THIRD possible way
      that collapsing works. This update slightly simplifies
      how collapsing works by depending more heavily
      on the two flags stored in state and only modifying
      them with the user preference when necessary.
      d6c42a8b
  15. 9月 29, 2020
  16. 9月 02, 2020
  17. 8月 26, 2020
  18. 5月 20, 2020
  19. 4月 10, 2020
  20. 4月 02, 2020
  21. 3月 17, 2020
  22. 12月 11, 2019
  23. 8月 08, 2019
    • Ezekiel Kigbo's avatar
      Disable vue-i18n for non-autofix files · 834f1f97
      Ezekiel Kigbo 创作于
      Disables the vue-i18n eslint rules for files
      that are not able to be autofixed, this will
      stop these offences causing pipeline failures
      but they will need manual fixing.
      834f1f97
    • Ezekiel Kigbo's avatar
      Disable vue-i18n for non-autofix files · cc1aea13
      Ezekiel Kigbo 创作于
      Disables the vue-i18n eslint rules for files
      that are not able to be autofixed, this will
      stop these offences causing pipeline failures
      but they will need manual fixing.
      cc1aea13
  24. 7月 04, 2019
  25. 6月 21, 2019
  26. 4月 13, 2019
  27. 4月 12, 2019
  28. 3月 26, 2019
  29. 2月 16, 2019
  30. 1月 23, 2019
    • Douwe Maan's avatar
      Trim first char of diff line text on diff discussions · 03df54b2
      Douwe Maan 创作于
      Before, diff file `higlighted_diff_lines`/`parallel_diff_lines` and
      diff discussion `truncated_diff_lines` were inconsistent: `text` and
      `rich_text` on the latter included the leading +/-/<space> character,
      like on the backend, while the former had no `text` and its `rich_text`
      had dropped this char.
      
      This resulted in a bug when the suggestions feature expected these diff
      line objects to be identical in format and thus interchangeable, which
      was not the case.
      03df54b2
  31. 11月 27, 2018
  32. 11月 20, 2018
加载中