Labels: backend, enhancement, notifications
Problem
Users can only broadly enable/disable notifications, not choose per-category channels, leading to notification fatigue and opt-outs.
Requirements
- Add a preferences entity with per-category, per-channel toggles.
- Add endpoints to read and update preferences.
- Respect preferences in the notification generator before sending.
- Default new categories to a sensible opt-in/opt-out.
Acceptance Criteria
- Users can set per-category, per-channel preferences.
- Suppressed categories are not delivered.
- New users get documented defaults.
- Tests cover preference read/update and suppression.
Files
backend/src/notifications/notifications.service.ts, backend/src/notifications/notification-generator.service.ts, backend/src/notifications/entities, backend/src/notifications/notifications.controller.ts
Labels: backend, enhancement, notifications
Problem
Users can only broadly enable/disable notifications, not choose per-category channels, leading to notification fatigue and opt-outs.
Requirements
Acceptance Criteria
Files
backend/src/notifications/notifications.service.ts,backend/src/notifications/notification-generator.service.ts,backend/src/notifications/entities,backend/src/notifications/notifications.controller.ts