Skip to content
Snippets Groups Projects
  1. Feb 20, 2020
  2. Feb 13, 2020
  3. Jan 14, 2020
  4. Dec 12, 2019
  5. Nov 26, 2019
  6. Aug 10, 2019
  7. Jul 03, 2019
  8. May 03, 2019
  9. Mar 06, 2019
  10. Feb 15, 2019
  11. Feb 13, 2019
  12. Jan 24, 2019
  13. Jan 22, 2019
    • Douwe Maan's avatar
      Trim first char of diff line text on diff discussions · 03df54b2
      Douwe Maan authored
      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.
      Unverified
      03df54b2
  14. Jan 15, 2019
  15. Jan 08, 2019
  16. Dec 18, 2018
    • Sam Bigelow's avatar
      Utilize :key to minimize extra rerenders · 9c187982
      Sam Bigelow authored
      The diff notes automatically focus on mount, and when using the index
      (as opposed to line_code) for the v-bind:key, the comment form gets
      unnecessarily remounted, and therefore refocused.
      9c187982
  17. Dec 06, 2018
  18. Dec 05, 2018
  19. Nov 27, 2018
  20. Nov 14, 2018
    • Phil Hughes's avatar
      Made diff & note data consistent · 234563ba
      Phil Hughes authored
      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.
      Unverified
      234563ba
  21. Nov 06, 2018
  22. Nov 05, 2018
    • Phil Hughes's avatar
      Re-implemented image commenting on diffs · f7df9ddb
      Phil Hughes authored
      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
      Unverified
      f7df9ddb
  23. Oct 23, 2018
  24. Oct 06, 2018
  25. Oct 03, 2018
    • Phil Hughes's avatar
      Added file tree to merge request diffs · 33c4c5b8
      Phil Hughes authored
      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
      Unverified
      33c4c5b8
  26. Oct 01, 2018
    • Mark Chao's avatar
      Fix MR discussion not loaded issue · f09303b0
      Mark Chao authored
      Display `formatter` as the sole content of `position` object.
      This means `diff_file` data is not referenced, which is the
      caseu of "IOError: not opened for reading".
      f09303b0
  27. Sep 21, 2018
  28. Sep 18, 2018
  29. Sep 17, 2018
  30. Sep 10, 2018
  31. Sep 08, 2018
  32. Sep 07, 2018
Loading