Panel: pulsing dot on Update when a new server version is available

The dot replaces the small 'new' badge; the first update check now starts as
soon as the panel asks for the update status instead of 60 s after start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 17:56:00 +02:00
co-authored by Claude Opus 5.5
parent 4a9ad55d14
commit 905d191807
3 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ function renderNav() {
if (p.group !== group) { group = p.group; items.push(h("div", { class: "nav-group" }, group)); }
items.push(h("button", { type: "button", class: p.id === state.page ? "active" : "", onclick: () => go(p.id) },
h("span", { class: "ico" }, p.icon), h("span", { class: "nav-label" }, p.label),
p.id === "update" && state.updateAvailable ? h("span", { class: "nav-badge", title: "Update available" }, "new") : null));
p.id === "update" && state.updateAvailable ? h("span", { class: "nav-dot", title: "Update available", "aria-label": "Update available" }) : null));
}
nav.replaceChildren(...items);
$("meButton").classList.toggle("active", state.page === "account");