Browse Source
refactor(ui): Unified Floating Panel Engine & Persistent Dashboard Memory
refactor(ui): Unified Floating Panel Engine & Persistent Dashboard Memory
- Decoupled 'God Mode' from GridStack into a standalone floating fixed overlay. - Extracted 'makeDraggableAndResizable' utility with persistent localStorage memory. - Implemented "Soft-Reload" for GridStack: restores panel positions by gs-id without destructive DOM replacement. - Added viewport-aware "Rescue Logic" to pull off-screen panels back into view on window resize. - Re-architected God Mode auto-hide sequence (5s delay + 3s countdown with visual warning). - Implemented 'Auto-Focus' logic: clicking any floating panel populates it to the front (z-index: 40). - Hardened all p5.js sketches with 0-width guards to prevent crashes during container shifts. - Cleaned up redundant UI text overlays and unified the visual presentation.refactor/sync-centralize
5 changed files with 94 additions and 10 deletions
-
6steps/index.html
-
10steps/src/p5/radarSketch.js
-
4steps/src/p5/speedGraphSketch.js
-
5steps/src/p5/zoomSketch.js
-
79steps/src/ui.js
Write
Preview
Loading…
Cancel
Save
Reference in new issue