-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pagination to namespace list view #13195
Conversation
38e1a7b
to
9953626
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
import authPage from 'vault/tests/pages/auth'; | ||
import logout from 'vault/tests/pages/logout'; | ||
|
||
module('Acceptance | /access/namespaces', function(hooks) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add Enterprise
to this module name, since namespaces are enterprise only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You saved my day...Thanks!! 😅
Added client side pagination for namespaces list view. Default is 15 per page.
Todo: Unit testing
Before (2000 namespaces):
https://user-images.githubusercontent.com/2932708/143089534-4b3785f2-35b0-43bf-a8ff-b371d0967f82.mov
After:
https://user-images.githubusercontent.com/2932708/143089596-a17f1684-3ba3-49aa-85df-b4f4a2990f35.mov