fix(ui): use Docker health status terms on container cards (#1696)

Per-container metadata showed healthcheck passing/failing instead of Docker's healthy/unhealthy/starting, which disagreed with the stack pill. Render the normalized healthStatus token directly and document the same terms.

Closes #1677
This commit is contained in:
Anso
2026-07-24 22:48:53 -04:00
committed by GitHub
parent d0a4f1ead9
commit 4d2270a097
4 changed files with 61 additions and 8 deletions
@@ -64,9 +64,7 @@ const healthcheckLabel = (
health?: 'healthy' | 'unhealthy' | 'starting' | 'none',
): string | null => {
if (!health || health === 'none') return null;
if (health === 'healthy') return 'healthcheck passing';
if (health === 'unhealthy') return 'healthcheck failing';
return 'healthcheck starting';
return health;
};
type StackPill = {