Skip to content

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 disabled auto-merge March 4, 2025 07:48
@sonarqubecloud
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
mrnicegyu11 pushed a commit to mrnicegyu11/osparc-simcore that referenced this pull request Mar 26, 2025
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Apr 15, 2025
56 tasks
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