Skip to content

fix(console): preserve filter and page changes during list requests - #456

Open
Maya-Kid wants to merge 1 commit into
deeplethe:devfrom
Maya-Kid:fix/console-list-requests
Open

Maya-Kid wants to merge 1 commit into
deeplethe:devfrom
Maya-Kid:fix/console-list-requests

Conversation

@Maya-Kid

Copy link
Copy Markdown

Sandboxes and Activity dropped filter or page changes while a list request was pending. This could leave the latest controls showing rows from an older query.

Start the new query when filters or pagination change and abort the superseded read. Only the current request can publish rows, correct pagination, or report an error. Coalesce background refreshes of an identical in-flight query so slow reads can still finish.

Ten component tests cover overlapping filter and page changes, late 503 and 401 responses, and slow background refreshes in both lists. All 22 console tests and the production build passed on Node 22.

Signed-off-by: dada-yan <BinjunYann@gmail.com>

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.

1 participant