Bump to v1.4.0: tap-to-dismiss, docker restart detection, cleanup thread fix

Add /clear-all endpoint and wire it to the tap handler so tapping the
display dismisses active warnings/critical alerts. Fix docker detector
to track restart count deltas instead of relying on the transient
"restarting" state. Wrap cleanup thread in try/except so it can't die
silently and leave events stuck forever.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-06 11:54:00 -06:00
parent fa0c16609d
commit c3ceb74ce8
6 changed files with 61 additions and 6 deletions

View File

@@ -377,6 +377,11 @@
const prevClass = emoteEl.className;
const prevMsg = messageEl.textContent;
// Clear active warning/critical events
if (lastData && lastData.active_events && lastData.active_events.length > 0) {
fetch("/clear-all", { method: "POST" });
}
// Surprised face!
emoteEl.textContent = "( °o°)";
emoteEl.className = "popping";