Bug #44724
Use appropriate units in the Dashboard Disks widget of new UI
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No
Description
Process disk and pool capacity numbers on the dashboard:
1. Commify (add commas or periods depending on user locale setting)
2. Humanize numbers: use units appropriate to the magnitude of the number shown.
if val > 1 TiB, show in units of TiB
else if val > 1 GiB, show in units of GiB
else show in units of MiB
3. Two decimal places are okay. One might be adequate and easier to read.
History
#1 Updated by Anonymous over 2 years ago
- Assignee changed from Anonymous to Dennis Mullen
- Target version changed from Backlog to 11.2-RC1
#2
Updated by Dennis Mullen over 2 years ago
- Status changed from Unscreened to In Progress
#3
Updated by Dennis Mullen over 2 years ago
PR 1230
#4
Updated by Lola Yang over 2 years ago
- Status changed from In Progress to Ready for Testing
- Needs Merging changed from Yes to No
#5
Updated by Dru Lavigne over 2 years ago
- Subject changed from Commify and humanize dashboard pools/disks area to Use appropriate units in the Dashboard Disks widget of new UI
- Needs Doc changed from Yes to No
#6
Updated by Aaron St. John over 2 years ago
- File dashboard-fix.png dashboard-fix.png added
- Status changed from Ready for Testing to Passed Testing
- Needs QA changed from Yes to No
Tested on FreeNAS-11.2-MASTER-201809210904
Test case:
1. Go to dashboard.
2. Observe that the fix is present. (see screenshot)
#7
Updated by Dru Lavigne over 2 years ago
- Status changed from Passed Testing to Done