Offline banner: say how old the data is instead of failing silently

When the live connection drops, a slim notice under the header shows
the timestamp of the last snapshot — the page keeps working from it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 01:20:18 +02:00
parent 17ec56bceb
commit 7882c9af01
3 changed files with 18 additions and 1 deletions
+1
View File
@@ -21,6 +21,7 @@ export const en = {
connected: "Connected",
liveVia: "Live · {source}",
offlineShowingSchedule: "Offline — showing the schedule",
offlineBanner: "Offline — showing the last data from {time}. Reconnecting…",
switchToLightMode: "Switch to light mode",
switchToDarkMode: "Switch to dark mode",
draw: "Draw",