From 50c02ddfd57b21aa428f263f048af705fc892edd Mon Sep 17 00:00:00 2001 From: Evan Date: Tue, 20 Oct 2026 12:37:58 -0400 Subject: [PATCH] Recover from a service restart in an open dashboard tab The service makes a new token each time it starts, so a tab opened before a restart (./install.sh, a crash, a reboot) got 403 on every action, and the page ignored the error: buttons and settings did nothing at all. - On a 403, fetch the page again for the current token and retry once, as the menu bar app does - Failed actions show a toast instead of failing silently - Keep polling if a refresh fails midway (the loop used to stop for good) --- index.html | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 3065485..b3fb338 100644 --- a/index.html +++ b/index.html @@ -260,6 +260,7 @@