Skip to content

[Backend] — Granular Notification Preferences #1368

Description

@Olowodarey

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

  1. Add a preferences entity with per-category, per-channel toggles.
  2. Add endpoints to read and update preferences.
  3. Respect preferences in the notification generator before sending.
  4. 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions