One elapsed-time notation: ago() reads dur's units app-wide, health runs cell widened
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user