Skip to content
Snippets Groups Projects
  1. Jan 24, 2020
  2. Jan 21, 2020
  3. Dec 20, 2019
  4. Aug 16, 2019
  5. Jun 14, 2019
  6. May 10, 2019
  7. Apr 12, 2019
  8. Apr 05, 2019
    • Sam Bigelow's avatar
      Improve diff navigation header · bf47270e
      Sam Bigelow authored
      - Compare versions header is full width except in the unified diff mode
      with no tree sidebar
        - Bar is always full width, but the content within stays centered when
      unified and no tree sidebar
      - File header is the same height as the "Compare versions header"
      - aligns with the design system grid guidelines => 56px
      - Diff file headers use a button group, switch icon order to open file
      externally being the last option, all buttons will become icon buttons
      (icon delivery by @dimitrieh)
      - If a file header becomes sticky no rounded corner/double border
      problem is visible anymore
      bf47270e
  9. Mar 19, 2019
  10. Feb 27, 2019
    • Denys Mishunov's avatar
      Set up basic keyboard next/previous navigation in diff list · 0aff8e27
      Denys Mishunov authored
      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
  11. Feb 15, 2019
  12. Feb 05, 2019
  13. Dec 13, 2018
  14. Nov 30, 2018
  15. Nov 22, 2018
  16. Nov 20, 2018
  17. Nov 16, 2018
  18. 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
  19. Nov 09, 2018
  20. Nov 07, 2018
  21. 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
  22. Oct 30, 2018
  23. Oct 25, 2018
  24. Oct 24, 2018
  25. Oct 06, 2018
  26. 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
  27. Sep 26, 2018
  28. Sep 11, 2018
  29. Sep 07, 2018
  30. Aug 08, 2018
  31. Jul 17, 2018
  32. Jul 12, 2018
  33. Jul 06, 2018
    • Filipa Lacerda's avatar
      Transforms diffs module to a namespaced one to avoid console error due to rewire export. · 156a9d39
      Filipa Lacerda authored
      Detailed: Because of rewire we need to export a default empty object in our actions to prevent it to export the wrong default in karma. Vuex getters are global, and because the Vuex store uses several non namespaced moduled, there was already a getter named default, due to the same empty export.
      In order to solve it I chose to namespace the module. Could also be fixed by importing the getters explicitly instead of all of them.
      Unverified
      156a9d39
  34. Jun 30, 2018
Loading