Repository navigation
Fix statistics and search only seeing the current page - #950
Open
mihaelabalutoiu wants to merge 7 commits into
Open
mihaelabalutoiu wants to merge 7 commits into
mihaelabalutoiu wants to merge 7 commits into
Conversation
The list APIs page by `marker` and report no total, so a short batch is the only end-of-list signal. Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
`getAllTransfers` and `getAllDeployments` walk the backend pagination in batches sized independently of the UI's items per page, and reject rather than return a partial list. Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
The list reset to an unfiltered page one whenever a poll changed its length - rare with one backend page stored, now almost every poll. Only selections whose record is gone are dropped. Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
The stores held a single backend page, so dashboard statistics, endpoint usage counts and search saw only the page the user last paginated to. They now hold the whole list and FilterList slices it, so changing the page or page size makes no request. Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
The dashboard, endpoints and minion pool pages move to `listPollTimeout`, and a failed cycle no longer stops the loop. The dashboard drops `showLoading` on the two shared stores, which blanked a list already on screen. Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
Add a minimal AGENTS.md file in order to guide AI Tools. Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously,
transfersanddeploymentswere fetched one UI page at a time, with the frontend page size sent to the backend aslimit. Dashboard statistics, search and filtering therefore only saw the displayed page.This PR implements the following:
fullListFetchBatchSize(100);listPollTimeout);FilterList.Also includes an
AGENTS.mdfile and adds/updates test cases.