Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 2月 13, 2024
  2. 10月 17, 2023
  3. 8月 15, 2023
    • Frédéric Caplette's avatar
      Lint against VueX imports · 3e60bba2
      Frédéric Caplette 创作于
      We are moving away from VueX in favour of Vue
      and ApolloClient. We want to ling against new
      VueX imports to make sure to warn developers
      not to introduce new stores.
      3e60bba2
  4. 7月 28, 2023
  5. 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
  6. 6月 07, 2023
  7. 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
  8. 5月 31, 2022
  9. 5月 25, 2022
  10. 4月 08, 2022
  11. 2月 03, 2022
  12. 11月 19, 2021
  13. 9月 02, 2021
  14. 2月 15, 2021
  15. 12月 24, 2020
  16. 12月 04, 2020
  17. 11月 26, 2020
  18. 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
  19. 9月 29, 2020
  20. 9月 02, 2020
  21. 8月 26, 2020
  22. 5月 20, 2020
  23. 4月 10, 2020
  24. 4月 02, 2020
  25. 3月 17, 2020
  26. 12月 11, 2019
  27. 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
  28. 7月 04, 2019
  29. 6月 21, 2019
  30. 4月 13, 2019
  31. 4月 12, 2019
  32. 3月 26, 2019
  33. 2月 16, 2019
  34. 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
加载中