feat(web): 优化聚合 tool use 展示与聊天背景设置#619
Merged
Merged
Conversation
There was a problem hiding this comment.
Findings
未发现需要阻塞合并的问题。
Summary
Review mode: initial
已完整检查本次 web diff(聚合 tool use 摘要、聊天背景色设置、i18n、CSS 变量与相关测试)。残余风险主要在命令归类仍是启发式逻辑,少数复杂命令可能落到较泛化的展示文案;未发现会导致数据丢失、安全问题或明显回归的改动。
Testing
cd web && bun run test -- src/components/ToolCard/groupedPresentation.test.ts src/hooks/useChatSurfaceColors.test.ts src/components/ToolCard/ToolGroupCard.test.tsx src/routes/settings/index.test.tsx(28 passed)cd web && bun run typecheck
HAPI Bot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更概述
原因
影响范围
web/src/components/ToolCard/ToolGroupCard.tsxweb/src/components/ToolCard/groupedPresentation.tsweb/src/hooks/useChatSurfaceColors.tsweb/src/routes/settings/index.tsxweb/src/components/AssistantChat/messages/user-bubble.tsxdocs/superpowers/specs/*docs/superpowers/plans/*验证结果
cd web && bun run test -- src/components/ToolCard/groupedPresentation.test.ts src/hooks/useChatSurfaceColors.test.ts src/components/ToolCard/ToolGroupCard.test.tsx src/routes/settings/index.test.tsxcd web && bun run typecheckcd web && bun run buildbun run test(当前仓库存在 CLI 侧历史失败,本 PR 未处理)风险 / 回滚
Reviewer Notes
groupedPresentation.ts的命令归类和文案优先级是否符合预期useChatSurfaceColors.ts的持久化与主题切换时变量刷新逻辑