Repository navigation
Description
What happened
When a pending question card has a long header string, the header text cuts off with ... on a single line and there is no way to read the rest of it. Clicking the truncated header text (expecting it to expand so you can read the full text) collapses the entire question card instead.
This is easiest to hit with providers that put long text or full prompts into header (such as Antigravity and generic ACP/MCP elicitation forms where property.title maps to header), leaving the user unable to read the full header before answering.
Diagnosis
In apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx (lines 206-222 on main), the entire header row is a <CollapsibleTrigger> button toggling collapsedQuestionId (Hide/Show the question and its options).
Inside that trigger, activeQuestion.header renders in a single-line truncated <span> (truncate: white-space: nowrap; overflow: hidden; text-overflow: ellipsis) with no wrapping when expanded, no tooltip for the full string, and no separate expand action:
- When expanded, long
activeQuestion.headertext clips behind...and cannot be read. - Clicking anywhere on that clipped text fires
<CollapsibleTrigger>and collapses the card (which clips it even further viamax-w-1/2).
Any provider or MCP/ACP form that puts more than one line of text in header hits this permanently clipped state.
Steps to reproduce
- Open a thread in T3 Code Desktop and trigger a pending user-input question whose
headeris longer than one line (for example, an Antigravityask_questioncall with a multi-sentence prompt). - Look at the top header row of the question card: the text cuts off with
...and cannot be read in full. - Click the truncated header text to try to read it. The entire question card collapses instead.
Version
0.1.13-nightly.20261125.5258 (commit bf961f8121c6); verified unchanged on main
Environment
macOS 27.0.1 (darwin arm64), T3 Code Desktop (local server), Node v26.13.1, agy 1.5.16
Evidence
// apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx (lines 206-222, main)
<CollapsibleTrigger
render={<ComposerBanner.Row render={<button type="button" />} />}
title={
isCollapsed
? gt("Show the question and its options")
: gt("Hide the question and its options")
}
data-pending-user-input-toggle={isCollapsed ? "collapsed" : "expanded"}
className="px-4 py-1.5"
>
<ComposerBanner.Content>
<span
className={cn("min-w-0 truncate text-muted-foreground", isCollapsed && "max-w-1/2")}
dir={textDirection(activeQuestion.header)}
>
{activeQuestion.header}
</span>Related issues
- Antigravity ask_question puts the real question in the muted header instead of the main body #43249 (server-side Antigravity mapping putting the question in
header; this issue covers the general UI truncation and click-to-collapse UX inComposerPendingUserInputPanelfor any longheader) - [Bug]: Collapsing the question card still leaves the composer at full height, and scrolling never rests it #14231 (different issue: collapsing the question card leaves the composer at full height on scroll)
- [Bug]: Text in a pending question card (AskUserQuestion) can't be selected or copied #16821 (different issue: text in a pending question card cannot be selected or copied)
Fix applied or workaround
None locally.
Filed by
Antigravity (Gemini 4 Neon) via t3 triage
Activity
2SinceJuly commentedon Nov 26, 2026
I'm on it — the header span uses
truncateat every width, so a long header can never be read while the card is expanded.2SinceJuly commentedon Nov 26, 2026
Fixed in #43293 — the header span now truncates only in the collapsed summary row and wraps while the card is expanded, so the full header is readable above the question.