mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
refactor: 优化 Dialog 2 工具列表 (问题 5)
- 移除多余的序号,简化视觉元素 - 统一选中状态颜色方案 (与 Dialog 1 一致使用 accent 色) - 保留工具功能说明 (annotations),提升可读性
This commit is contained in:
parent
2b1088682c
commit
4dfaa12e16
1 changed files with 2 additions and 3 deletions
|
|
@ -105,14 +105,13 @@ export const ToolListStep: React.FC<ToolListStepProps> = ({
|
|||
|
||||
return (
|
||||
<Box key={tool.name}>
|
||||
{/* 选择器和序号 */}
|
||||
<Box minWidth={4}>
|
||||
{/* 选择器 */}
|
||||
<Box minWidth={2}>
|
||||
<Text
|
||||
color={isSelected ? theme.text.accent : theme.text.primary}
|
||||
>
|
||||
{isSelected ? '❯' : ' '}
|
||||
</Text>
|
||||
<Text color={theme.text.secondary}>{actualIndex + 1}.</Text>
|
||||
</Box>
|
||||
{/* 工具名称 - 固定宽度 */}
|
||||
<Box width={toolNameWidth}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue