Download a full dataset #60
Labels
No labels
backend
bug
CI
dependencies
design
documentation
duplicate
enhancement
frontend
github_actions
good first issue
help wanted
invalid
javascript
question
refactoring
security
tooling
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
NBIS/sda-download-ui#60
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Please describe the feature
As a medical expert I would like to download a full dataset in one click
so that I don't need to think about single files when getting access to a dataset
Detailed description
Additional context
Questions:
Is there a specific API-endpoint that can be used for the download of a full dataset? Or do we use the downloadUrls provided for every single file?
A: The API provides single file downloads, so this will built upon #36.
Is an estimated download time needed/ possible?
A: See if this information is available before the user chooses to proceed and the browser takes over the download.
I'm fairly certain there is no API endpoint for a full dataset download.
In several way, I feel limited by not knowing what functionality modern browsers enable (without needing to manually enable features before loading).
That means I don't know what information can be provided to the user, but likely good candidates:
Downloaded number of files/total number of files. Downloaded number of bytes/total number of bytes.
If it's available: current download speed would be nice to show.
I think this belongs in this user story but don't know if it's best in another or in the same card, putting here for now.
If the APIs available allows for it, it would be very desirable for a dataset download to be able to resume a failed download - e.g. in a dataset with 7000 objects where the download failed after 3000, it would be very nice if it could skip those after basic verification such as e.g. size matches and only download the remaining 4000.
Not necessarily MVP but desirable to keep in mind during design.
Closing as Done.All ACs mentioned in the description have been completed by several other PRs.