Set background color of pool in new UI based on its status
One of my pools is degraded (one of the disks is offline), but a new disk is currently resilvering. During the process, the Disk Widget on the Dashboard correctly shows the pool as "Degraded". However, it colors the widget green and has a checkmark next to the status. Both of these are deceiving since the pool is still degraded.
I would prefer to see it colored yellow and the checkmark removed. (It may make sense to have some type of icon or text indicating resilvering is in progress and a healthy status will be resulting soon instead.)
- Subject changed from Do not show degraded pools in green on the Dashboard to Sets background color of pool in new UI based on its status
- Needs Merging changed from Yes to No
I am able to confirm green for healthy, locked, and unavailable, and yellow for degraded and unknown. Unable to replicate neither an offline state nor a faulted or removed state to see a red background. Only getting degraded when I inject a fault. Maybe this is enough, since the addition of the yellow background is part of it.