Delay the reconnecting notices by three seconds #97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "reconnect-notice-delay"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Same rule as Kantoor and Salt DNS:
#client-error/#server-errorwait 3 s (CSS animation, fillbackwards), avisibilitychangehandler restarts the wait; reduced motion keeps the delay without the fade; notices keeprole="alert".Measured in Chromium at 412x915 with this branch's CSS and script injected into a live LiveView page (the Karta console needs a sign-in that is disabled): a drop that reconnects never showed a notice; an un-hidden notice showed 3.05 s later; an 8 s outage showed client-error at 3.79 s; visibilitychange hid a visible notice at once and it returned 3.05 s later.
Not verified: on the Karta console itself, screen reader announcement, a real phone. Ran format, compile --force --warnings-as-errors, credo --strict.
mix assets.buildfails onimport topbar from "../vendor/topbar"(no default export) in my worktree; the fileassets/vendor/topbar.jsand the import are not part of this change (I did not run the build on plain master). No markup changed, so no new test.🤖 Generated with Claude Code