| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| | |
Fixed diff tree folders being rendered incorrectly
See merge request gitlab-org/gitlab-ce!24635
|
| | | |
|
| |/
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
Collapses directory structure in merge request tree
Closes #53069
See merge request gitlab-org/gitlab-ce!24392
|
| | | |
|
| |/ |
|
| |
|
|
| |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54807
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
'51606-expanding-a-diff-while-having-an-open-comment-form-will-always-scroll-down-to-the-comment' into 'master'
Resolve "Expanding a diff while having an open comment form will always scroll down to the comment"
Closes #51606
See merge request gitlab-org/gitlab-ce!23849
|
| | |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
Fixed duplicated inline diff discussions
Closes #55388
See merge request gitlab-org/gitlab-ce!23843
|
| | |
| |
| |
| | |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55388
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
Display empty files properly on MR diffs
Closes #54786
See merge request gitlab-org/gitlab-ce!23671
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | | |
|
| |/
|
|
| |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55248, https://gitlab.com/gitlab-org/gitlab-ce/issues/55245
|
| | |
|
| |\
| |
| |
| |
| | |
Pass commit when posting diff discussions
See merge request gitlab-org/gitlab-ce!23371
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
We don't need a series of attributes to render diff files on
discussions.json request. Therefore this MR removes lots of unnecessary
attributes from the request, mainly the highlighted diff lines, which
are pretty expensive.
|
| |/
|
|
|
|
|
| |
Renders mode changed and renamed file merge request diff
viewers on the frontend.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52607
|
| |\
| |
| |
| |
| |
| |
| | |
Fixed expanding diff commit files
Closes #50662
See merge request gitlab-org/gitlab-ce!23591
|
| | |
| |
| |
| | |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50662
|
| |/
|
|
| |
Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/8195
|
| |\
| |
| |
| |
| |
| |
| | |
Fixed diff files not expanding
Closes #54868
See merge request gitlab-org/gitlab-ce!23555
|
| | |
| |
| |
| | |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54868
|
| | | |
|
| |/
|
|
| |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53600
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53019
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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
|
| |\
| |
| |
| |
| |
| |
| | |
Comment on any expanded diff line on MRs (with feature-flag)
Closes #13950
See merge request gitlab-org/gitlab-ce!22914
|
| | | |
|
| |/
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
This reverts commit a82a595728d54bdc12e51dfcfb22e9eddc449143, reversing
changes made to e7df959b8f99875edd246c7ac7779c3203e8755e.
|
| |
|
|
|
|
|
|
| |
This restores the behaviour of showing the expand all button on diffs
even when only a single file is collapsed.
Previously the button would only show when all files are collapsed.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51737
|
| |\
| |
| |
| |
| | |
Comment on any expanded diff line on MRs
See merge request gitlab-org/gitlab-ce!22398
|
| | | |
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This fixes a bug where a discussion on a none changed line
would not get fully removed and therefore leave the comment row
empty. This was caused by the discussiob being added
to the right when it shouldnt of been
This also fixes a very rare edge case where discussions would get added
twice to diff lines causing a Vue rendering warning
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53317
|