Rapid Diffs: highlight first file on initial load (legacy parity)
Gap: On first load of the Changes tab, legacy /diffs highlights the first file in the tree. Rapid Diffs highlights nothing until the user selects a file.
Legacy: app/assets/javascripts/diffs/stores/legacy_diffs/actions.js:200 sets the current file to the first file after the batch loads.
Rapid Diffs: no equivalent; currentFileHash starts null and is only set on explicit selection.
Acceptance criteria: On first load (multi-file mode, desktop + mobile drawer), the first file is highlighted in the tree.
Deferred parity gap found while reviewing !263369 (merged). Related: #602604 (closed) (scroll-spy).
Edited by 🤖 GitLab Bot 🤖