Frontend poll-condition and Set-reactivity fixes; drop now-unused input CSS

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.
This commit is contained in:
LeoVasanko committed 2026-10-01 06:48:36 +00:00
1 parent 6d49b59cec
commit 444eca651e
2 files changed
+4 -8

No files matched your search

+4 -2
View File
@@ -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() {
-6
View File
@@ -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;