[grade=A urn:ump:vk45vbr6hs5b7qnbwzfsn2nbcofrpyjkzoesouupbevtmljzgd4q] ux(DC-171): dashboard smoothness pass chunk 1 — header overlap, dead-card collapse, accessible card actions, ON/OFF vocabulary

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.
This commit is contained in:
Hermes committed 2026-11-19 00:33:24 -08:00
1 parent 6c9f9e59a3
commit bc4df53684
7 files changed
+86 -43

No files matched your search

+2 -2
View File
@@ -282,7 +282,7 @@
</div>
<span class="name" data-i18n="card.auth">Auth</span>
<span class="spacer"></span>
<span id="auth-pill" class="badge off" data-i18n-live-status="yesno">NO</span>
<span id="auth-pill" class="badge off" data-i18n-live-status="onoff">OFF</span>
</div>
<div class="response-row">
<span id="auth-status-text" class="response-time" style="font-size: 0.7rem;" data-i18n="card.auth.not_configured">Not configured</span>
@@ -311,7 +311,7 @@
<span id="tailscale-summary" class="response-time" style="font-size: 0.7rem;">Loading…</span>
</div>
<div class="btn-row">
<button id="tailscale-refresh-btn" title="Refresh device list">↻</button>
<button id="tailscale-refresh-btn" title="Refresh device list" aria-label="Refresh Tailscale device list">↻</button>
</div>
</div>