How to view merge review comments and file changes in GitLab?

Viewed 1000

I'm performing a merge review (code review) in GitLab. I entered some file comments then the author responded to the comments and made some changes to the files. I can view the comment thread, and the relevant portion of the original file on the merge request Overview page. And a link there will take me to a diff between the original and changed files.

But how can I see the comment, response and file diff at the same time? Open the diff link in a new window?

GitLab version = Enterprise Edition 12.10.1-ee

(Newbie stackexchange user - Apologies for any breaches of etiquette.)

2 Answers

If you want to see all the merge requests, you can check that in the left panel as 'Merge request' option. If you check the particular merge request, you can see Discussion, Commits , Changes at the bottom. It will be easier here for you to check what changes has been made.

Check if GitLab 14.6 (December 2021) improves your use case:

View inline the change that outdated a merge request thread

When addressing review feedback in merge requests, you often change lines your reviewers have commented on.
In those comment threads, GitLab indicates that new changes were made.

However, to understand if those new changes address the feedback, reviewers would have to navigate away from the context of the discussion.

Now, when viewing threads related to old changes, you can view the new changes directly in the thread.
This improved context helps you review faster and more accurately.

https://about.gitlab.com/images/14_6/create-code-review-outdated-change-inline.png -- View inline the change that outdated a merge request thread

See Documentation and Issue.

Related