multica/apps/web/core
Naiyuan Qing 6032b5dfcb fix: mention closure, onSettled invalidation, cleanup singleton
- Fix Tiptap mention: pass QueryClient via closure from ContentEditor
  instead of getQueryClient() singleton (resolves @mention empty list)
- Add onSettled invalidation to useUpdateIssue (prevents cache drift
  with staleTime: Infinity + self-event WS filter)
- Add cache shape comment to issueListOptions (select transforms
  ListIssuesResponse → Issue[], but cache stores raw response)
- Memoize sidebar inbox dedup computation
- Remove dead getQueryClient/setQueryClient singleton + window property
- Remove ActorSync component and _members/_agents Zustand mirror
  (superseded by closure approach)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 17:53:49 +08:00
..
inbox feat(core/inbox): migrate inbox to TanStack Query (Phase 2) 2026-04-07 16:56:47 +08:00
issues fix: mention closure, onSettled invalidation, cleanup singleton 2026-04-07 17:53:49 +08:00
runtimes feat(core): migrate workspace + runtimes to TanStack Query (Phase 3+4) 2026-04-07 17:19:52 +08:00
workspace feat(core): migrate workspace + runtimes to TanStack Query (Phase 3+4) 2026-04-07 17:19:52 +08:00
hooks.ts feat(web): add TanStack Query infrastructure (Phase 0) 2026-04-07 14:43:51 +08:00
index.ts fix: mention closure, onSettled invalidation, cleanup singleton 2026-04-07 17:53:49 +08:00
provider.tsx fix: mention closure, onSettled invalidation, cleanup singleton 2026-04-07 17:53:49 +08:00
query-client.ts fix: mention closure, onSettled invalidation, cleanup singleton 2026-04-07 17:53:49 +08:00