mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-06-03 13:54:41 +00:00
7a1fe0b0fc
`getDiskHealthBreakdown` carried its own hardcoded ladder (HDD ≤45 normal, ≤55 warning) that was much stricter than the configurable defaults consumed by `getTempColor` via `useDiskTempThresholds` (HDD warn 60, hot 65). HDDs at 48 °C therefore rendered a green "Healthy 48°C" badge on the card but were tallied as "warning" in the top-of-page "X normal, Y warning, Z critical" summary, leaving the user with the misleading "6 normal, 5 warning" line. Use the same threshold map as the per-disk badge so the colour and the count are always consistent, and so Settings → Health Monitor Thresholds → Disk temperature actually applies to the breakdown. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>