Skip to content
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
merged 77 commits into from
Mar 5, 2025

Conversation

odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Feb 26, 2025

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).

Paths

Related issue/s

How to test

Dev-ops checklist

@odeimaiz odeimaiz self-assigned this Feb 26, 2025
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) labels Feb 26, 2025
@odeimaiz odeimaiz added this to the The Awakening milestone Feb 26, 2025
@odeimaiz odeimaiz changed the title Feature/storage paginated ✨ [Frontend] Enh: Adapt to paginated response and to new model Feb 26, 2025
@odeimaiz odeimaiz enabled auto-merge (squash) March 4, 2025 07:27
@odeimaiz odeimaiz changed the title ✨ [Frontend] Enh: Adapt to paginated response and to new model ✨ [Frontend] Enh: Adapt to paginated navigation and to new model Mar 4, 2025
@odeimaiz odeimaiz disabled auto-merge March 4, 2025 07:48
Copy link

sonarqubecloud bot commented Mar 5, 2025

@odeimaiz odeimaiz enabled auto-merge (squash) March 5, 2025 13:52
@odeimaiz odeimaiz requested review from GitHK, pcrespov and sanderegg March 5, 2025 14:22
@odeimaiz odeimaiz merged commit 3250473 into ITISFoundation:master Mar 5, 2025
93 of 95 checks passed
@odeimaiz odeimaiz deleted the feature/storage-paginated branch March 5, 2025 14:50
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants