Skip to content

Add ability to change page size in work items list

Coung Ngo requested to merge 457009-add-page-size-change into master

What does this MR do and why?

Add ability to change page size in work items list (#457009)

Also, fix bugs where:

  • The page size selector in the other lists showed when there was an error message and no issues
  • The Next/Previous buttons showed even when the list was loading
  • Changing the page size after paginating results in slightly unusual UX, so the cursor is reset every time the page size is changed

Behind feature flag namespace_level_work_items

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

Screen_Recording_2024-06-20_at_3.21.59_PM

How to set up and validate locally

  1. In rails console
    Feature.enable(:namespace_level_work_items)
  2. Visit any work items list page for a paid subscription group such as http://127.0.0.1:3000/groups/flightjs/-/work_items
  3. Create epics, then test the page size dropdown

Related to #457009

Edited by Coung Ngo

Merge request reports