Update URL with cursor to load a specific page of results
What does this MR do and why?
This change updates the Explore > Dependencies
page to accept a ?cursor=
query string parameter that can be used to load a specific page of results.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
Before | After |
How to set up and validate locally
- In rails console enable the experiment fully
Feature.enable(:explore_dependencies)
- Visit
http://127.0.0.1:3000/explore/dependencies
- Click the
Next
page of results. - Check that the url has been updated to include the query string parameters for the next page of results.
- Reload the page with the
?cursor=
query string parameter and verify that the page shows the correct page of results.
Edited by mo khan