summaryrefslogtreecommitdiff
path: root/spec/javascripts/diffs/components
Commit message (Collapse)AuthorAgeFilesLines
* Fixed editing formNatalia Tepluhina2019-07-091-1/+2
| | | | | | - applied functional component patch - fixed border radius for list - fixed Karma test to take a correct li amount
* Rebased and squashed commitsNatalia Tepluhina2019-07-033-150/+5
| | | | - all commits squashed to make danger review happy
* Added diff suggestion popoverPhil Hughes2019-06-141-0/+2
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56523
* User link styling for commitsMarcel van Remmerden2019-06-101-1/+1
|
* Remove unused avatar sizes62429-remove-unused-avatar-sizesAnnabel Dunstone Gray2019-05-311-2/+2
| | | | - Update avatars to use only sizes from the 8px grid
* Rename vue_component_helper to text_helperfe-rename-vue-component-helper-cePaul Slaughter2019-05-161-1/+1
| | | | | | **Why?** This file only contains a few text based helper functions. It has nothing to do with Vue or Vue components.
* Impove the performance of expanding full diffPhil Hughes2019-05-031-0/+14
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58597
* Extract discussion notes into new componentPaul Gascou-Vaillancourt2019-05-011-49/+62
| | | | | | | | | - Moved discussion notes out of `NoteableDiscussion` component into a new `DiscussionNotes` component - Wrote Jest tests for the new `DiscussionNotes` component - Updated Jest config for emojis fixtures - Updated Karma tests `NoteableDiscussion` to match its new structure - Convert `DiffDiscussions` tests to use Vue test utils
* Fix showing HTML content in view file tooltip60533-tooltip-for-view-file-shows-raw-htmlFatih Acet2019-04-161-0/+3
|
* Fixed fluid layout preference not being respected in diffsPhil Hughes2019-04-121-0/+8
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52916
* Improve diff navigation headerSam Bigelow2019-04-053-2/+40
| | | | | | | | | | | | | | - 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
* Fixes duplicate diff too large error messagesPhil Hughes2019-04-021-5/+3
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59802
* Merge branch '57669-fix-bug-clicking-file-header-refreshes-page' into 'master'Clement Ho2019-04-011-1/+70
|\ | | | | | | | | | | | | Fix bug where clicking file header in diff refreshes page Closes #57669 See merge request gitlab-org/gitlab-ce!26422
| * Scroll to diff file when clicking on file name57669-fix-bug-clicking-file-header-refreshes-pageSam Bigelow2019-03-291-1/+70
| | | | | | | | | | | | - Add an ID to the diff content - handle clicking on file name in diffFileHeader when it is not a link to another page but rather a link to an element on the page
* | Remove expand diff to full file feature flagPhil Hughes2019-03-261-3/+0
|/
* Move some tests from Karma to JestWinnie Hellmann2019-03-234-182/+0
|
* Collapse diff tree is only one file is presentPhil Hughes2019-03-191-0/+57
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53139
* Fix expand all button not workingPhil Hughes2019-03-111-0/+25
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51737
* Add option to expand diff to full filePhil Hughes2019-03-061-1/+66
| | | | | | The user can also toggle between the diff changes and the full file diff. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/19054
* CE backport of batch-comments-ee-store-modulePhil Hughes2019-03-044-4/+8
|
* Resolve "Add missing karma tests to the the MR Diff components"Natalia Tepluhina2019-02-286-21/+428
|
* Set up basic keyboard next/previous navigation in diff listDenys Mishunov2019-02-271-19/+205
| | | | | | | | | | | | 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()
* Merge branch 'fix-diffs-not-rendering' into 'master'Filipa Lacerda2019-02-181-3/+2
|\ | | | | | | | | Fix diff files not rendering See merge request gitlab-org/gitlab-ce!25358
| * Fix diff files not renderingPhil Hughes2019-02-181-3/+2
| | | | | | | | | | | | | | Fixes some diff files not rendering when the renderIt property is updated. Previously it was using a local copy of renderIt which meant Vue wouldn't update it when the files renderIt property was updates
* | Merge branch 'diff-tree-resizable' into 'master'Filipa Lacerda2019-02-182-1/+37
|\ \ | |/ |/| | | | | | | | | Make the file tree in merge requests resizable Closes #51857 See merge request gitlab-org/gitlab-ce!25097
| * Make the file tree in merge requests resizablePhil Hughes2019-02-152-1/+37
| | | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51857
* | Replaced part of diff file properties with diff viewerNatalia Tepluhina2019-02-153-36/+50
|/ | | | | | - replaced file.too_large - replaced file.text - replaced file.collapsed
* Merge branch ↵Phil Hughes2019-02-074-6/+41
|\ | | | | | | | | | | | | | | | | '52347-lines-changed-statistics-is-not-easily-visible-in-mr-changes-view' into 'master' Resolve "Lines changed statistics is not easily visible in MR changes view" Closes #52347 See merge request gitlab-org/gitlab-ce!24569
| * Clearly display diff statistics for MRs52347-lines-changed-statistics-is-not-easily-visible-in-mr-changes-viewSam Bigelow2019-02-064-6/+41
| | | | | | | | | | Put the statistics in the compare-versions header for the entire MR Put them in the file header for each individual file
* | Added fuzzy file finder to merge requestsPhil Hughes2019-02-051-21/+0
|/ | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53304
* Added dropdown for diff settingsPhil Hughes2019-01-243-83/+169
| | | | | | | Dropdown includes buttons for tree view rendering mode and buttons for the compare view (inline or side-by-side) Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55491
* Resolve "Merge request file browser should always be possible show/hide"Sam Bigelow2019-01-221-2/+2
|
* Resolve "In Merge Request diff screen, master is not a hyperlink"Natalia Tepluhina2019-01-162-0/+39
|
* Add headers to files in the tree list on merge requestsPhil Hughes2019-01-081-1/+4
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54807
* Fixed Data Attribute Test54981-extended-user-centric-tooltips-add-missing-casesTim Zallmann2019-01-061-1/+1
|
* Added Spec for Vue Commit ItemTim Zallmann2019-01-061-0/+2
|
* Merge branch '54786-mr-empty-file-display' into 'master'Nick Thomas2018-12-151-0/+39
|\ | | | | | | | | | | | | Display empty files properly on MR diffs Closes #54786 See merge request gitlab-org/gitlab-ce!23671
| * Fix diff table rendering for empty files and improve testsSean Nichols2018-12-131-5/+13
| |
| * Add tests and move empty file message into own componentSean Nichols2018-12-131-0/+31
| |
* | Allow suggesting single line changes in diffsOswaldo Ferreira2018-12-131-0/+1
| |
* | Fix diff changes empty statePhil Hughes2018-12-132-25/+107
|/ | | | | | | | | The empty state now only gets shown when no files exist in the branch. If the user is reviewing 2 versions with no files, we don't show the state. Refactors the diff app spec to use Vue test utils. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/48635
* Fixed renamed and mode changed diff viewersPhil Hughes2018-12-061-0/+26
| | | | | | | Renders mode changed and renamed file merge request diff viewers on the frontend. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52607
* Updated variable name to forceExpandedPhil Hughes2018-12-041-2/+2
|
* Fixed multiple diff line discussions not expandingPhil Hughes2018-12-041-0/+29
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53600
* Resolve "Merge request refactor does not highlight selected line"Sam Bigelow2018-11-304-0/+177
|
* Improve discussion rendering performancePhil Hughes2018-11-272-1/+6
| | | | | | | | | | | Improve the renderign of new and existing discussions by reducing the number of watchers on each object & array. Previously every discussion change would trigger an update for every discussion component. Also tidied up some components to get them closer to our docs. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51506
* Show toggle tree button on merge request commitsPhil Hughes2018-11-222-40/+21
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53019
* Made diff & note data consistentPhil Hughes2018-11-149-99/+102
| | | | | | | | | | 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.
* Fix collapsed files not fully fully expandingPhil Hughes2018-11-131-0/+22
| | | | | | | This fixes files that are collapsed by default not expanding when the expand all button is clicked. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53866
* Changed diff tree filtering to pathPhil Hughes2018-11-121-1/+1
| | | | | | | Previously it was using name which could make it hard to filter for the file you want in a certain folder. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53781