No description
The proactive quality prompt system for link degradation warnings is already fully implemented:
- dashboard/js/proactive.js: monitorLinkQuality() tracks links with quality < 0.6
- 5-minute sustained drop threshold (DURATION_MS = 5 * 60 * 1000)
- Non-blocking dismissible prompt card with 'Diagnose' and 'Dismiss for today' buttons
- Pulsing amber highlight (0xff9800) on 3D link lines via startLinkPulsing()
- diagnoseLink() fetches from /api/diagnostics/link/{linkID}
- Dismissed prompts tracked in localStorage, cleared on recovery
- mothership/internal/diagnostics/linkweather.go: GetDiagnosticFor() method
- Returns Diagnosis with Title, Detail, Advice, Severity, ConfidenceScore
- Root cause analysis for environmental changes, WiFi congestion, metal interference, Fresnel blockage, periodic interference
- mothership/cmd/mothership/main.go: API endpoint /api/diagnostics/link/{linkID}
- Handles optional timestamp parameter
- Returns diagnosis with repositioning suggestions if applicable
All acceptance criteria met:
- Prompt appears within 5 minutes of sustained drop ✓
- No prompt for transient drops (< 5 min) ✓
- Diagnose button shows root cause ✓
- Dismissed prompts don't re-appear unless condition reoccurs after recovery ✓
- Pulsing amber highlight on 3D link line ✓
|
||
|---|---|---|
| .beads | ||
| .github/workflows | ||
| .marathon | ||
| dashboard | ||
| docs | ||
| firmware | ||
| mothership | ||
| tests/e2e | ||
| .dockerignore | ||
| .gitignore | ||
| .needle-predispatch-sha | ||
| .needle.yaml | ||
| API_IMPLEMENTATION_STATUS.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| fix_ble_handlers.py | ||
| PROGRESS.md | ||
| VERSION | ||