feat(notifications): Notification priority & grouping system (#122)#273
Open
dagangtj wants to merge 1 commit intorohitdash08:mainfrom
Open
feat(notifications): Notification priority & grouping system (#122)#273dagangtj wants to merge 1 commit intorohitdash08:mainfrom
dagangtj wants to merge 1 commit intorohitdash08:mainfrom
Conversation
…sh08#122) - 5 priority levels: critical, high, medium, low, info - 6 notification groups: bills, expenses, budget, security, insights, system - Auto-priority from event type (14 event rules) - Group collapse when >5 notifications - Mark read/dismiss, user preferences - REST API: CRUD, grouped view, summary, mark-all-read - 22 test cases
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
Group and prioritize alerts for clarity, reducing notification fatigue.
Closes #122
Changes
Notification service:
packages/backend/app/services/notifications.pyAPI:
packages/backend/app/routes/notifications.pyGET /notifications/— list with filters (unread, group, priority)POST /notifications/— create notificationGET /notifications/grouped— grouped view with collapseGET /notifications/summary— unread countsPOST /notifications/<id>/read— mark readPOST /notifications/read-all— mark all readTests: 22 test cases
Acceptance Criteria