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

[Rails] Show total file storage for each community in the super admin dashboards #954

Open
1 task
rudokemper opened this issue Sep 23, 2023 · 0 comments
Open
1 task
Labels
Hacktoberfest Hacktoberfest 2023 rails

Comments

@rudokemper
Copy link
Member

For a Terrastories server super admin, it can be helpful to know how much file storage is being taken up by each community. (For example, to understand the breakdown of storage costs per each community.)

Let's make this possible by adding a new card to the Community view, to the right of the existing four, with this content: {filesize} GB (summing up the total number of gigabytes, with two decimal places:

image

The figure should sum up the total filesize count for all of the media attachments stored for that community (e.g. photos, audio, video).

Acceptance criteria:

  • As a logged in super admin, I can navigate to a community, and I see the total number of GB of their file storage.
@rudokemper rudokemper added rails Hacktoberfest Hacktoberfest 2023 labels Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Hacktoberfest 2023 rails
Projects
None yet
Development

No branches or pull requests

1 participant