Fixes a bug that shipped in v0.1: the per-account Edit sheet never opened at
all. Its Cancel button used `onclick: dlg.close`, evaluated while building the
arguments to openModal() and therefore before `const dlg` was initialised — a
temporal-dead-zone ReferenceError that aborted the whole handler. Every other
button in that sheet was already a closure, which is why it went unnoticed:
browser testing had covered add, import and settings, but never opened this
sheet.
Renames now reach Discord almost immediately. The push loop skips any account
whose current code it has already sent, so a rename previously stayed invisible
until the code next rolled — up to a full period. update() now clears the
last-sent code when the naming actually changes, so the next tick treats the
tile as stale and rewrites it in about a second. Toggling push alone is not a
rename and still costs nothing.
- webui: pencil icon and "Edit account" title so the row action reads as edit
rather than settings; both fields labelled, with the second one explained as
the username/email and left untouched unless changed
- webui: topbar is a three-column grid so the search sits on the same centre
line as the account tiles. Below 820px there isn't room for brand + 420px
search + actions, so it falls back to a row rather than clipping the
wordmark; the brand now reads "Discord Authenticator" in full
- webui: the add-account FAB pins to the viewport corner instead of tracking
the content column edge
- brand: docs/brand/icon.svg plus PNGs rendered from it by da-render, so the
README image, Gitea avatar and Unraid template icon all derive from one
source rather than drifting. Unraid's <Icon> now points at a PNG, which it
renders more reliably than SVG
126 tests (was 124).
Co-Authored-By: Claude Opus 4.8 <[email protected]>