Visually support reloading state in Rapid Diffs
What does this MR do and why?
This MR adds visual feedback when reloading Rapid Diffs.
Implements #486017 (closed).
It does so by:
- Setting all files in the file browser to have a loading status
- Fading out existing diffs list and disabling interactions with it
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-04-06_at_14.33.58 | Screen_Recording_2025-04-06_at_14.32.30 |
How to set up and validate locally
- Enable
rapid_diffsfeature flag - Open any merge request page
- Select 'Changes' tab
- Add
?rapid_diffs=trueto the URL, follow it - Change diffs view settings
- Observe loading state before diffs start streaming
Edited by Stanislav Lashmanov