Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 9月 29, 2024
  2. 9月 13, 2024
  3. 8月 22, 2024
  4. 8月 14, 2024
  5. 7月 08, 2024
    • Alex Fracazo's avatar
      Move merge request files now shown warning to diff panel · 39f82a3a
      Alex Fracazo 创作于
      We move the warning in merge request that tell
      users some files are not shown to the diff panel
      instead of the main panel. This in effect means that
      when the files panel is opened, the alert is not above
      both the files and the diff, but instead under the diff
      side and so take only half of the space. This change is so
      that the message is more contextualized in the user reading
      experience of the code.
      
      Changelog: changed
      39f82a3a
  6. 6月 12, 2024
  7. 5月 22, 2024
  8. 3月 28, 2024
  9. 3月 01, 2024
  10. 2月 23, 2024
  11. 1月 23, 2024
  12. 1月 22, 2024
    • Jannik Lehmann's avatar
      Remove Frontend Implementation of sast_reports_in_inline_diff Flag · e3caeb6e
      Jannik Lehmann 创作于
      This MR completely removes the frontend implementation of the sast_reports_in_inline_diff feature flag.
      It includes the elimination of all conditional logic that was used to toggle between the old and new versions of inline findings.
      Furthermore, this change also encompasses the removal of the frontend code related to the older inline-findings implementation.
      
      EE: true
      e3caeb6e
  13. 1月 16, 2024
  14. 1月 11, 2024
  15. 11月 09, 2023
  16. 10月 27, 2023
    • Phil Hughes's avatar
      Fix review comments taking a long time to publish · a2a49a98
      Phil Hughes 创作于
      Before we had websockets on the notes app we would have to
      request all the discussions on a merge request before we could
      render any submitted review notes.
      With websockets we fetch individual notes after a review is submitted
      so we no longer need to fetch all discussions.
      a2a49a98
  17. 10月 24, 2023
  18. 10月 23, 2023
  19. 10月 18, 2023
  20. 9月 26, 2023
  21. 8月 23, 2023
    • Jannik Lehmann's avatar
      Refactor inline-findings Drawer · 0df54d8e
      Jannik Lehmann 创作于
      This commit refactors the inline-findings Drawer from the
      inline-findings components to the inline-findings dropdown components.
      It removes the code_quality_inline_drawer flag and ties the behaviour
      to the sast_reports_in_inline_diff flag.
      
      EE: true
      Changelog: changed
      0df54d8e
  22. 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
  23. 7月 22, 2023
  24. 7月 14, 2023
  25. 6月 08, 2023
  26. 5月 23, 2023
    • Thomas Randolph's avatar
      Remove feature flag integration code · 588fb3b2
      Thomas Randolph 创作于
      This is the revert of
      
      - a611280443ab263d75351f52aaf97fa6ffa6d03f (an abbreviation fix)
      - 4690b20c078d688ec71c92bea936879d53b7b0fd (an abbreviation fix)
      - 92e829747d8fd6ccbe4843a1d84b145adc9cbc43 (implement the feature flag)
      
      In that order, to cleanly apply all the reverts.
      
      Then, it RE-implements 4690b20c078d688ec71c92bea936879d53b7b0fd to
      avoid an unnecessary variable name abbreviation in app.vue.
      588fb3b2
  27. 5月 03, 2023
  28. 4月 28, 2023
  29. 4月 24, 2023
    • Mark Florian's avatar
      Move Mousetrap module one level up · cb9d19da
      Mark Florian 创作于
      As a top-level module in `~/lib` is fine, there's no need to nest it
      under `~/lib/utils`.
      cb9d19da
    • Mark Florian's avatar
      Use named export · 063de93a
      Mark Florian 创作于
      We do technically lint for default exports, but currently opt out in
      GitLab due of the sheer number of violations. Anyway, we might as well
      use a named export since we're wrapping Mousetrap.
      063de93a
    • Mark Florian's avatar
      refactor: Extract Mousetrap util file · 158ad68d
      Mark Florian 创作于
      This new ~/lib/utils/mousetrap file is similar to
      ~/lib/utils/axios_utils, in that it augments the raw package.
      
      In particular, it makes it slightly easier to update Mousetrap's
      `stopCallback` method.
      
      They `Shortcut#addStopCallback` is an instance method rather than static
      methods to encourage access via the (in theory) singleton Shortcuts
      instance.
      
      A problem this does not solve is the race between our overwriting of
      `Mousetrap#stopCallback` and the `pause` plugin's overwriting of it:
      https://github.com/ccampbell/mousetrap/blob/1.6.5/plugins/pause/mousetrap-pause.js#L10-L18.
      
      If the `pause` plugin is loaded first, then our subsequent overwrites
      will no longer be subject to the paused status of Mousetrap.
      
      The bulk import path rename was done using this command:
      
          comby "import :[[name]] from 'mousetrap';" \
              "import :[name] from '~/lib/utils/mousetrap';" \
              {ee/,}{spec/frontend,app/assets/javascripts}/**/*.{js,vue} -i
      
      See https://comby.dev/ for details about comby.
      
      Finally, a redundant Mousetrap Jest mock has been removed, as the
      package has provided a CommonJS module since v1.5.0:
      https://github.com/ccampbell/mousetrap/releases/tag/1.5.0
      158ad68d
  30. 4月 13, 2023
  31. 4月 12, 2023
    • Thomas Randolph's avatar
      Add basic implementation of loading only a single diff file · 357a768e
      Thomas Randolph 创作于
      In `viewDiffsFileByFile` mode, the app will wait until the diffs
      metadata is loaded - this basic amount of information is absolutely
      crucial to being able to load one file - and then trigger the
      `fetchFileByFile` action.
      
      This is INSTEAD of the unscoped triggering of the
      `fetchDiffFilesBatch` action, which doesn't need the metadata in
      order to begin. `fetchDiffFilesBatch` is entirely skipped in
      file-by-file mode.
      
      When using the file-by-file sibling navigation buttons, we also
      need to trigger the `fetchFileByFile` action, since simply updating
      the current diff file hash in the store is not enough to show that
      file (since it's not yet loaded, we have to fetch it).
      
      Changelog: changed
      357a768e
  32. 3月 30, 2023
  33. 3月 09, 2023
  34. 3月 02, 2023
  35. 3月 01, 2023
    • Thomas Randolph's avatar
      Only refer to the authoritative list of files · 64932cd9
      Thomas Randolph 创作于
      In preparation for single-file-only file-by-file review,
      the UI must always refer to the FULL list of files for
      identifying order, finding files by hash, total number of
      files, and more. Since `diffFiles` could be empty, `diffFilesMeta`
      is the authority on these meta-values.
      64932cd9
  36. 2月 28, 2023
  37. 2月 01, 2023
  38. 1月 04, 2023
加载中