Display diff stats on Rapid Diffs
What does this MR do and why?
This is a last part of Implement Rapid Diffs App controls (stats, sett... (#499296 - closed).
This MR displays diff stats on Rapid Diffs pages. It is using existing Vuex store to fetch and process metadata.
The Vuex approach will be refactored in future MRs to:
- Store state in our own Pinia stores
- Use Rapid Diffs metadata endpoint to fetch the data
Screenshots or screen recordings
| Before | After |
|---|---|
|
|
How to set up and validate locally
- Enable
rapid_diffsfeature flag - Go to any merge request with changes
- Select Changes tab
- Add
?rapid_diffs=trueto the URL, follow it - Observe diff stats to be shown on the page

