tududi/backend/modules
Chris 105a913a8d
Fix notification deduplication to prevent pile-up in navbar (#945)
* Fix notification deduplication to prevent pile-up in navbar (#944)

When tasks/projects remained pending for multiple days, duplicate
notifications accumulated in the navbar instead of showing only the
most recent one.

Updated notification services to properly handle existing notifications:
- Delete unread notifications before creating new ones
- Respect dismissed notifications (don't recreate)
- Respect read notifications (don't duplicate)

Changes:
- Updated dueTaskService, deferredTaskService, and dueProjectService
- Added comprehensive unit tests with 8 test cases

Fixes #944

* Fix lint errors and add GitHub bug template reminder to docs
2026-03-14 19:45:24 +02:00
..
admin Fix admin password update silently failing due to Sequelize VIRTUAL field (#893) 2026-03-03 15:44:41 +02:00
areas Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
auth Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
backup Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
feature-flags Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
habits Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
inbox Add URL detection to inbox processing service (#942) 2026-03-14 08:43:41 +02:00
notes Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
notifications Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
projects Fix notification deduplication to prevent pile-up in navbar (#945) 2026-03-14 19:45:24 +02:00
quotes Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
search Show original task names for recurring tasks in search results (#914) (#915) 2026-03-06 08:57:10 +02:00
shares Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
tags Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
tasks Fix notification deduplication to prevent pile-up in navbar (#945) 2026-03-14 19:45:24 +02:00
telegram Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
url Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
users Fix isEmail validation failure on valid emails during Docker setup (#835) 2026-02-11 15:42:11 +02:00
views Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00