Skip to content

Conversation

@stevenwinship
Copy link
Contributor

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
image

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

Additional documentation:

@stevenwinship stevenwinship self-assigned this Dec 8, 2025
@github-actions github-actions bot added the Type: Feature a feature request label Dec 8, 2025
@stevenwinship stevenwinship moved this to In Progress 💻 in IQSS Dataverse Project Dec 8, 2025
@coveralls
Copy link

coveralls commented Dec 8, 2025

Coverage Status

coverage: 24.24% (+0.007%) from 24.233%
when pulling a2457f7 on 11528-display-collection-size-on-add-files-page
into fd75558 on develop.

@github-actions

This comment has been minimized.

</h:outputFormat>
<h:outputFormat value=" #{bundle['file.selectToAdd.tipTotalSizeUsed']}" escape="false">
<f:param value="#{EditDatafilesPage.currentStorageUse}"/>
</h:outputFormat>
Copy link
Member

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?

Copy link
Contributor Author

@stevenwinship stevenwinship Dec 8, 2025

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"

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@stevenwinship stevenwinship moved this from In Progress 💻 to Ready for Review ⏩ in IQSS Dataverse Project Dec 9, 2025
@stevenwinship stevenwinship removed their assignment Dec 9, 2025
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

3 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:11528-display-collection-size-on-add-files-page
ghcr.io/gdcc/configbaker:11528-display-collection-size-on-add-files-page

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Feature a feature request

Projects

Status: Ready for Review ⏩

Development

Successfully merging this pull request may close these issues.

Display current collection size on Add Files page

5 participants