-
Notifications
You must be signed in to change notification settings - Fork 530
Display current collection size on Add Files page #12028
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
base: develop
Are you sure you want to change the base?
Display current collection size on Add Files page #12028
Conversation
This comment has been minimized.
This comment has been minimized.
| </h:outputFormat> | ||
| <h:outputFormat value=" #{bundle['file.selectToAdd.tipTotalSizeUsed']}" escape="false"> | ||
| <f:param value="#{EditDatafilesPage.currentStorageUse}"/> | ||
| </h:outputFormat> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're adding this to JSF? What about the SPA?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SPA can call the API to get the storage size for display if they don't now
curl -H "X-Dataverse-key:$API_TOKEN" "$SERVER_URL/api/dataverses/$ID/storage/use"
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
3 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
📦 Pushed preview images as 🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name. |
What this PR does / why we need it: 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).
Which issue(s) this PR closes:#11528
Special notes for your reviewer:
Suggestions on how to test this:
Does this PR introduce a user interface change? If mockups are available, please link/include them here: Yes

Is there a release notes update needed for this change?: No
Additional documentation: