Description
Users likely receive all notifications or none. Add granular notification preferences that let each user choose which events trigger notifications (task assigned, comment mentioned, sprint deadline) and via which channel (in-app, email).
Motivation
Notification overload causes users to ignore all notifications. Granular preferences ensure users see what matters to them and nothing else.
Implementation
- Add a
notification_preferences table in Supabase: user_id, event_type, channel, enabled.
- Build a Notification Settings page with toggle switches for each event/channel combination.
- Update the notification dispatch logic to check preferences before sending.
- Default all preferences to "enabled" for new users.
Level: Advanced | Affected Files: src/, supabase/
Description
Users likely receive all notifications or none. Add granular notification preferences that let each user choose which events trigger notifications (task assigned, comment mentioned, sprint deadline) and via which channel (in-app, email).
Motivation
Notification overload causes users to ignore all notifications. Granular preferences ensure users see what matters to them and nothing else.
Implementation
notification_preferencestable in Supabase:user_id,event_type,channel,enabled.Level: Advanced | Affected Files:
src/,supabase/