Support loading collapsed files in Rapid Diffs
What does this MR do and why?
This MR implements #507928 (closed).
It allows to load collapsed files in Rapid Diffs.
Screenshots or screen recordings
Screen_Recording_2025-05-22_at_00.34.03
How to set up and validate locally
- Enable
rapid_diffs
andrapid_diffs_on_mr_show
feature flags - Go to a large merge request (at least 100 files changes, more than 1000 lines changed)
- Select 'Changes' tab
- Add
?rapid_diffs=true
to the URL, follow it - Scroll to any collapsed file
- Click 'Show changes' button
- Observe expanded file
Edited by Stanislav Lashmanov