Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 Pull mirroring failed .
上次成功更新
  1. 11月 26, 2020
  2. 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
  3. 9月 29, 2020
  4. 9月 02, 2020
  5. 8月 26, 2020
  6. 5月 20, 2020
  7. 4月 10, 2020
  8. 4月 02, 2020
  9. 3月 17, 2020
  10. 12月 11, 2019
  11. 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
  12. 7月 04, 2019
  13. 6月 21, 2019
  14. 4月 13, 2019
  15. 4月 12, 2019
  16. 3月 26, 2019
  17. 2月 16, 2019
  18. 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
  19. 11月 27, 2018
  20. 11月 20, 2018
  21. 11月 17, 2018
  22. 11月 16, 2018
  23. 11月 15, 2018
    • Phil Hughes's avatar
      Made diff & note data consistent · 234563ba
      Phil Hughes 创作于
      This caused many pain points when working with it.
      Part of the data was camel cased the other snake case.
      Other parts where snake case & then getting converted in components,
      this conversion has the potential for leaking memory.
      
      This changes that & makes it consistent with what it returned from the
      API, snake case.
      234563ba
  24. 11月 07, 2018
  25. 11月 05, 2018
    • Phil Hughes's avatar
      Re-implemented image commenting on diffs · f7df9ddb
      Phil Hughes 创作于
      This re-implements image commenting in merge request diffs.
      This feature was previously lost when the merge request
      page was refactored into Vue.
      
      With this, we create an overlay component. The overlay
      component handles displaying the comment badges
      and the comment form badge.
      Badges are displayed based on the position attribute
      sent with the discussion.
      
      Comment forms for diff files are controlled through
      a different state property. This is so we don't
      tie comment forms to diff files directly creating
      deep nested state. Instead we create a flat array
      which holds the file hash & the X & Y position of
      the comment form.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/48956
      f7df9ddb
  26. 10月 30, 2018
  27. 10月 12, 2018
  28. 9月 27, 2018
  29. 9月 26, 2018
  30. 9月 05, 2018
  31. 7月 17, 2018
  32. 7月 05, 2018
加载中