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

[Feature] Show Percentages of each drive used #104

Closed
fidst opened this issue Jun 8, 2022 · 8 comments
Closed

[Feature] Show Percentages of each drive used #104

fidst opened this issue Jun 8, 2022 · 8 comments

Comments

@fidst
Copy link

fidst commented Jun 8, 2022

Description of the feature

It would be cool to see the percentage used of each drive. Either by hovering or having a data point like the processor percentage.

This could also be shown by having a toggle like the processor for each core, but for each drive.

Additional context

No response

@MauriceNino
Copy link
Owner

Thank you for opening a feature request!

This is something that would definitely be nice to have. Unfortunately, there is no way I can implement this right now, because I am unable to read the correct sizes of all drives (#59). But when I resolve that other issue, I will make sure to look into this.

@fidst
Copy link
Author

fidst commented Jun 8, 2022

That makes sense. Would the percentage bit work? Like having it show inside the chart window?
image

@MauriceNino
Copy link
Owner

That would only work for a single drive, though. I like the idea of the toggle - when it is on, there should be a donut chart for each drive. I will have to see if I can actually do this, though.

It would only be difficult for many drives, but I can't cover all edge cases, and it would still be usable in single-drive view, so I think that is okay.

@fidst
Copy link
Author

fidst commented Jun 8, 2022

Right now you have a donut for both drives combined.

The total size and the size used is already known of the total space available.

In my case, 256.2GB is used. So the math would be
image
(256.2/1141.1)*100 and round the decimals to 1 space.
22.5%

Then that percentage could be in the chart space, much like the ram or cpu
image

@MauriceNino
Copy link
Owner

Ahh yeah got it! I don't know why I haven't added this yet, but I totally will.

MauriceNino added a commit that referenced this issue Jun 8, 2022
# [3.1.0](v3.0.0...v3.1.0) (2022-06-08)

### Bug Fixes

* **api:** exclude /etc from mounts ([bb0c2aa](bb0c2aa))
* **api:** get sizes of all drives instead of just the main one ([356cacd](356cacd)), closes [#59](#59)
* **api:** read type and interface speed from host instead of container ([2f0eea4](2f0eea4)), closes [#105](#105)
* **view:** extract label function to widget ([8718f5e](8718f5e))

### Features

* **view:** add percentage to storage widget ([e2cc3fa](e2cc3fa)), closes [#104](#104)
@MauriceNino
Copy link
Owner

🎉 This issue has been resolved in version 3.1.0

The release is available on GitHub release

@MauriceNino
Copy link
Owner

I will keep this issue open, because only the percentage has been added yet.

MauriceNino added a commit that referenced this issue Jun 20, 2022
# [3.7.0](v3.6.0...v3.7.0) (2022-06-20)

### Features

* add optional storage split view ([962ecbe](962ecbe)), closes [#104](#104)
@MauriceNino
Copy link
Owner

🎉 This issue has been resolved in version 3.7.0

Please check the changelog for more details.

alan-caio added a commit to alan-caio/healthcare-dshboard-react-node that referenced this issue Jul 28, 2022
# [3.1.0](MauriceNino/dashdot@v3.0.0...v3.1.0) (2022-06-08)

### Bug Fixes

* **api:** exclude /etc from mounts ([bb0c2aa](MauriceNino/dashdot@bb0c2aa))
* **api:** get sizes of all drives instead of just the main one ([356cacd](MauriceNino/dashdot@356cacd)), closes [#59](MauriceNino/dashdot#59)
* **api:** read type and interface speed from host instead of container ([2f0eea4](MauriceNino/dashdot@2f0eea4)), closes [#105](MauriceNino/dashdot#105)
* **view:** extract label function to widget ([8718f5e](MauriceNino/dashdot@8718f5e))

### Features

* **view:** add percentage to storage widget ([e2cc3fa](MauriceNino/dashdot@e2cc3fa)), closes [#104](MauriceNino/dashdot#104)
alan-caio added a commit to alan-caio/healthcare-dshboard-react-node that referenced this issue Jul 28, 2022
# [3.7.0](MauriceNino/dashdot@v3.6.0...v3.7.0) (2022-06-20)

### Features

* add optional storage split view ([962ecbe](MauriceNino/dashdot@962ecbe)), closes [#104](MauriceNino/dashdot#104)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants