Add Rapid Diffs debug mode
What does this MR do and why?
This MR:
- Adds Rapid Diffs debug mode feature flag (ops)
- Puts
rapid_diffs_disabledparam behind this flag
RapidDiffs debug mode is going to allow us to inspect Rapid Diffs by disabling certain features:
- Disabling Rapid Diffs on certain pages to inspect compatibility/feature parity (this MR)
- Disabling syntax highlighting (future MRs)
- Disabling streaming on backend to allow for native performance inspection (future MRs)
References
Builds upon !191512 (closed).
How to set up and validate locally
- Enable
rapid_diffs,rapid_diffs_debugandrapid_diffs_on_mr_creationfeature flags - Go to merge request list
- Select 'Create merge request'
- Select branches, proceed onto next page
- Select 'Changes' tab
- Add
&rapid_diffs_disabled=trueto the URL, follow it - Observe page load without Rapid Diffs