multica/server/cmd/server
Naiyuan Qing e72f5f0801 feat(inbox): add priority/due_date notifications, structured details, and hover card
- Add missing notifications for priority_changed and due_date_changed events
- Publish priority_changed and due_date_changed flags from UpdateIssue handler
- Add details JSONB column to inbox_item (migration 019) for structured change data
- Store from/to values in details for status, priority, assignee, and due_date changes
- Notification titles now use plain issue title; details carry structured context
- Add human-readable label maps (statusLabels, priorityLabels) in notification listeners
- Update inbox handler responses to include details field
- Frontend: InboxDetailLabel renders rich subtitles per notification type
  - Status: "Set status to ● In Progress" with StatusIcon
  - Priority: "Set priority to ◆ High" with PriorityIcon
  - Assigned: "Assigned to Bob" with resolved actor name
  - Due date: "Set due date to Apr 20"
  - Comment: truncated comment body preview
- Frontend: HoverCard on inbox items shows issue title + description context
- Add due_date_changed to InboxItemType and typeLabels
- Add tests for priority_changed and due_date_changed notifications

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 00:22:17 +08:00
..
activity_listeners.go fix(activity): address code review feedback and improve timeline UX 2026-03-29 00:21:46 +08:00
activity_listeners_test.go feat(activity): unified activity timeline with comment reply support 2026-03-28 21:53:08 +08:00
integration_test.go feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
listeners.go feat(activity): unified activity timeline with comment reply support 2026-03-28 21:53:08 +08:00
main.go feat(activity): unified activity timeline with comment reply support 2026-03-28 21:53:08 +08:00
notification_listeners.go feat(inbox): add priority/due_date notifications, structured details, and hover card 2026-03-29 00:22:17 +08:00
notification_listeners_test.go feat(inbox): add priority/due_date notifications, structured details, and hover card 2026-03-29 00:22:17 +08:00
router.go feat(activity): unified activity timeline with comment reply support 2026-03-28 21:53:08 +08:00
subscriber_listeners.go feat(notifications): replace hardcoded inbox notifications with subscriber-driven model 2026-03-28 19:33:20 +08:00
subscriber_listeners_test.go feat(notifications): replace hardcoded inbox notifications with subscriber-driven model 2026-03-28 19:33:20 +08:00