Show a Docker container's health check in its drawer

The containers table now says Unhealthy or Exited (139), but the row's
drawer still read "Observed state: Online" for a running container whose
health check was failing, "Offline" for a crashed one, never mentioned
the health check, and could show uptime a stopped container had left
behind.

For a Docker container the drawer's Runtime context now uses the same
presentation as the table: Observed state is Docker's own state
(Running, Exited (137)), the health check of a running container gets a
row of its own (Failing, Starting, Passing), and Uptime is the current
run, so a stopped container shows neither a stale health check nor
leftover uptime. Other resources are unchanged.
This commit is contained in:
rcourtman
2026-10-05 21:23:26 +01:00
parent 1dcf9418aa
commit 17633ecfee
6 changed files with 216 additions and 11 deletions
@@ -6022,6 +6022,12 @@ container that just restarted; narrower rows keep it in the drawer. The Ports
cell drops the all-interfaces address and folds the IPv4/IPv6 pair Docker
reports for one mapping, keeping a specific bind address; the title, drawer
and search keep the full form.
The resource drawer's Runtime context agrees with that row for a Docker
container: Observed state is Docker's own state (Running, Exited (137)) rather
than the unified online/offline status, a running container's health check
gets its own row (Failing, Starting, Passing), and Uptime is the current run,
so a stopped container shows neither a stale health check nor leftover
uptime. Both surfaces read `dockerContainerStatePresentation.ts`.
ResourceDetailDrawer headings wrap long display names rather than ellipsising
them. Overview rows may still truncate identity; keyboard expansion exposes the