From 090b220d2574eb191377312a30c31fdbeeca77d3 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sun, 8 Nov 2026 23:56:41 +1100 Subject: [PATCH] fix(ui): label resolved alerts in the activity feed --- ui/src/tasks/timeline-event.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/src/tasks/timeline-event.ts b/ui/src/tasks/timeline-event.ts index 54de26428..336bc1c00 100644 --- a/ui/src/tasks/timeline-event.ts +++ b/ui/src/tasks/timeline-event.ts @@ -66,6 +66,12 @@ export function describeTimelineEvent(ev: TaskEvent = {}): TimelineLine { detail: [context, text(data.error), text(data.when)].filter(Boolean).join(" ยท "), }; } + if (ev.kind === "alert") { + return { + title: data.state === "resolved" ? "Alert resolved" : "Alert", + detail: ev.detail || "", + }; + } if (ev.kind === "task_retried") { const retryCount = Number(data.retry_count); const attempt =