Put link to a blob in the diff file title
What does this MR do and why?
This MR moves blob link from the diff file options to the diff file header title when using Rapid Diffs. It also forces link to open a new tab.
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2025-06-25_at_13.43.31 | Screen_Recording_2025-06-25_at_13.39.02 |
How to set up and validate locally
- Enable
rapid_diffs
andrapid_diffs_on_mr_show
- Visit any merge request
- Select 'Changes' tab
- Add
?rapid_diffs=true
to the URL, follow it - Click on any of the diff file titles
- Observe a blob page open in a new tab