You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[UX] Composer: full-screen edit mode for long input; collapse long sent user messages to a one-line preview #351
Long user content takes over the whole viewport, both while writing and while reading history:
Composing: the composer textarea grows up to a ~200px cap (ChatInput.tsx clamps scrollHeight to 200). For a long prompt (multi-paragraph instructions, pasted logs, long specs), that's still a cramped little window — you scroll inside a 200px strip and lose all context of what you're writing. There is no way to expand it to a full-screen editing surface.
After sending: long user messages are capped at 300px (USER_BUBBLE_MAX_HEIGHT = 300, MessageView.tsx:90) with a "Show full input" toggle. 300px is still ~10 lines — when reviewing a session with a very long user prompt (or several of them), the user message dominates the screen and pushes the actual conversation out of view.
The net effect: for sessions with long inputs, the entire screen is just the user's one message, and nothing else is readable at a glance.
Proposal
Composer: keep the textarea at 1–3 lines by default; when the content grows beyond a few lines (or via an expand button), open a full-screen (or near-full-screen) distraction-free editor with the same draft recovery, then collapse back to the compact composer before sending. Common pattern in chat/IDE-adjacent UIs (e.g. a ⤢ icon next to the send button).
Sent messages: default long user messages to a single-line preview (first line + ellipsis, e.g. "Show N more lines") with the existing expand/collapse toggle — instead of the current 300px cap. Collapsed by default both in the live view and in history; expanding is one click for people who want to re-read.
This keeps the screen focused on the agent's output and recent turns, with long user content available on demand.
Activity
feat(composer): fullscreen edit mode and one-line collapse for long s…
Merge pull request ompweb-dev#556 from ompweb-dev/feat-composer-fulls…