Expand diff when navigating to pending comment
requested to merge forked-repo/gitlab-org/gitlab:365370-pending-comments-on-collapsed-diff into master
What does this MR do and why?
This MR fixes #365370 (closed) (file diff is not expanded when navigating to pending comment).
How to set up and validate locally
See steps at #365370 (closed). Reproduced below for convenience:
- Open an MR that has some changes;
- Start a review and leave some comments;
- Collapse all the files in the MR;
- Click on pending comments and then on one of the comments in the list.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Closes #365370 (closed)