feat: inbox actor tracking, issue detail extraction, UI polish

- Add actor_type/actor_id to inbox items for proper attribution
- Extract issue detail into features/issues/components/issue-detail.tsx
- Inbox page and store updates for actor-based notifications
- Sidebar, layout, and actor-avatar refinements

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Naiyuan Qing 2026-03-26 12:36:12 +08:00
parent 586a4916d1
commit bc39abc6ed
17 changed files with 203 additions and 85 deletions

View file

@ -128,6 +128,8 @@ type InboxItem struct {
Read bool `json:"read"`
Archived bool `json:"archived"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
ActorType pgtype.Text `json:"actor_type"`
ActorID pgtype.UUID `json:"actor_id"`
}
type Issue struct {