fix(webui): match the health detail row color to its badge, add tests

ProvidersView.vue's accordion detail row hardcoded text-destructive red
for any non-closed health state, while the trigger row's Badge
deliberately used grey (secondary) for half-open and red (destructive)
only for open. Add healthDetailClass so the detail row's color always
matches the badge's own severity, instead of overstating a half-open
probe as an error.

Add a describe block for formatUntil to format.spec.ts, covering the
unset sentinel, undefined, a future timestamp, and a past one. It had
no test coverage since being added in the previous round.
This commit is contained in:
2026-08-22 23:37:55 +01:00
parent 46a3577162
commit d0b55a37e9
3 changed files with 41 additions and 12 deletions
+10 -10
View File
File diff suppressed because one or more lines are too long