Skip to content

feat(agent): fold the question card to read the transcript above it - #1382

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex-agent-q-minimize-maple
Oct 30, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex-agent-q-minimize-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

When Maple asks a question, the card covers most of the transcript, so only a few lines of the text that led to the question are visible. The card's header now folds it like the Plan card does.

  • Click Question from Maple (chevron) to fold the card to one line that names the question; click again to bring it back with the answer field focused.
  • A new question always arrives unfolded.
  • Number keys, arrow/Vim selection and Enter unfold a folded card instead of choosing an option the user cannot see. Esc still skips.

Screenshots

Open:

Question card open

Folded, with the full explanation above it readable:

Question card folded

Validation

  • just ci in apps/maple-agent (fmt, clippy for every feature set, workspace tests) passes; pre-commit hook passed.
  • New test test_question_card_folds_without_answering covers folding, the keyboard unfold guard and new questions arriving unfolded.
  • Real app on a Local maple-dev-env stack (local OpenSecret + billing, Pro fixture account), DeepSeek V4.1 Flash, Web off: a real request_user_input question folded and unfolded as shown above.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

The question card's header now toggles it like the Plan card. Folded, it
shows one line naming the question so the text that led to it can be read.
A new question arrives unfolded, and answer keys unfold the card instead of
choosing an option the user cannot see.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AnthonyRonning
AnthonyRonning merged commit b46b70a into master Oct 30, 2026
21 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-agent-q-minimize-maple branch October 30, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant