Rapid Diffs: highlight file on line-number click (legacy parity)

Gap: Clicking a diff line number sets the current/highlighted file in legacy /diffs. Rapid Diffs does not update the tree highlight on a line-number click.

Legacy: app/assets/javascripts/diffs/stores/legacy_diffs/actions.js:438 (setHighlightedRow) also sets the current diff file.

Rapid Diffs: the line-link path does not call setCurrentFile.

Acceptance criteria: Clicking a diff line number highlights that file in the tree (desktop + mobile drawer).


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

Edited by 🤖 GitLab Bot 🤖