Skip to content

feat(notifications): add unread count and bulk notification endpoints#996

Open
sakeena-7878 wants to merge 1 commit into
SdSarthak:mainfrom
sakeena-7878:feature/notification-management
Open

feat(notifications): add unread count and bulk notification endpoints#996
sakeena-7878 wants to merge 1 commit into
SdSarthak:mainfrom
sakeena-7878:feature/notification-management

Conversation

@sakeena-7878

@sakeena-7878 sakeena-7878 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #997

This PR extends the Notifications API by adding bulk notification management endpoints and unread notification count support. It also adds corresponding backend tests to verify the new functionality and updates the changelog.

Type of Change

  • Bug fix

  • New feature

  • Documentation update

  • Refactor

  • Tests

  • Infra / CI

Checklist

  • I have read CONTRIBUTING.md

  • My code follows the project style (PEP 8 for Python, ESLint for TS)

  • I have added/updated tests where relevant

  • pytest backend/tests/ passes locally

  • I have not committed .env or any secrets

  • I have updated documentation if needed

Changes

  • Add GET /api/v1/notifications/unread-count

  • Add POST /api/v1/notifications/read-all

  • Add DELETE /api/v1/notifications/read

  • Add tests for notification management endpoints

  • Update CHANGELOG.md

Screenshots (if UI change)

N/A (Backend API changes only)

- Add GET /notifications/unread-count
- Add POST /notifications/read-all
- Add DELETE /notifications/read
- Add tests for notification management endpoints
- Update changelog
@sakeena-7878

Copy link
Copy Markdown
Contributor Author

The changes in this PR (notifications API + tests) are passing as expected.

The failing CI checks appear to be unrelated to this PR:
Backend test failures are occurring in modules outside of notifications (notification tests are passing locally and in CI)
Frontend lint errors are present in existing files that are not modified in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add bulk notification management endpoints and unread count API

1 participant