From 444eca651e818cda0da9647eb18a48a1d8495ed4 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Thu, 1 Oct 2026 06:48:36 +0000 Subject: [PATCH] Frontend poll-condition and Set-reactivity fixes; drop now-unused input CSS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The post-mint watch polled only while a known link was disconnected — but the incoming satellite is not a row yet, so poll unconditionally for the minute. The scope Set is replaced, not mutated, to stay reactive. The password/number/url input styling came in with the superseded domain-dialog remote form; no such inputs remain. --- frontend/src/admin/AdminSatellites.vue | 6 ++++-- frontend/src/assets/style.css | 6 ------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/frontend/src/admin/AdminSatellites.vue b/frontend/src/admin/AdminSatellites.vue index d8cc70f..b120b1d 100644 --- a/frontend/src/admin/AdminSatellites.vue +++ b/frontend/src/admin/AdminSatellites.vue @@ -47,7 +47,7 @@ function schedulePoll() { clearTimeout(pollTimer) const watching = uplinks.value.some(u => !u.connected) || - links.value.some(l => !l.connected) && Date.now() < mintWatchUntil + Date.now() < mintWatchUntil // a minted link's satellite may appear if (watching) { pollTimer = setTimeout(async () => { await load() @@ -92,9 +92,11 @@ function openLinkDialog(link) { } function toggleScope(rpId) { - const s = linkDialog.value.selected + // Replace the Set (in-place mutation is invisible to reactivity) + const s = new Set(linkDialog.value.selected) if (s.has(rpId)) s.delete(rpId) else s.add(rpId) + linkDialog.value.selected = s } async function submitLinkDialog() { diff --git a/frontend/src/assets/style.css b/frontend/src/assets/style.css index ac6867b..e7f1fce 100644 --- a/frontend/src/assets/style.css +++ b/frontend/src/assets/style.css @@ -326,9 +326,6 @@ input[type="text"], input[type="search"], input[type="email"], input[type="tel"], -input[type="password"], -input[type="number"], -input[type="url"], textarea, select { font: inherit; @@ -346,9 +343,6 @@ input[type="text"]:focus, input[type="search"]:focus, input[type="email"]:focus, input[type="tel"]:focus, -input[type="password"]:focus, -input[type="number"]:focus, -input[type="url"]:focus, textarea:focus, select:focus { outline: none;