feat(#42): Implement persistent Jarvis chat overlay #307

Merged
jason.woltje merged 2 commits from work/m4-llm into develop 2026-02-04 02:29:05 +00:00
Owner

Implements #42

Adds persistent chat overlay with keyboard shortcuts and state management.

All tests passing (490 tests, 50 test files)

🤖 Generated with Claude Code

Implements #42 Adds persistent chat overlay with keyboard shortcuts and state management. All tests passing (490 tests, 50 test files) 🤖 Generated with Claude Code
jason.woltje added 1 commit 2026-02-04 02:25:36 +00:00
feat(#42): Implement persistent Jarvis chat overlay
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
0669c7cb77
Add a persistent chat overlay accessible from any authenticated view.
The overlay wraps the existing Chat component and adds state management,
keyboard shortcuts, and responsive design.

Features:
- Three states: Closed (floating button), Open (full panel), Minimized (header)
- Keyboard shortcuts:
  - Cmd/Ctrl + K: Open chat (when closed)
  - Escape: Minimize chat (when open)
  - Cmd/Ctrl + Shift + J: Toggle chat panel
- State persistence via localStorage
- Responsive design (full-width mobile, sidebar desktop)
- PDA-friendly design with calm colors
- 32 comprehensive tests (14 hook tests + 18 component tests)

Files added:
- apps/web/src/hooks/useChatOverlay.ts
- apps/web/src/hooks/useChatOverlay.test.ts
- apps/web/src/components/chat/ChatOverlay.tsx
- apps/web/src/components/chat/ChatOverlay.test.tsx

Files modified:
- apps/web/src/components/chat/index.ts (added export)
- apps/web/src/app/(authenticated)/layout.tsx (integrated overlay)

All tests passing (490 tests, 50 test files)
All lint checks passing
Build succeeds

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
jason.woltje added 1 commit 2026-02-04 02:28:52 +00:00
Merge branch 'develop' into work/m4-llm
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
b7f4749ffb
jason.woltje merged commit 001a44532d into develop 2026-02-04 02:29:05 +00:00
Sign in to join this conversation.