feat(web-shell): ui优化#4759
Conversation
📋 Review SummaryThis PR introduces UI polish for the embedded web-shell, including a new customization API for tool headers and Markdown rendering, conversion of approval-mode from dialog to inline panel, and various UX improvements to session management dialogs. The changes are well-structured with good TypeScript typing and consistent patterns. 🔍 General Feedback
🎯 Specific Feedback🟡 High
🟢 Medium
🔵 Low
✅ Highlights
|
wenshao
left a comment
There was a problem hiding this comment.
[Suggestion] 旧的 ApprovalModeDialog.tsx 已成为死代码——PR 将其替换为内联的 ApprovalModeMessage,但旧文件未删除,整个 codebase 中无任何文件 import 它。旧的 i18n key(mode.plan.desc、mode.default.desc 等 10 个 EN+ZH 条目)也不再被使用,与新增的 mode.desc.* key 容易混淆。建议一并清理。
— qwen3.7-max via Qwen Code /review
Local Verification Report — PR #4759Tested on: macOS Darwin 25.4.0 (Apple Silicon) Test Results Summary
Pre-Existing Issues (NOT introduced by this PR)All failures below were verified to exist on the base branch (
PR-Specific Verification
ConclusionPR is merge-ready. The lib build (which is the distributable output), ESLint, Prettier, and 92 unit tests all pass. The 3 failing items are pre-existing on the base branch and unrelated to this PR's changes. Verified locally by wenshao |
Summary
Test Plan