coach
coach copied to clipboard
Native PWA Notifications and Smart Physiological Alerts
💡 Summary
Implement native system notifications for the Coach Watts PWA, leveraging Service Workers and the Web Push API, along with "smart alerts" for critical physiological data.
🤷 Motivation / Use Case
In-app only notifications are often missed. Native notifications allow Coach Watts to act as a proactive "central hub" for fitness, alerting users to overtraining risks or significant biomarker deviations even when the app is closed.
📋 Detailed Requirements
- [ ] Web Push Integration: Implement native system notifications for desktop and mobile PWAs.
- [ ] Notification Badging: App icon badge counts for unread alerts.
- [ ] Custom Preferences: Granular control over which events trigger native vs. in-app notifications.
- [ ] Critical Overload Alerts: Push notifications for high overtraining risk (ATL/TSB thresholds).
- [ ] Biomarker Deviation Alerts: Proactive alerts for significant drops in HRV, Sleep Score, or increases in RHR.
✅ Acceptance Criteria
- Users receive system-level notifications when the app is not active.
- Notification settings allow users to filter alerts by type.
- Critical health/training alerts are delivered promptly via native push.