diff --git a/webui/src/features/ops/OpsHealthWidget.tsx b/webui/src/features/ops/OpsHealthWidget.tsx index 29f03b1..882067c 100644 --- a/webui/src/features/ops/OpsHealthWidget.tsx +++ b/webui/src/features/ops/OpsHealthWidget.tsx @@ -1,3 +1,5 @@ +import { DescriptionList } from "@govoplan/core-webui"; +import { MetricGrid } from "@govoplan/core-webui"; import { useEffect, useState } from "react"; import { DismissibleAlert, @@ -43,7 +45,7 @@ export default function OpsHealthWidget({ settings, refreshKey }: { settings: Ap
-
+ @@ -54,16 +56,16 @@ export default function OpsHealthWidget({ settings, refreshKey }: { settings: Ap -
+ {status?.readiness.blockers.length ? -
+ {status.readiness.blockers.slice(0, 3).map((blocker) =>
{blocker.label} · {blocker.detail}
)} -
: + :

No readiness blockers reported.

} ); diff --git a/webui/src/features/ops/OpsPage.tsx b/webui/src/features/ops/OpsPage.tsx index 9fd6769..9a88fdf 100644 --- a/webui/src/features/ops/OpsPage.tsx +++ b/webui/src/features/ops/OpsPage.tsx @@ -1,3 +1,5 @@ +import { DescriptionList } from "@govoplan/core-webui"; +import { MetricGrid } from "@govoplan/core-webui"; import { useEffect, useState } from "react"; import { PauseCircle, PlayCircle, RefreshCw } from "lucide-react"; import { ContentGrid, @@ -146,7 +148,7 @@ export default function OpsPage({ settings, auth }: {settings: ApiSettings;auth: )} -
+ @@ -165,7 +167,7 @@ export default function OpsPage({ settings, auth }: {settings: ApiSettings;auth: -
+ @@ -196,12 +198,12 @@ export default function OpsPage({ settings, auth }: {settings: ApiSettings;auth: - {(status?.infrastructure.post_install_tasks.length ?? 0) > 0 &&
+ {(status?.infrastructure.post_install_tasks.length ?? 0) > 0 && {status?.infrastructure.post_install_tasks.map((task) =>
{task.summary} · {task.owner_module} · {task.required_inputs.join(", ")}
)} -
} + }
@@ -476,14 +478,14 @@ function GovernanceTable({ modules }: { modules: OpsGovernanceModule[] }) { function CheckList({ checks }: {checks: OpsCheck[];}) { if (!checks.length) return

i18n:govoplan-ops.no_health_checks_reported.03c067c4

; return ( -
+ {checks.map((check) =>
{check.label} · {check.detail}
)} -
); + ); }