From 6c6fcd96c2f919b2a68c624d6319f399b6965818 Mon Sep 17 00:00:00 2001 From: ciregenz Date: Thu, 30 Jul 2026 17:18:43 -0700 Subject: [PATCH] [eric] cards: collapse a draft chat to the glass pill like every other card, not the full white card --- frontend/src/app/pages/Dashboard/cards/AgentCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx b/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx index c1edd867..79a21b63 100644 --- a/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx +++ b/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx @@ -712,7 +712,8 @@ const AgentCard: React.FC = ({ () => (session.status === 'running' ? extractPendingAskUi(session.messages || []) : null), [session.messages, session.status], ); - const pillMode = !expanded && !hasPending && !isDraft && !tileZone; + // Drafts collapse to the pill like everything else; only a pending approval keeps the full card, since you have to see what you are approving. + const pillMode = !expanded && !hasPending && !tileZone; // Glass bubble + fullscreen scrim are both dark in either theme, so the title goes light on them. const titleColor = expanded ? GLASS_SURFACE_TEXT : c.text.primary; // The answer a finished turn actually spoke, for pills with no widget/plan to show. Only the last assistant say, never a tool line.