feat: implement backend notification system for comment mentions#69
Open
Arcadi4 wants to merge 10 commits into
Open
feat: implement backend notification system for comment mentions#69Arcadi4 wants to merge 10 commits into
Arcadi4 wants to merge 10 commits into
Conversation
Create notifications Django app with AppConfig, register in INSTALLED_APPS (base and test settings), and wire URL routing to v1/notifications/.
Add notifications to backend-lint.yml ruff check list, update app registry in README.md and AGENTS.md lint command examples.
813872c to
52ff6e1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements backend-only in-app notification MVP for issue #61, focused on comment mention notifications.
What Changed
New notifications app (
apps/backend/notifications/):/v1/notifications/with list, retrieve, unread_count, mark_read, mark_all_readComment mention integration (
apps/backend/comments/services.py):Registration updates:
API Endpoints
GET /v1/notifications/- List user's notifications (filterable by is_read, notification_type)GET /v1/notifications/{id}/- Retrieve single notificationGET /v1/notifications/unread_count/- Get unread countPOST /v1/notifications/{id}/mark_read/- Mark one as readPOST /v1/notifications/mark_all_read/- Mark all as readAll endpoints require authentication and are scoped to request.user.
Closes #61