FusionAuth / fusionauth-issues

FusionAuth issue submission project
https://fusionauth.io
90 stars 12 forks source link

Pagination for everyone! And all things! #374

Open robotdan opened 4 years ago

robotdan commented 4 years ago

The UI / API should account for a large number of Applications and Tenants

Description

If you have many tenants, you'll also have many applications. There are several use cases we've seen exceeding 5k tenants.

Solution

The API and UI for Applications, Groups and Tenants should be paginated to account for this scenario and ensure the UI and API perform well.

We may also want to load these pages via AJAX.

We may want to review caching tenants, but this should be avoided if possible.

Duplicates

Related

Codelica commented 3 years ago

This also extends into things like the "Add User Registration" form. The application select list seems to be sorted by application creation date, which can get "interesting" when you need to use it with a large number of applications. :) Even just an alpha sort there would be 👍

robotdan commented 3 years ago

Thanks for the comment @Codelica - you're correct, this is an area that also needs improvement. We recently alphabetized the groups in Add Group Membership and in the Group selector on the User Search page.

We'll be sure to audit the front end for any selector such as this and either lazily load it or at least provide some sorting that makes sense.

I know we have some clients with 5k+ tenants, so not sure how we'll handle that in the UI as it relates to select boxes.

mooreds commented 3 years ago

Maybe a typeahead select box? Something like this: https://twitter.github.io/typeahead.js/examples/ ?

johnmaia commented 3 years ago

robotdan commented 3 years ago

😂