Skip to content

Show a message on empty pagination pages - #3464

Open
pcbeingused33 wants to merge 1 commit into
oxidecomputer:mainfrom
pcbeingused33:fix/3223-empty-pagination
Open

pcbeingused33 wants to merge 1 commit into
oxidecomputer:mainfrom
pcbeingused33:fix/3223-empty-pagination

Conversation

@pcbeingused33

Copy link
Copy Markdown

Fixes #3223

A full page can include a continuation token even when it contains the final results. Following that token can return zero rows. The shared query table rendered an empty table on that page without explaining what happened.

Show “No more results” when a later page successfully returns zero rows. Keep the pagination controls available so users can return with Previous.

The Playwright regression advances from a full page to an empty page, checks the message and disabled Next button, then returns to the previous results. With the test fixture on main, the new test failed at the missing message. With the fix, all three tests in npm run e2ec -- pagination.e2e.ts --workers=1 passed.

AI assistance was used to prepare the change and regression test.

@vercel

vercel Bot commented Dec 1, 2026

Copy link
Copy Markdown

@pcbeingused33 is attempting to deploy a commit to the Oxide Computer Company Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting a blank page when clicking NEXT on my list of instances

1 participant