Skip to content

Feat/team notifications#142

Merged
tkahng merged 8 commits intodevelopfrom
feat/team-notifications
Apr 27, 2026
Merged

Feat/team notifications#142
tkahng merged 8 commits intodevelopfrom
feat/team-notifications

Conversation

@tkahng
Copy link
Copy Markdown
Owner

@tkahng tkahng commented Apr 27, 2026

No description provided.

tkahng and others added 8 commits April 21, 2026 07:58
  Scheduled 24h after due date; skips if task is already done or
  not yet past due at fire time. Unique key upserts on due-date
  changes so rescheduling works automatically.
- GET  /team-members/:id/notifications/unread-count
- POST /team-members/:id/notifications/read-all
- Unread filter via _isnull on read_at for CountNotification reuse
- Bulk update hits DB directly instead of N individual upserts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e transitions

Fire task_status_changed job when a task moves between non-done statuses
(todo↔in_progress, etc.) in both PUT /tasks/:id and position-status handlers.
Done transitions remain task_completed only.

Notifies assignee, reporter, and creator via DB + SSE.
Fires when a project's status changes to a non-same value via PUT
/task-projects/{id}. Notifies assignee, reporter, and creator.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a unique key scoped to taskID+assigneeID so rapid re-assignment
of the same member does not enqueue duplicate notifications.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…r bug

- Add collectMemberIDs + sendToMembers helpers to DbNotifier, collapsing
  ~400 lines of repeated fan-out boilerplate across all Notify* methods
- Remove dead NewTeamMemberWorker (never registered, superseded by
  workers.NewNewMemberNotificationWorker)
- Remove unused type-alias worker types from workers/ package
- Fix NotificationStoreDecorator.InsertManyNotifications checking
  CreateFunc instead of CreateManyFunc (latent panic)
- notifier_team.go: 728 → 433 lines

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tkahng tkahng merged commit 2a6cdc0 into develop Apr 27, 2026
6 checks passed
@tkahng tkahng deleted the feat/team-notifications branch April 27, 2026 17:00
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.

1 participant