feat(floating-ai): step 2 — create section registry + FloatingChatContext
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@ Steps MUST be implemented in order. Each step lists its prerequisites.
|
||||
| Step | Title | Status |
|
||||
|------|-------|--------|
|
||||
| 1 | Extract shared `useAIChat` hook | [x] 2026-02-27 |
|
||||
| 2 | Create section registry + `FloatingChatContext` | [ ] |
|
||||
| 2 | Create section registry + `FloatingChatContext` | [x] 2026-02-27 |
|
||||
| 3 | Create double-click hook | [ ] |
|
||||
| 4 | Build `FloatingChat` component | [ ] |
|
||||
| 5 | Add `ai:action` IPC side-channel | [ ] |
|
||||
@@ -142,7 +142,7 @@ Refactor `AIChatPanel.tsx` to consume `useAIChat` instead of managing chat state
|
||||
|
||||
## Step 2: Create Section Registry + `FloatingChatContext`
|
||||
|
||||
**Status**: [ ]
|
||||
**Status**: [x] 2026-02-27
|
||||
**Prerequisites**: Step 1 completed
|
||||
**Creates**: `src/renderer/context/FloatingChatContext.tsx`
|
||||
**Modifies**: `src/renderer/components/layout/AppShell.tsx`
|
||||
|
||||
Reference in New Issue
Block a user