Commit graph

2 commits

Author SHA1 Message Date
jedarden
d18709f130 feat: implement contextual help system with searchable overlay
- Added '?' button in expert mode header that opens help overlay
- Created dashboard/help_articles.json with 74 help articles covering:
  * Basics (sensing links, Fresnel zones, CSI technology, passive radar, etc.)
  * Setup (GDOP coverage, node placement, floor plan calibration, etc.)
  * Features (automations, fall detection, BLE identity, predictions, etc.)
  * Interface (command palette, simple mode, timeline, notifications, etc.)
  * Troubleshooting (detection quality, false positives, node offline, etc.)
  * Advanced (diurnal baseline, time-travel, explainability, etc.)
  * Integration (MQTT, Home Assistant, etc.)
  * Maintenance (re-baseline, OTA update, backup/restore, etc.)
- Help overlay includes fuzzy search (same as command palette)
- Category filter buttons for easy navigation
- Each article has title, 1-3 sentence explanation, and optional action link
- No server round-trip - all data loaded from static JSON
- Keyboard shortcut: Ctrl+? or Cmd+?
- Styled consistently with existing dashboard UI

Acceptance criteria met:
- Help overlay opens with '?' button
- Search finds relevant articles (test 'fresnel' -> Fresnel article appears)
- 74 articles covering major features (exceeds 30-50 requirement)
2026-04-11 00:44:54 -04:00
jedarden
c817e96802 feat: implement repeated-setting change detection with guided calibration
Detects when user changes same config setting 3+ times within 24 hours.
Shows non-intrusive prompt offering help with guided calibration flow.

Guided calibration features:
- Test for false positives (walk around room)
- Test for missed motion (sit still)
- Suggest optimal value based on diurnal baseline SNR and link health
- Apply suggested value button

Files:
- dashboard/js/proactive.js: Complete implementation with localStorage tracking

Acceptance:
- Help prompt fires after 3+ changes in 24h
- Calibration flow tests both directions
- Suggests value based on system data
- Apply button works
2026-04-11 00:18:19 -04:00