Live-browser audit (authenticated session, real viewport) produced a
ranked critique; this chunk ships the top 4 fixes, each verified in the
live page with before/after numbers:
1. HEADER OVERLAP: .reload-caddy-container was position:absolute and
covered the clock (4700px² measured overlap, clock pushed off-screen,
horizontal scrollbar at 1440px). Now an in-flow flex item with
flex-wrap on .top-row/.brand-weather-group and a ≤1700px brand cap.
AFTER: overlap 0px², clock fully visible, no horizontal scroll
(scrollWidth 1425 ≤ 1440).
2. DEAD CARD COLLAPSE: Tailscale's 'not installed' card occupied a full
~205px grid slot forever. Now collapses (content rows hidden, dimmed)
until Tailscale is actually installed.
3. ACCESSIBLE CARD ACTIONS: all dynamically generated icon-only service
actions (logs/update/terminal/credentials/options/share/delete/open)
now carry per-service aria-labels — 64/97 btn-row buttons labelled;
the rest are text-labelled system buttons. Tailscale refresh labelled.
4. STATUS VOCABULARY: Auth card YES/NO → ON/OFF, matching every other
card (active + inactive branches + initial markup).
Frontend 68/68; SW dashcaddy-shell-da61d3a0a1; CSP hash unchanged.
Full language display names + RTL set (ar/fa/ur) on /i18n/languages;
card.internet/auth/tailscale/dashca, status pills, filter bar and
batch-operation strings added to every language dictionary. Frontend:
English now loads the server dictionary too (keys are semantic ids,
not fallback copy), failed loads keep existing DOM text instead of
exposing raw keys, isLoaded() gate for pre-load renders. Rebuilt
status/dist. Tests: i18n-cards 9/9, full suite 1837/1837.
- status/js/totp-recovery.js: NEW. Wires up recovery panel on the TOTP
gate. Pastes Base32 -> /api/v1/totp/setup -> /verify-setup -> session.
Exposes window._refreshRecoveryLink() called by totp-auth.js.
- status/js/totp-auth.js: showTotpOverlay() now calls
_refreshRecoveryLink() so the recovery link hides when TOTP is healthy
and appears when it's broken.
- status/js/totp-settings.js: removed setupSection.style.display='none'
so 'Import existing secret' is always visible; added 'Download backup
file' button after setup that exports the Base32 + recovery
instructions as JSON.
- status/index.html: added 'Lost access? Recover with saved Base32
key ->' link to the TOTP overlay plus the recovery panel itself;
added title tooltip to the auth card reminding users to save the
Base32 on first setup.
- status/build.js: include JS('totp-recovery.js') in the core bundle
after totp-auth.js (since recovery registers a hook auth calls).
Full codebase including API server (32 modules + routes), dashboard frontend,
DashCA certificate distribution, installer script, and deployment skills.