[Feature]: Collapsible composer so the thread is readable while a question or approval is pending #6849
AaronAbuUsama
started this conversation in
Ideas
Replies: 3 comments
|
bad comment pls ignore |
0 replies
|
I think this comment is meant for another thread ser |
0 replies
|
Ah crap, sorry, too many tabs |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/web
Problem or use case
The composer has no way to get out of the way. When it grows — a pending user-input / ask-user card with several options, a pending approval, a long draft, attachments — it eats a large share of the thread viewport, and the conversation above it is what I actually need to read in order to answer it.
Concretely, when an agent asks a question I want to scroll back through what it just did and decide from that. Today the panel that renders the question is pinned at full height (
apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx, rendered fromChatComposer.tsx) — neither file has any collapse affordance or max-height, so the only way to see more of the thread is to scroll a shrunken viewport a few lines at a time.The Claude Code desktop app handles this well: the input box can be collapsed to a thin bar, the full thread is visible behind it, and expanding it restores exactly what was there.
Proposed solution
A collapse toggle on the composer:
Why this matters
The composer is the single biggest fixed-height element in the chat view, and it is largest exactly when the thread content matters most — when the agent is blocked on you and you need to review the context before answering. Right now answering a question means answering it half-blind, or losing the question off-screen while you scroll. This affects every user on every ask-user / approval interaction, and gets worse on small windows and split layouts.
Smallest useful scope
A single collapse/expand toggle on the web composer that preserves draft + selections, with no persistence across reloads and no keyboard shortcut. That alone solves the "I can't read the thread while a question is pending" problem.
Alternatives considered
Risks or tradeoffs
request_user_inputcard overflows the viewport), but the interaction there probably wants a different shape (sheet/drag handle) rather than a straight port.Contribution
All reactions