-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Control UI: tool-call rendering is visually heavy (triple-nested boxes, gradients, drop shadows) #99760
Copy link
Copy link
Closed
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestNew feature or requestimpact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Description
Metadata
Metadata
Assignees
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestNew feature or requestimpact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Summary
Tool calls in the Control UI chat render as heavily decorated nested cards (activity card, per-tool bubble, gradient summary pill with drop shadow). Dense agent sessions become hard to scan; a single 8-tool activity group fills an entire screen.
Problem to solve
Each collapsed tool row currently stacks three visual containers:
Activity: N toolsgroup card (border + card background),chat-bubblebox per tool message (background, border, andpadding: 10px 14px), and0 8px 22pxdrop shadow.The bubble box in layer 2 is a CSS ordering bug:
ui/src/styles/components.cssstarts with@import "./chat.css", so its legacy.chat-bubblerules load afterchat/grouped.cssand override the.chat-bubble--tool-shellresets (padding: 0; border: 0; background: transparent). Long tool summaries also wrap across multiple lines, making rows uneven.Proposed solution
Flatten tool-call rendering into simple rows: chevron + tool icon + label + mono detail, one line with ellipsis, no border/gradient/shadow. Keep the
Activity: N toolsheader as a flat clickable row with a thin left rule grouping its rows. Expanded tool detail keeps soft tinted input/output blocks without extra card chrome. Error states stay explicit (red icon/label +Errorbadge). Remove the duplicated legacy chat-bubble/tool-card CSS incomponents.cssthat fights the canonicalchat/*styles.Alternatives considered
Keeping the card look but removing only shadows — still leaves triple-nested boxes and the underlying CSS ordering bug; rows stay tall and noisy.
Impact
Every Control UI chat session with tool calls (most agent sessions) becomes significantly denser and easier to scan; an 8-tool activity group shrinks from roughly a full viewport to a few compact rows.
Evidence/examples
Before/after screenshots attached in the linked PR.
Additional information
Applies to both light and dark themes.