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

  1. (Optional) Set the default page size to 1 on config/initializers/kaminari_config.rb. Run gdk restart to apply.
  2. Enable groups_list_keyset_pagination feature flag.
  3. Go to http://localhost:3000/dashboard/groups (or http://localhost:3000/explore/groups with explore_groups_vue flag enabled)
  4. 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

Merge request reports

Loading