One elapsed-time notation: ago() reads dur's units app-wide, health runs cell widened

This commit is contained in:
2026-10-15 17:10:36 +02:00
parent 6a847a2f28
commit 87f5b6b58a
10 changed files with 22 additions and 41 deletions
@@ -8,9 +8,8 @@ import { UplotChart } from "@/components/Common/UplotChart"
import { useEngineEventMinute } from "@/components/Flow/liveStore"
import { PANEL_SECTION } from "@/components/Flow/SidePanel"
import { Button } from "@/components/ui/button"
import { cn, dur, si } from "@/lib/utils"
import { ago, cn, dur, si } from "@/lib/utils"
import {
ago,
auditQueryOptions,
CARD,
clock,
@@ -358,7 +357,7 @@ export function HealthActivity({ range }: { range: Range }) {
<span className="w-20 shrink-0 whitespace-nowrap text-right text-muted-foreground">
{dur(run.duration_ms)}
</span>
<span className="w-16 shrink-0 text-right text-xs text-muted-foreground">
<span className="w-24 shrink-0 whitespace-nowrap text-right text-xs text-muted-foreground">
{ago(run.started_at)}
</span>
</div>