Use keyset pagination on group list pages
What does this MR do and why?
Use keyset pagination on Your Work > Groups and Explore > Groups page
This fixes a bug where the pagination button disappears due to the offset pagination constraints
References
Related to #591712 (closed)
Screenshots or screen recordings
How to set up and validate locally
- (Optional) Set the default page size to
1onconfig/initializers/kaminari_config.rb. Rungdk restartto apply. - Enable
groups_list_keyset_paginationfeature flag. - Go to http://localhost:3000/dashboard/groups (or http://localhost:3000/explore/groups with
explore_groups_vueflag enabled) - Validate that the pagination works accodingly.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Shane Maglangit