Commit graph

4 commits

Author SHA1 Message Date
yiliang114
ff43a278dc feat(webui): add webview container and isolate styles for VSCode integration
- Introduce WebviewContainer component for style isolation in VSCode webviews
- Rename CSS variables from --app-* to --qwen-app-* to prevent conflicts
- Add dedicated webview.css with isolated styles
- Update exports to include webview.css in package
- Modify all components to use new CSS variable names
- Update VSCode IDE companion to use new webview container
- Add style isolation to prevent conflicts with VSCode environment

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

Fixes webview UI issues in VSCode IDE Companion by providing proper style encapsulation.
2026-01-17 10:53:32 +08:00
yiliang114
9a47ad5e62 refactor(webui): migrate ReadToolCall, ShellToolCall and Onboarding to shared package
- Move ReadToolCall and ShellToolCall from vscode-ide-companion to webui
- Migrate Onboarding component with platform-agnostic props (iconUrl, appName, etc.)
- Add Storybook stories for ReadToolCall, ShellToolCall, and Onboarding
- Add shared styles: components.css (toolcall components), timeline.css
- Update vscode-ide-companion to use webui components via imports
- Remove duplicate InputForm type re-exports
- Add WEBUI_PLATFORM_ADAPTER_GUIDE_ZH.md for platform adapter documentation
- Update toolcalls/index.tsx to route read_many_files/list_directory/ls to ReadToolCall
2026-01-16 23:32:20 +08:00
yiliang114
593577864b feat(webui): migrate pure UI ToolCall components and add Storybook stories
- Migrate ThinkToolCall, GenericToolCall, EditToolCall, WriteToolCall,
  SearchToolCall, UpdatedPlanToolCall, CheckboxDisplay to webui
- Add Storybook stories for all migrated components
- Add stories for shared components (ToolCallContainer, ToolCallCard,
  StatusIndicator, CodeBlock, LocationsList, CopyButton)
- Fix Storybook theme by reordering CSS imports and adding body color
- Update vscode-ide-companion to import ToolCall components from webui
- Keep ReadToolCall and ShellToolCall in vscode-ide-companion (VSCode deps)
2026-01-16 13:45:56 +08:00
yiliang114
af76450dee feat(webui): Infrastructure Setup (Prerequisites) 2026-01-15 14:32:21 +08:00