Rapid Diffs: highlight file on note/discussion-link jump (legacy parity)

Gap: Jumping to a note/discussion sets the current/highlighted file in legacy /diffs. In Rapid Diffs, the highlight updates only via the tree's unresolved-thread button; scrolling straight to a thread does not highlight the file.

Legacy: app/assets/javascripts/diffs/stores/legacy_diffs/actions.js:1062 (setCurrentDiffFileIdFromNote).

Rapid Diffs: app/assets/javascripts/rapid_diffs/merge_request_app.js:86-91 scrollToDiffNote calls scrollToThread/selectLine; neither path calls setCurrentFile.

Acceptance criteria: Navigating to a note/discussion link highlights the containing file in the tree (desktop + mobile drawer).


Deferred parity gap found while reviewing !263369 (merged). Related: #602604 (closed) (scroll-spy).

Edited by 🤖 GitLab Bot 🤖