Skip to content

feat(notifications): Notification priority & grouping system (#122)#271

Closed
dagangtj wants to merge 0 commit intorohitdash08:mainfrom
dagangtj:feat/notification-priority-122
Closed

feat(notifications): Notification priority & grouping system (#122)#271
dagangtj wants to merge 0 commit intorohitdash08:mainfrom
dagangtj:feat/notification-priority-122

Conversation

@dagangtj
Copy link

Summary

Intelligent notification management with priority levels and smart grouping to reduce noise.

Closes #122

Changes

  • Notification service: packages/backend/app/services/notifications.py

    • 5 priority levels: critical, high, medium, low, info
    • 9 categories: bill_due, bill_overdue, budget_warning, large_expense, etc.
    • Auto-priority: category → priority mapping (e.g. bill_overdue → critical)
    • Smart grouping: bills, budget, spending batched together
    • Group priority escalation (highest individual = group priority)
    • Mark read (individual or bulk)
    • Per-user stats
  • API: packages/backend/app/routes/notification.py

    • GET /notifications/ — unread with optional grouping
    • POST /notifications/ — create notification
    • POST /notifications/read — mark as read
    • GET /notifications/stats — unread counts by priority
  • Tests: 20 test cases

Acceptance Criteria

  • Production ready implementation
  • Includes tests (20 cases)
  • Follows existing code patterns

@dagangtj dagangtj closed this Feb 28, 2026
@dagangtj dagangtj force-pushed the feat/notification-priority-122 branch from 86f076c to 080c371 Compare February 28, 2026 13:11
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.

Notification priority & grouping system

1 participant