multica/apps/web/app
Naiyuan Qing a2e5cbd47b refactor(issues): extract hooks from issue-detail, eliminate dual source of truth
- Remove useState<Issue> mirror anti-pattern — read directly from useIssueStore
- handleUpdateField now writes to global store (board/list sync instantly)
- handleDelete now calls removeIssue (deleted issue disappears from list)
- Extract useIssueTimeline hook (comment CRUD + WS events + reconnect)
- Extract useIssueReactions hook (issue reactions + WS events)
- Extract useIssueSubscribers hook (subscribers + WS events + rollback)
- Add useWSReconnect hook for per-component reconnect handling
- Add React.memo to BoardCardContent, DraggableBoardCard, ListRow
- Add key={id} to RichTextEditor to fix stale description on issue switch
- issue-detail.tsx: 1330 → 979 lines

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 13:09:17 +08:00
..
(auth)/login fix(test): update login tests to match email verification flow 2026-03-26 18:05:23 +08:00
(dashboard) refactor(issues): extract hooks from issue-detail, eliminate dual source of truth 2026-03-31 13:09:17 +08:00
favicon.ico Provision default workspaces and harden daemon pairing 2026-03-24 15:19:27 +08:00
pair/local feat: resizable sidebar, issue detail rewrite, package consolidation 2026-03-26 16:47:04 +08:00
custom.css feat(ui): UI/UX polish — layout, sidebar, button, theme improvements 2026-03-25 18:53:14 +08:00
globals.css feat(ui): restyle issue status and priority with colored badges 2026-03-31 03:26:43 +08:00
layout.tsx feat: inbox actor tracking, issue detail extraction, UI polish 2026-03-26 12:36:12 +08:00
page.tsx feat(ui): route persistence, sidebar active fix, header spacing 2026-03-26 10:57:32 +08:00