spaxel/dashboard/js
jedarden 757d7240dc feat: implement snapshot-on-connect + incremental update protocol for dashboard WebSocket
- Hub sends full snapshot (type=snapshot) on new client connect before adding
  to broadcast list, preventing race with delta messages
- tickDelta at 10 Hz computes byte-level diffs of cached JSON fields, broadcasts
  only changed fields with no type field
- Dashboard sets awaitingSnapshot on WS open, drops incremental updates until
  snapshot received, rebuilds full state from snapshot
- Fix zone snapshot building (nil→ok check, SizeX fields)
- Remove unused broadcastBLEScan function
- Add drainSnapshot helper and fix TestHub_LinkEvents to account for snapshot
- Add TestHub_SnapshotOnConnect, TestHub_SnapshotBeforeDelta, TestHub_DeltaOmitsTypeField

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 22:00:36 -04:00
..
accuracy.js feat(localization): implement self-improving localization with BLE ground truth 2026-03-29 20:11:22 -04:00
anomaly.js feat: add new internal packages (events, automation, ble, falldetect, mqtt, notify, prediction, sleep, tracker, zones, analytics) and dashboard modules (anomaly, automations, blepanel, fleet) 2026-04-06 09:48:31 -04:00
apdetection.js feat: implement passive radar auto-detection of router AP 2026-04-06 14:03:03 -04:00
app.js feat: implement snapshot-on-connect + incremental update protocol for dashboard WebSocket 2026-04-06 22:00:36 -04:00
auth.js feat: implement dashboard PIN authentication and session management 2026-04-06 13:16:04 -04:00
automation-builder.js feat: webhook action firing & fault tolerance for automations 2026-04-06 20:29:53 -04:00
automations.js feat: add new internal packages (events, automation, ble, falldetect, mqtt, notify, prediction, sleep, tracker, zones, analytics) and dashboard modules (anomaly, automations, blepanel, fleet) 2026-04-06 09:48:31 -04:00
ble-panel.js feat: implement BLE device discovery & registration dashboard panel 2026-04-06 15:21:11 -04:00
blepanel.js feat: implement BLE address rotation detection & identity continuity 2026-04-06 14:33:27 -04:00
explainability.js feat: implement detection explainability overlay with per-link contributions, Fresnel visualization, and BLE match display 2026-04-06 13:31:17 -04:00
feedback.js feat(learning): implement detection feedback loop and accuracy tracking 2026-03-29 14:50:36 -04:00
fleet.js feat: add new internal packages (events, automation, ble, falldetect, mqtt, notify, prediction, sleep, tracker, zones, analytics) and dashboard modules (anomaly, automations, blepanel, fleet) 2026-04-06 09:48:31 -04:00
linkhealth.js feat(signal): add ambient confidence score and link health monitoring 2026-03-29 01:41:43 -04:00
onboard.js feat(dashboard): complete Phase 4 onboarding & OTA system 2026-03-28 21:21:55 -04:00
onboard.test.js fix(dashboard): fix onboarding wizard test failures 2026-03-28 04:01:20 -04:00
onboard.test.setup.js feat(dashboard): complete Phase 4 onboarding & OTA system 2026-03-28 21:21:55 -04:00
ota.js feat(dashboard): complete Phase 4 onboarding & OTA system 2026-03-28 21:21:55 -04:00
panels.js feat: build dashboard panel/modal/sidebar UI framework 2026-04-06 10:04:40 -04:00
placement.js feat(dashboard): interactive 3D node placement with real-time GDOP coverage overlay 2026-03-28 09:25:44 -04:00
router.js feat: build dashboard panel/modal/sidebar UI framework 2026-04-06 10:04:40 -04:00
security-panel.js feat: implement BLE address rotation detection & identity continuity 2026-04-06 14:33:27 -04:00
settings-panel.js feat: implement BLE address rotation detection & identity continuity 2026-04-06 14:33:27 -04:00
state.js feat: build dashboard panel/modal/sidebar UI framework 2026-04-06 10:04:40 -04:00
timeline.js feat: implement dashboard activity timeline view 2026-04-06 12:01:19 -04:00
tooltips.js feat(dashboard): guided troubleshooting and first-time UX 2026-03-28 04:19:06 -04:00
troubleshoot.js feat(dashboard): guided troubleshooting and first-time UX 2026-03-28 04:19:06 -04:00
troubleshoot.test.js feat(dashboard): guided troubleshooting and first-time UX 2026-03-28 04:19:06 -04:00
viz3d.js feat: implement passive radar auto-detection of router AP 2026-04-06 14:03:03 -04:00
volume-editor.js feat: implement webhook action firing & fault tolerance for automations 2026-04-06 21:39:51 -04:00