[grade=B urn:ump:ewcpea4mjnjb3chkw2f3vxfiziwnc2zuntsi2um3aewmq6xomtcq] ux(DC-171): chunk 3 — tour scroll tracking, weather dead-widget collapse, Set Location affordance
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.
This commit is contained in:
6 files changed
+148
-92
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
const CACHE = 'dashcaddy-shell-da61d3a0a1';
|
||||
const CACHE = 'dashcaddy-shell-362deb0128';
|
||||
const PRECACHE = [
|
||||
'/',
|
||||
'/index.html',
|
||||
|
||||
Reference in new issue
Block a user