Add ability to show 50 or 100 users per page

Context

As part of Duo seat assignment: Allow UI-based mass (over ... (&11464), we need to create a UI to let customers assign and un-assign Duo Pro seats to a large number of users at a time.

Proposal

With this issue we want to add a page size selector which will let the customers see 50 or 100 users per page.

We should also save the customer's preference of page size in local storage so its persisted on page refresh.

The page size change is applicable for both SM and SaaS.

Pre-requisite

https://gitlab.com/gitlab-org/gitlab/-/issues/442293+ needs to be done first before we can implement the page size selector so customers don't lose the context of their selection.

Designs

Full designs: Bulk_Assignment.png

Screenshot 2024-02-16 at 3.07.01 PM.png

Useful links

Spike issues

  • Spike for revised designs: https://gitlab.com/gitlab-org/fulfillment/meta/-/issues/1488+
  • Spike for initial designs: https://gitlab.com/gitlab-org/gitlab/-/issues/423839+

Spike MRs

  • backend
    • Draft: [WIP] Spike - Enhanced Bulk Assignment API (!136537 - closed)
    • Draft: Spike: test runtime for bulk assigning 1... (!143342 - closed)
    • Draft: Spike: error reporting for failed Duo Pr... (!143807 - closed)
  • frontend
    • Draft: [WIP] Spike - Enhanced Bulk Assignment FE (!136943 - closed)
Edited Apr 30, 2024 by Vamsi Vempati
Assignee Loading
Time tracking Loading