dataverse
dataverse copied to clipboard
Display current collection size on Add Files page
Overview of the Feature Request
- When collection quotas are enabled, the remaining storage quota is in fact shown to the user on the
Add Files page. - This new feature request is to display the current total size of the collection (regardless of whether there is an active quota enabled on the collection or not).
What kind of user is the feature intended for?
(Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin)
- All users
What inspired the request?
- See
- https://github.com/IQSS/dataverse.harvard.edu/issues/364
- https://github.com/IQSS/dataverse.harvard.edu/issues/365, and
- https://github.com/IQSS/dataverse/issues/11275
Any open or closed issues related to this feature request?
- https://github.com/IQSS/dataverse.harvard.edu/issues/364
- https://github.com/IQSS/dataverse.harvard.edu/issues/365
- https://github.com/IQSS/dataverse/issues/11275
@cmbz I'm not sure we need this, as a separate issue. The actual functionality needed for #364 is covered under #11529. Once we have that, displaying the numbers is fairly trivial and may not warrant an issue of its own .
@cmbz Is this a JSF, SPA, or both request?
I'm adding this to the JSF Upload File Page
SPA can call curl -H "X-Dataverse-key:$API_TOKEN" "$SERVER_URL/api/dataverses/$ID/storage/use"
Do we need a separate frontend ticket for SPA?