Display info on repo usage/space remaining
See original GitHub issueIs there any interest in some UI which displays how much space is remaining in the repo? I currently don’t see this information available from anywhere within the UI.
We could use the /api/v0/stats/repo
API to display some sort of bar for RepoSize
/ StorageMax
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Viewing your GitHub Packages usage
You can view details of your usage of storage and data transfer for GitHub Packages.
Read more >How can I tell how much LFS storage space is used
The simplest way to identify the amount of LFS space used by any one repo would be to fetch the files and then...
Read more >Analyse disk usage - Tutorials, Tips & Tricks - GitLab Forum
If it is not the backups directory consuming space, then it will most likely be your repository data.
Read more >9.6.6 Monitoring Fast Recovery Area Space Usage
It is important to monitor space usage in the fast recovery area to ensure that it is large enough to contain backups and...
Read more >How to Check Disk Space in Linux - groovyPost
As you can see, Disks provides you with the size of the volume, free space remaining, and the percentage of disk space used....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yup, actually, it is currently being designed! Status widget will be initially introduced in IPFS Desktop, but will eventually also land in WebUI (when we get back to refreshing it).
See initial mockup of such “stats gauge” at: https://github.com/ipfs-shipyard/pm-ipfs-gui/issues/12#issuecomment-361733414 (last one). FYI there are even more mockups for various parts of new UI Kit at https://github.com/ipfs-shipyard/pm-ipfs-gui/issues/7#issuecomment-364497449 (note this is not final, just work in progress 😃)
Comment from @lidel in https://github.com/ipfs-shipyard/ipfs-webui/issues/887#issuecomment-440330288
Here’s an idea: replace CountryChart with a “StorageChart” – a pie chart composed from various sources:
RepoSize
vsStorageMax
fromipfs stats repo --size-only
CumulativeSize('/')
fromipfs files stat / --size
(and maybe lazy-loadedipfs files stat / --size --with-local
which is expensive)How is this useful?
cursor: help
) and open docs explaining IPFS concepts (opportunity to improve docs, as we don’t have “ipfs repository” on the concepts page yet)StorageMax
&RepoSize
) and ifRepoSize
is bigger, use it as 100% and display the chunk overStorageMax
in red. Clicking on it or hovering could display information about GC (how it works, how to enable it).I would like to hear your thoughts on this.