Antigravity
91b1201112
refactor: split NoteEditor into focused components + consolidate contexts
Phase 1: NoteEditor Split (64KB → 9 focused components)
- components/note-editor/: types.ts, context, toolbar, title-block,
content-area, metadata-section, full-page, dialog compositions
- Maintains backwards compatibility via re-export from note-editor.tsx
Phase 2: Context Consolidation (5 → 3 contexts)
- NotebooksContext absorbs LabelContext (labels CRUD)
- EditorUIContext merges HomeViewContext + NotebookDragContext
- Removed: LabelContext, home-view-context, notebook-drag-context
Phase 3: React Query Infrastructure
- Added QueryProvider with @tanstack/react-query
- lib/query-keys.ts: centralized query key definitions
- lib/query-hooks.ts: useNotes, useNotebooksQuery, useLabelsQuery
- lib/use-refresh.ts: hybrid invalidateQueries + triggerRefresh helper
- NotebooksContext: invalidateQueries on mutations (with triggerRefresh fallback)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 14:31:08 +00:00
..
2026-05-07 22:29:02 +00:00
2026-05-03 12:51:25 +00:00
2026-04-28 22:18:46 +02:00
2026-05-05 21:52:30 +00:00
2026-05-03 12:51:25 +00:00
2026-05-08 14:31:08 +00:00
2026-05-03 12:51:25 +00:00
2026-05-07 22:29:02 +00:00
2026-04-26 21:14:45 +02:00
2026-04-20 22:48:06 +02:00
2026-05-03 12:51:25 +00:00
2026-04-20 22:48:06 +02:00
2026-04-25 20:46:10 +02:00
2026-04-20 22:48:06 +02:00
2026-05-07 22:29:02 +00:00
2026-05-07 22:29:02 +00:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-05-07 23:39:19 +00:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-26 21:14:45 +02:00
2026-04-20 22:48:06 +02:00
2026-05-03 18:41:38 +00:00
2026-05-07 22:29:02 +00:00
2026-04-20 22:48:06 +02:00
2026-04-21 22:22:02 +02:00
2026-05-08 14:31:08 +00:00
2026-05-08 14:31:08 +00:00
2026-05-08 14:31:08 +00:00
2026-05-08 14:31:08 +00:00
2026-05-08 14:31:08 +00:00
2026-05-08 14:31:08 +00:00
2026-05-08 14:31:08 +00:00
2026-05-08 14:31:08 +00:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-05-07 22:29:02 +00:00
2026-04-20 22:48:06 +02:00
2026-05-08 14:31:08 +00:00
2026-04-20 22:48:06 +02:00
2026-05-01 01:11:03 +02:00
2026-05-08 14:31:08 +00:00
2026-04-20 22:48:06 +02:00
2026-05-07 22:59:26 +00:00
2026-05-07 23:52:21 +00:00
2026-05-03 18:41:38 +00:00
2026-05-03 18:41:38 +00:00
2026-05-08 14:31:08 +00:00
2026-05-08 14:31:08 +00:00
2026-05-01 01:11:03 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00
2026-05-08 14:31:08 +00:00
2026-05-07 23:33:20 +00:00
2026-05-07 22:29:02 +00:00
2026-05-07 22:29:02 +00:00
2026-05-07 22:29:02 +00:00
2026-05-07 22:29:02 +00:00
2026-05-07 22:29:02 +00:00
2026-05-05 20:55:15 +00:00
2026-04-20 22:48:06 +02:00
2026-05-08 14:31:08 +00:00
2026-05-08 14:31:08 +00:00
2026-04-20 22:48:06 +02:00
2026-04-26 19:59:38 +02:00
2026-04-20 22:48:06 +02:00
2026-04-30 20:43:02 +02:00
2026-05-07 22:29:02 +00:00
2026-04-20 22:48:06 +02:00
2026-05-07 22:43:09 +00:00
2026-05-07 22:29:02 +00:00
2026-05-07 22:29:02 +00:00
2026-04-20 22:48:06 +02:00
2026-04-20 22:48:06 +02:00