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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user