Remove stickyness from Diff Stats Header
What does this MR do and why?
Remove stickyness from Diff Stats Header
This removes the stickyness from the files diff header on:
- Groups Wiki Diff
- Projects Wiki Diff
- Projects Compare page
- Projects Commit page
The Merge Request view used to have this behaviour as well, but doesn't seem to exhibit any longer.
Changelog: changed
Fix syntax highlighting on Wiki Diff pages
This fixes the syntax highlighting on Wiki Diff pages (Group and Project).
Changelog: fixed
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2023-05-05_at_16.23.18 | Screen_Recording_2023-05-05_at_16.27.24 |
Note: For me in Firefox, the exactness of scrolling is off on a soft page-reload, but a hard page reload scrolls to the right line
How to set up and validate locally
- Go to any commit page, that is a little longer, e.g.
/flightjs/Flight/-/commit/f79dbdf2e88a3699bc8020076695a04d856f2463#9732849daca6ae818696d9575f5d1207d1a7f8bb_318_320
- Go to any compare page, which is a little longer, e.g.
/flightjs/Flight/-/compare/v1.3.0...v1.4.0?from_project_id=6&straight=false#b82ec1e0b3efe512fd2f31e20a45d6e5ee0796a6_24_24
- Wiki is a little tricky:
- Create or find a wiki and create a page with some hundred line changes
- Click "Page history"
- In the table click the entry inside the "Changes" column and NOT the "Page version" column
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Lukas Eipert