wrolpi/app/src/hooks
lrnselfreliance e018616daf
Warn in the navbar when a drive's SMART health is failing. (#471)
A failing SMART self-assessment predicts imminent drive failure, so it
deserves a prominent warning.  useDriveHealth() reads the assessment
already present in smart_stats (pySMART reports PASS / FAIL / null) and
flags any drive whose assessment is FAIL.  Nav.js renders a red warning
icon in its own always-on slot — like the power warning, and unlike the
single-slot priority chain where a transient high temp could hide it.

Frontend-only: the assessment field is already in the cached payload.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 19:46:33 -06:00
..
customHooks.js Warn in the navbar when a drive's SMART health is failing. (#471) 2026-06-11 19:46:33 -06:00
customHooks.test.js Warn in the navbar when a drive's SMART health is failing. (#471) 2026-06-11 19:46:33 -06:00
useForm.js chore: address Greptile P2 review comments on PR 449 2026-05-31 13:02:44 -06:00
useForm.test.js fix: coerce sleep_requests and numeric settings from string form values 2026-05-31 13:02:31 -06:00
useKeyboardShortcuts.test.js Adding keyboard shortcuts to UI. 2025-12-26 18:59:20 -07:00
useOverflowNav.js Navigation links automatically hide based on screen width, rather than hard breaks. 2026-04-09 16:17:38 -06:00