Commit Graph

12 Commits

Author SHA1 Message Date
Ken 8e69ac185e fix: address code review findings from Phase 2 final review
- ChatPanel: add 'chat-message ${role}' CSS classes to message wrappers
  so .chat-message.user and .chat-message.assistant rules apply correctly
- LoginPage: rename className 'login-error' -> 'error' to match the
  .login-card .error selector in globals.css
- MCPAppRenderer: verify event.source matches iframe contentWindow before
  processing postMessage to close cross-window injection vector
- App: remove redundant await refresh() after createNew() since
  createNew() already calls refresh() internally
- useArtifacts: wrap listArtifacts call in try/catch with console.error,
  matching the error-handling pattern already used in useSessions
2026-05-26 19:46:38 +00:00
Ken 9d118d60ce feat: wire MCPAppRenderer into ChatPanel for MCP App tool results 2026-05-26 19:39:34 +00:00
Ken 12d1df417f feat: MCPAppRenderer for inline MCP App iframes with JSON-RPC postMessage bridge 2026-05-26 19:36:28 +00:00
Ken 3723c5bf93 feat: App shell with login, session sidebar, chat panel, right panel
- Create RightPanel component with browser/artifacts tab switching
- Replace App.tsx with 3-column layout (auth loading/login/app states)
- Replace main.tsx with globals.css import (remove index.css)
- Remove Vite template files (App.css, index.css, assets/react.svg)
- Fix LoginPage.tsx FormEvent type-only import for verbatimModuleSyntax
- Fix vite.config.ts to use vitest/config for proper test property typing
- Add tests: RightPanel (10 tests), App rendering states (7 tests)
2026-05-26 19:34:07 +00:00
Ken 3b01753336 feat: chat panel with SSE streaming and tool call cards 2026-05-26 19:28:12 +00:00
Ken c24fd11f03 feat: session sidebar component with create, select, logout 2026-05-26 19:20:37 +00:00
Ken 77fe2bafd4 feat: login page component 2026-05-26 19:17:16 +00:00
Ken c24fd035eb feat: API client and hooks for auth, sessions, chat SSE, artifacts 2026-05-26 19:13:46 +00:00
Ken 5069676914 feat: global styles with Tabler dark theme, 3-column layout 2026-05-26 19:08:49 +00:00
Ken e1e001c7e0 feat: TypeScript types for sessions, artifacts, A2UI, tool calls, auth 2026-05-26 19:06:01 +00:00
Ken 64b18613e1 feat: scaffold Vite + React + TypeScript frontend 2026-05-26 19:03:56 +00:00
Ken 04ae443207 chore: remove old car-help files, prepare new structure 2026-05-26 18:16:07 +00:00