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

Add use case to get the total space consumed by the files of a particular dataset version #86

Closed
GPortas opened this issue Sep 1, 2023 · 1 comment · Fixed by #92
Closed
Assignees
Labels
pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows Size: 10 A percentage of a sprint. 7 hours.

Comments

@GPortas
Copy link
Contributor

GPortas commented Sep 1, 2023

Overview of the Feature Request

We need a use case to get the total space consumed by the files of a particular dataset version.

This use case will allow the SPA to know the total space consumed by the files when the user selects "select all" in the files tab, without needing to retrieve all the files (without pagination, could be an expensive operation) and apply client side logic to calculate the size.

The use case may be useful for other scenarios where the total file size may be useful, for example, metrics-related applications.

We need to explore the Dataverse API to determine if an endpoint exists to support the new use case or if it needs to be created (Create API spike issue in such case).

What kind of user is the feature intended for?

Package consumer

What inspired the request?

What existing behavior do you want changed?

None

Any brand new behavior do you want to add to Dataverse?

New use case for getting the total space consumed by the files of a particular dataset version

Any open or closed issues related to this feature request?

@GPortas GPortas added Size: 10 A percentage of a sprint. 7 hours. pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows labels Sep 1, 2023
@MellyGray MellyGray self-assigned this Sep 21, 2023
@MellyGray
Copy link
Contributor

Added the waiting tag because the API needs to be extended to finishing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows Size: 10 A percentage of a sprint. 7 hours.
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants