Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 Pull mirroring failed .
上次成功更新
  1. 9月 26, 2024
  2. 8月 27, 2024
  3. 8月 14, 2024
  4. 7月 23, 2024
  5. 2月 14, 2024
  6. 1月 11, 2024
  7. 6月 07, 2023
  8. 3月 16, 2023
  9. 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
  10. 4月 14, 2021
  11. 4月 13, 2021
  12. 4月 03, 2021
  13. 3月 25, 2021
  14. 2月 15, 2021
  15. 2月 04, 2021
  16. 1月 25, 2021
  17. 12月 23, 2020
  18. 12月 18, 2020
  19. 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
  20. 9月 29, 2020
  21. 9月 24, 2020
  22. 5月 08, 2020
  23. 3月 20, 2020
  24. 3月 18, 2020
  25. 1月 15, 2020
  26. 2月 27, 2019
    • Denys Mishunov's avatar
      Set up basic keyboard next/previous navigation in diff list · 0aff8e27
      Denys Mishunov 创作于
      Mousetrap is used as the help-tool to listen to keystrokes
      
      Added currentDiffIndex getter to store that holds
      the index of currently active diff file in the list
      
      Instead of computing it on the component, we will take advantage of it
      being available for all components in DiffsApp
      
      Testing keyboard navigation and jumpToFile()
      0aff8e27
  27. 2月 16, 2019
  28. 2月 05, 2019
  29. 1月 08, 2019
  30. 11月 27, 2018
  31. 11月 16, 2018
  32. 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
  33. 11月 07, 2018
  34. 10月 17, 2018
  35. 10月 03, 2018
    • Phil Hughes's avatar
      Added file tree to merge request diffs · 33c4c5b8
      Phil Hughes 创作于
      This file tree displays all the diff files in a tree like format
      Each file is taken and converted into a tree with folders
      Each folder can be toggled open & closed
      Clicking a file will scroll to the diff file & highlight with a glow affect
      
      Searching the tree list will search only files & return a list of the
      files without any folders
      
      Each file row contains an icon to show changed, new file or deleted
      Each row will also contain the added & removed lines count
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14249
      33c4c5b8
  36. 9月 07, 2018
加载中