Overview
Members currently receive all notification types on all channels with no way to opt out. A notification preferences page lets members control exactly which alerts they receive and via which channels, reducing unsubscribe rates and notification fatigue.
Context
frontend/app/settings/page.tsx — existing settings page (add a "Notifications" tab or section here)
- Depends on BE-58 for
GET /notifications/preferences and PATCH /notifications/preferences
- Push notification status connects with the PWA push opt-in (FE-40)
Tasks
Files to Modify / Create
frontend/app/settings/page.tsx
- New:
frontend/lib/react-query/hooks/notifications/useNotificationPreferences.ts
- New:
frontend/lib/react-query/hooks/notifications/useUpdateNotificationPreferences.ts
Overview
Members currently receive all notification types on all channels with no way to opt out. A notification preferences page lets members control exactly which alerts they receive and via which channels, reducing unsubscribe rates and notification fatigue.
Context
frontend/app/settings/page.tsx— existing settings page (add a "Notifications" tab or section here)GET /notifications/preferencesandPATCH /notifications/preferencesTasks
/settingspage (or a sub-route/settings/notifications)PATCH /notifications/preferenceswith changed values; show success toastuseNotificationPreferencesanduseUpdateNotificationPreferencesReact Query hooksFiles to Modify / Create
frontend/app/settings/page.tsxfrontend/lib/react-query/hooks/notifications/useNotificationPreferences.tsfrontend/lib/react-query/hooks/notifications/useUpdateNotificationPreferences.ts