Labels: backend, enhancement, notifications
Problem
Users must mark notifications read one at a time; there is no bulk or mark-all operation, causing many round-trips.
Requirements
- Add endpoints to mark a list of notifications, or all, as read/unread.
- Scope operations to the authenticated user.
- Return the updated unread count.
- Make the operation idempotent.
Acceptance Criteria
- Bulk and mark-all update only the caller's notifications.
- The response includes the updated unread count.
- Repeating the operation is idempotent.
- Tests cover bulk, mark-all, and scoping.
Files
backend/src/notifications/notifications.service.ts, backend/src/notifications/notifications.controller.ts, backend/src/notifications/dto
Labels: backend, enhancement, notifications
Problem
Users must mark notifications read one at a time; there is no bulk or mark-all operation, causing many round-trips.
Requirements
Acceptance Criteria
Files
backend/src/notifications/notifications.service.ts,backend/src/notifications/notifications.controller.ts,backend/src/notifications/dto