From c50085a8af0d214b7d421205068061dcc4e35daf Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 13 Oct 2026 17:26:33 -0500 Subject: [PATCH] add last time to active notices --- web/public/locales/en/views/system.json | 4 ++-- web/src/hooks/use-health-problems.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/web/public/locales/en/views/system.json b/web/public/locales/en/views/system.json index a33253a9ba..fbaf1d7224 100644 --- a/web/public/locales/en/views/system.json +++ b/web/public/locales/en/views/system.json @@ -35,8 +35,8 @@ "showAll": "Show all again", "showAllTitle": "Show all hidden notices?", "showAllDesc": "Every acknowledged and muted notice returns to the Notices list, including config and stream checks.", - "firstSeen_one": "First seen {{time}}", - "firstSeen_other": "First seen {{time}} · {{count}} times", + "occurred_one": "Occurred {{time}}", + "occurred_other": "Last occurred {{lastTime}} · {{count}} times since {{time}}", "acknowledgedAt": "Acknowledged {{time}}", "mutedAt": "Muted {{time}}", "filter": { diff --git a/web/src/hooks/use-health-problems.ts b/web/src/hooks/use-health-problems.ts index 9e493b3b18..70fd0a84e0 100644 --- a/web/src/hooks/use-health-problems.ts +++ b/web/src/hooks/use-health-problems.ts @@ -118,9 +118,10 @@ export function useHealthProblems( ns: "views/system", time: formatTime(notice.acknowledged_at), }) - : t("health.notices.firstSeen", { + : t("health.notices.occurred", { ns: "views/system", time: formatTime(notice.first_seen), + lastTime: formatTime(notice.last_seen), count: notice.count, }), link: external ? undefined : link,