prime-simplereport icon indicating copy to clipboard operation
prime-simplereport copied to clipboard

Add pagination to "Manage users" page for user list

Open emyl3 opened this issue 1 year ago • 1 comments

Description

Add pagination to the "Manage users" page's user list. This will improve the user experience of not only larger orgs but is required for us to refactor the getAllUsersWithStatusForOrganization as part of the Okta migration work.

Image

Proposed solution

Add pagination to the "Manage users" page's user list

Additional context

  • This was a stopgap fix when we first handled this page for large orgs
  • Figma designs from when this was previously discussed
  • Our rate limit for READs on /api/v1/users/{id:.+} endpoint is 1000 per minute

Open questions

  • How should search behave? Search should search the entire org. Concerns about typeahead search being a pain with respect to the okta integration. Especially in the in-between state of this ticket and #8108
  • How many users should we load at once? Lean on the figma, pair with Kenny to validate that it looks good.

emyl3 avatar Sep 05 '24 18:09 emyl3

@jayna-SkylightDigital , @mpbrown and I think that our use case for this page has outgrown the USWDS component we're modeling this page after. In the future, we think this page could use a redesign.

The pagination being added to meet the Okta migration technical requirements doesn't provide any value for users and is also awkwardly placed. Unfortunately there isn't better placement for the pagination given how small the user sidebar is. Some things to consider for the future!

kenieh avatar Sep 17 '24 17:09 kenieh

  1. No redesign will be completed at this time
  2. Text and icon information about the account (pending, deactivated) must be kept below the name
  3. Pagination will be added at the bottom (limits the number of users we need to get Okta information for on the initial page load)
  4. Limit to display only 10 users per screen.

jayna-SkylightDigital avatar Oct 08 '24 19:10 jayna-SkylightDigital

UX team recommendation:

Move "Check for spelling errors or [Clear search filter]" into the lefthand side bar, underneath "No results found"

Mike to pair with Kenny on styling when ready.

kenieh avatar Jan 21 '25 18:01 kenieh