-
Notifications
You must be signed in to change notification settings - Fork 18
Increase list page size to 50 #2798
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| const row = page.getByRole('row', { name: 'snapshot-4' }) | ||
| await row.getByRole('button', { name: 'Row actions' }).click() | ||
| await page.getByRole('menuitem', { name: 'Create image' }).click() | ||
| await clickRowAction(page, 'disk-1-snapshot-8', 'Create image') |
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.
love this util
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.
I had to change from snapshot-4 because it doesn’t do an exact match and it was picking snapshot-40 etc
charliepark
left a comment
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.
A great improvement until we can add better pagination (and even then, 50 is great)
oxidecomputer/console@3db0150...99a1f00 * [99a1f008](oxidecomputer/console@99a1f008) oxidecomputer/console#2801 * [1d37fcc7](oxidecomputer/console@1d37fcc7) oxidecomputer/console#2799 * [1d5f223f](oxidecomputer/console@1d5f223f) oxidecomputer/console#2798 * [73e36cb6](oxidecomputer/console@73e36cb6) oxidecomputer/console#2797
oxidecomputer/console@3db0150...99a1f00 * [99a1f008](oxidecomputer/console@99a1f008) oxidecomputer/console#2801 * [1d37fcc7](oxidecomputer/console@1d37fcc7) oxidecomputer/console#2799 * [1d5f223f](oxidecomputer/console@1d5f223f) oxidecomputer/console#2798 * [73e36cb6](oxidecomputer/console@73e36cb6) oxidecomputer/console#2797
This should substantially reduce the proportion of the time that going past the first page is required. None of our JSON responses are that big, the API is fast, and it's probably rare for people to have that many of most resources. If everything is on one page, then ctrl-f works for find and it's less of a problem that we don't have filtering yet.
I'd also like to make the tables more dense by reducing vertical space, but this doesn't require that at all.