From c446ca072ec948c3da060e4b66c97f6b0bb8a2a3 Mon Sep 17 00:00:00 2001 From: Steve Cliff Date: Mon, 4 May 2026 23:04:10 +0100 Subject: [PATCH 1/2] ui(alerts): make Acknowledge vs Resolve distinction visible Both buttons make the row leave the Open tab, so on a quiet system they look identical. The behavioural difference only manifests next time the underlying condition fires: - Acknowledge silences fan-out while the problem persists; the alert parks on the Acknowledged tab and recurrences just touch last_seen_at without re-notifying. - Resolve closes the alert. If the same condition fires again later, a fresh alert with a new id raises and the channels fan out as if it were the first time. Add a one-line legend under the page header explaining both, and title= tooltips on each button covering the same ground for keyboard and assistive tech. --- web/templates/pages/alerts.html | 7 +++++++ web/templates/partials/alert_row.html | 9 ++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/web/templates/pages/alerts.html b/web/templates/pages/alerts.html index f7475fd..5f6db06 100644 --- a/web/templates/pages/alerts.html +++ b/web/templates/pages/alerts.html @@ -28,6 +28,13 @@ + {{/* triage legend โ€” Acknowledge vs Resolve looks identical on screen + (both leave the Open tab) so the difference needs spelling out. */}} +
+ Acknowledge silences fan-out while the underlying problem is still happening โ€” the alert moves to the Acknowledged tab. + Resolve closes the alert; the next failure raises a fresh one with a new notification. +
+ {{/* filter strip */}}
diff --git a/web/templates/partials/alert_row.html b/web/templates/partials/alert_row.html index b194386..7cabdc1 100644 --- a/web/templates/partials/alert_row.html +++ b/web/templates/partials/alert_row.html @@ -69,13 +69,15 @@ {{if $qs}}{{end}} + hx-swap="none" + title="I've seen this โ€” silence further fan-out, but the alert is still open until the condition clears or you Resolve it.">Acknowledge
{{if $qs}}{{end}} + hx-swap="none" + title="The underlying issue is fixed. Closes the alert. If the condition fires again a fresh alert will be raised with a new fan-out.">Resolve
{{else if eq $status "acknowledged"}} @@ -85,7 +87,8 @@ {{if $qs}}{{end}} + hx-swap="none" + title="The underlying issue is fixed. Closes the alert.">Resolve {{else}} resolved ยท {{relTime $a.ResolvedAt}} -- 2.52.0 From fc58e57598f47d90873bfe3786be8010c1d10506 Mon Sep 17 00:00:00 2001 From: Steve Cliff Date: Mon, 4 May 2026 23:22:44 +0100 Subject: [PATCH 2/2] =?UTF-8?q?ui(alerts):=20drop=20'Severity=20/=20kind'?= =?UTF-8?q?=20header=20=E2=80=94=20column=20shows=20kind=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The text in that column is the kind chip (backup_failed, etc). Severity is encoded entirely in colour: severity dot, left-border accent, and the chip's tint. The header promised both but only one made it into text, which read as if the severity word should appear too. Header now reads 'Kind'. Colour does the severity work, as it already did. --- web/templates/pages/alerts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/pages/alerts.html b/web/templates/pages/alerts.html index 5f6db06..c059e24 100644 --- a/web/templates/pages/alerts.html +++ b/web/templates/pages/alerts.html @@ -96,7 +96,7 @@ {{/* header row */}}
-
Severity / kind
+
Kind
Host
Message
Raised
-- 2.52.0