DeepSeek-Reasonix icon indicating copy to clipboard operation
DeepSeek-Reasonix copied to clipboard

feat(ui): improve sub-agent tool card rendering with badges and icons

Open eghrhegpe opened this issue 5 months ago • 1 comments

Changes

Improve sub-agent tool card visual rendering:

  1. ⊞3 → numbered badge — rounded colored badge
  2. Emoji prefix for sub-agent names — ⚡task, 🔍explore, 🔁parallel_tasks
  3. Colored left border for sub-agent cards — border-left: 3px solid var(--accent)
  4. Nesting connector line — 2px vertical line on the left of nested areas
  5. parallel_tasks added to SUBAGENT_TOOLS — enables sub-agent visual style

Cache-impact: none — pure frontend UI change

eghrhegpe avatar Jun 21 '26 05:06 eghrhegpe

Fixes #4969 — 子编程体工具卡片渲染改进:

  • ⊞神秘符号 → 彩色数字徽章
  • 并列任务显示为嵌套卡片
  • 子 agent 卡片加彩色左边框,与普通工具调用区分
  • 嵌套层级用左侧连接线可视化

eghrhegpe avatar Jun 21 '26 05:06 eghrhegpe

Thanks for the proposal. I am closing this PR for now because we are not taking this larger sub-agent-card direction as-is.

A narrower creation-theme tool-card cleanup has already landed in #5065, but this PR also changes the sub-agent visual language with emoji prefixes, a new badge shape, and global nested-line styling, while the larger parallel_tasks rendering contract from #4969 is still not fully addressed.

If we revisit sub-agent hierarchy rendering, it should be split into a smaller PR against the current main-v2 with updated requirements and without mixing unrelated tool-card restyling.

SivanCola avatar Jun 22 '26 16:06 SivanCola