From 7ac59c12f56cd319660baafd80de8a6794a0e480 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sun, 18 Oct 2026 23:39:22 +1100 Subject: [PATCH] fix(ui): short run picker label that ellipsises --- ui/src/workflows/WorkflowEditor.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/src/workflows/WorkflowEditor.vue b/ui/src/workflows/WorkflowEditor.vue index cd0de855d..4840639f1 100644 --- a/ui/src/workflows/WorkflowEditor.vue +++ b/ui/src/workflows/WorkflowEditor.vue @@ -25,6 +25,7 @@ import { Textarea } from "@/components/ui/textarea"; import StepRun from "./StepRun.vue"; import { restartAt, withRuns, workflowGraph } from "./workflow-graph"; import { api } from "@/lib/api"; +import { ago } from "@/lib/format"; import StepEditor from "./StepEditor.vue"; import WorkflowSettings from "./WorkflowSettings.vue"; import TriggerSettings from "./TriggerSettings.vue"; @@ -341,7 +342,7 @@ const runOptions = computed(() => [ { value: "", label: "Current definition" }, ...runs.value.map((run) => ({ value: String(run.id), - label: [`${run.source === "test" ? "Test" : "Run"} #${run.id}`, run.title, run.status, runRevision(run) ? `v${runRevision(run)!.version}` : ""].filter(Boolean).join(" · "), + label: [`${run.source === "test" ? "Test" : "Run"} #${run.id}`, run.status, run.created_at ? ago(run.created_at) : ""].filter(Boolean).join(" · "), })), ]); const lines = computed(() => yamlLines(yaml.value)); @@ -392,7 +393,7 @@ function syncScroll(event: Event): void { />
- +