multica/server/pkg/db/queries
Naiyuan Qing bfe9498def feat(notifications): replace hardcoded inbox notifications with subscriber-driven model
Replace inbox_listeners.go with a subscriber-driven notification system:

- Add issue_subscriber table with auto-subscribe on create/assign/comment
- New subscriber_listeners.go: maintains subscriber data on domain events
- New notification_listeners.go: notifySubscribers (fanout to all subscribers
  minus actor) and notifyDirect (targeted, punches through unsubscribe)
- Subscriber API: list/subscribe/unsubscribe endpoints
- Frontend: subscribers section in issue detail sidebar with real-time sync
- Frontend: inbox notification grouping by (issue_id, type, actor_id)
- Remove createInboxForIssueCreator from task.go (unified through event bus)
- 21 new Go tests, all passing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 19:33:20 +08:00
..
activity.sql feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
agent.sql fix: address PR #149 review findings 2026-03-27 16:15:58 +08:00
comment.sql feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
inbox.sql feat: inbox actor tracking, issue detail extraction, UI polish 2026-03-26 12:36:12 +08:00
issue.sql refactor: remove acceptance_criteria and context_refs from issues 2026-03-26 19:24:34 +08:00
member.sql feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
personal_access_token.sql feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
runtime.sql feat(runtime): add local codex daemon pairing 2026-03-24 12:03:14 +08:00
runtime_usage.sql feat(runtimes): add Runtimes tab with usage tracking and connection test 2026-03-26 18:28:36 +08:00
skill.sql feat: structured skills system with meta skill runtime injection 2026-03-25 15:17:59 +08:00
subscriber.sql feat(notifications): replace hardcoded inbox notifications with subscriber-driven model 2026-03-28 19:33:20 +08:00
user.sql feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
verification_code.sql feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
workspace.sql feat(workspace): add repos JSONB field for GitHub repository URLs 2026-03-27 15:49:30 +08:00