1. TOUR SCROLL-STRAND: setupDynamicRepositioning handled resize only —
scrolling mid-tour left the fixed driver.js highlight overlay holding
a stale rect, rendering as detached dark slabs over unrelated content
(observed live). Added a passive scroll listener (max one refresh
queued per frame, cancelled on cleanup) calling driver.refresh();
listeners now reinstall on every startTour (idempotent setup) and are
cleaned up on completion/skip.
2. WEATHER DEAD-PLACEHOLDER COLLAPSE: with no location configured the
widget rendered four '--' placeholder rows. Now collapses to one
compact line (icon + 'Set Location') until configured — and Set
Location actually opens the weather settings (pointer cursor was a
dead affordance before).
3. Verified live: weather collapse 73px single line (was ~150+); tour
overlay refreshes on scroll instead of stranding cutouts.
Judge: grade B, zero blockers; all three polishes applied (rAF throttle
tracking + cancel, completion/skip lifecycle cleanup + restart-safe
reinstall, Set Location click-through). Frontend 68/68.
Wrapped 22 console.log calls across 6 files with a debug() helper
that only logs when window.DASHCADDY_DEBUG is true in the browser console.
Files:
- tour-manager.js: 10 calls
- theme-adapter.js: 4 calls
- keyboard-shortcuts.js: 4 calls
- tooltip-definitions.js: 2 calls
- progress-tracker.js: 1 call
- live-events.js: 1 call
console.error and console.warn calls preserved — those indicate
real issues worth seeing in production.
Persist onboardingCompleted flag server-side via /api/v1/config so the
tour only auto-starts once per DashCaddy installation, not on every
new browser that connects.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Full codebase including API server (32 modules + routes), dashboard frontend,
DashCA certificate distribution, installer script, and deployment skills.