-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨ [Frontend] Enh: Adapt to paginated navigation and to new model #7280
Merged
odeimaiz
merged 77 commits into
ITISFoundation:master
from
odeimaiz:feature/storage-paginated
Mar 5, 2025
Merged
✨ [Frontend] Enh: Adapt to paginated navigation and to new model #7280
odeimaiz
merged 77 commits into
ITISFoundation:master
from
odeimaiz:feature/storage-paginated
Mar 5, 2025
Conversation
This file contains 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
|
pcrespov
approved these changes
Mar 5, 2025
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a:frontend
issue affecting the front-end (area group)
t:enhancement
Improvement or request on an existing feature
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.
What do these changes do?
In this PR the frontend stops using the following endpoints:
/storage/locations/{locationId}/datasets/{datasetId}/metadata
/storage/locations/0/files/metadata?uuid_filter={nodeId}
which were replaced by:
/storage/locations/{locationId}/paths
/storage/locations/{locationId}/paths?file_filter={path}
The strategy for populating the files trees was updated to lazy-load the content of a folder when necessary. Before we would fetch the content of a study with all its subfolders when accessing the first level of a study.
This PR adapts also the new response model, but we still don't take full advantage of the pagination (this will come in a follow up PR).
Related issue/s
How to test
Dev-ops checklist