Support pages for view prior blame links in paginated mode
What does this MR do and why?
Contributes to #225174 (closed)
Problem
When blame view is paginated, the click on "View blame prior to change" redirects us to the first page.
Solution
Provide page
parameter to the link and redirect users to the right
page.
Screenshots or screen recordings
Before click | Redirected page |
---|---|
How to set up and validate locally
- Enable feature flag
Feature.enable(:blame_page_pagination)
- Find a file with more than 1000 lines (or make the PER_PAGE limit lower)
- Go to the second page
- Click on
View blame prior to this change
icon next to the commit - Verify that you are redirected to the correct page
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 Vasilii Iakliushin