spaxel/dashboard/js
jedarden 4a4e8a114a feat: implement guided troubleshooting with proactive contextual help
Implements Component 36: Guided Troubleshooting system with proactive
contextual help and post-feedback explanations.

Backend (mothership/internal/guidedtroubleshoot/):
- Manager: Coordinates all guided troubleshooting features
- EditTracker: Monitors repeated settings edits (3 in 60min triggers hint)
- ZoneQualityTracker: Detects quality degradation (<60% for >24h)
- DiscoveryTracker: First-time feature discovery tooltips
- FleetNotifier: Node offline event handling with 2min grace period

API (mothership/internal/api/guided.go):
- GET /api/guided/issues - List active troubleshooting issues
- POST /api/guided/issues/quality/{zoneId}/dismiss - Dismiss quality banner
- POST /api/guided/feedback/response - Inline feedback response
- POST /api/guided/calibration/complete - Calibration reinforcement
- GET /api/guided/node/{mac}/troubleshoot - Node troubleshooting steps
- GET /api/guided/tooltip/{featureId} - Feature discovery tooltips
- POST /api/guided/tooltip/{featureId}/dismiss - Dismiss tooltip

Frontend:
- troubleshoot.js: Node offline cards, quality banners, calibration reinforcement
- guided-help.js: Step-by-step guides for common troubleshooting scenarios
- tooltips.js: First-time feature discovery with localStorage persistence
- feedback.js: Thumbs-up/down feedback with inline responses

Integration:
- Settings edit tracking via SetEditTracker on settingsHandler
- WebSocket events for quality_drop, repeated_edit, calibration_complete
- Hub broadcasts node status changes for FleetNotifier
- Main.go initializes guidedMgr with zones and fleet callbacks

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 04:25:31 -04:00
..
accuracy.js feat(localization): implement self-improving localization with BLE ground truth 2026-03-29 20:11:22 -04:00
ambient.js feat: complete morning briefing feature with provider adapters and API fixes 2026-04-10 04:25:31 -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: integrate OUI lookup into passive radar AP detection 2026-04-09 06:35:44 -04:00
app.js feat: implement guided troubleshooting with proactive contextual help 2026-04-10 04:25:31 -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
briefing.js feat: implement morning briefing feature 2026-04-10 00:25:33 -04:00
command-palette.js feat: implement command palette with fuzzy matching and mode awareness 2026-04-09 23:11:07 -04:00
diurnal-chart.js feat: complete floor plan dashboard UI 2026-04-09 08:37:08 -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: implement guided troubleshooting with proactive contextual help 2026-04-10 04:25:31 -04:00
fleet.js feat: implement spatial quick actions with follow camera 2026-04-09 22:54:36 -04:00
floorplan-setup.js feat: wire anomaly detection & security mode API endpoints 2026-04-07 14:36:59 -04:00
fresnel.js feat: implement Fresnel zone debug overlay for 3D visualization 2026-04-09 17:17:43 -04:00
fresnel.test.js feat: implement Fresnel zone debug overlay for 3D visualization 2026-04-09 17:17:43 -04:00
guided-help.js feat: implement spatial quick actions with follow camera 2026-04-09 22:54:36 -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: complete pre-deployment simulator implementation 2026-04-09 21:30:47 -04:00
quick-actions.js feat: implement spatial quick actions with follow camera 2026-04-09 23:02:54 -04:00
replay.js feat: implement time-travel debugging and CSI replay 2026-04-09 19:27:42 -04:00
router.js feat: implement simple mode UI with WebSocket integration 2026-04-09 22:08:03 -04:00
security-panel.js feat: implement security mode dashboard UI 2026-04-07 10:22:00 -04:00
settings-panel.js feat: dashboard PIN change flow 2026-04-09 08:05:35 -04:00
simple.js feat: complete morning briefing feature with provider adapters and API fixes 2026-04-10 04:25:31 -04:00
simulate.js feat: complete pre-deployment simulator implementation 2026-04-09 21:30:47 -04:00
sleep.js feat: add self-improving localization REST API 2026-04-09 10:06:06 -04:00
state.js feat: build dashboard panel/modal/sidebar UI framework 2026-04-06 10:04:40 -04:00
timeline.js feat: add anomaly_detected and sleep_session_end to valid event types 2026-04-09 15:30:45 -04:00
tooltips.js feat: implement guided troubleshooting with proactive contextual help 2026-04-10 04:25:31 -04:00
troubleshoot.js feat: implement guided troubleshooting with proactive contextual help 2026-04-10 04:25:31 -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 spatial quick actions with follow camera 2026-04-09 23:02:54 -04:00
volume-editor.js feat: implement webhook action firing & fault tolerance for automations 2026-04-06 21:39:51 -04:00
websocket.js feat: robust WebSocket reconnection with backoff, extrapolation, and visual states 2026-04-07 12:34:35 -04:00