Repository navigation
Agent: compact question card that answers on one click - #1557
Merged
Merged
Conversation
The question and permission card was the tallest thing above the composer: a "Question from Maple" title, a header, the question, radio rows, an answer field with a coral button, and a "Skip (Esc)" line indented past the rest. Answering a single choice took two clicks. - One frame for every kind and every width: the line that names the question and folds the card, the body, and a footer of actions. On a permission card Deny and Allow once always sit in the footer, under the call, instead of moving beside it as the window changes. - A click on a single-choice option answers. Multi-select keeps Answer. Moving the keyboard selection still waits for Enter. - Each option shows the key bound to it now, read from the keymap. Skip shows its key as a keycap, and the free-form answer is the card's last row, sent with Enter or its key. - The card takes the composer's column and gutter, on a neutral hairline border, with the inverted pill where a button remains. - Option rows are buttons to accessibility. Co-Authored-By: Claude Fable 5.2 <[email protected]>
A single choice led each row with its shortcut, which reads as a power-user view. It now matches multi-select: the mark on the left (a circle here, a box there), the option, then its key at the far right. Co-Authored-By: Claude Fable 5.2 <[email protected]>
AnthonyRonning
force-pushed
the
agent/question-dialog-compact
branch
from
November 11, 2026 02:17
16e81ba to
6035918
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The question and permission card in Maple Work was the tallest thing above the composer and took two clicks to answer. This makes it compact, lines it up with the composer, and answers a single choice on one click.
Before and after
The real chat screen rendered offscreen with sample data. "Before" is master at
317c1603; "after" is this branch. Dark first, light under it.Single choice. One click on an option answers. Each option leads with a circle and ends with the key bound to it, the same layout as multi-select, and the free-form answer is the last row.
Multi-select. Several answers can't be sent by one click, so Answer stays, as the inverted pill in the footer.
Permission request. Deny and Allow once always sit in the footer under the call, at every width.
Folded. The chevron still folds the card to one line so the reply behind it can be read. The line now names the question itself.
What changes
esckeycap in the footer. A newwidgets::keycaphas one fixed height so keys and labels share a line.default_button/secondary_buttonwhere a button remains.chat-skipdrops "(Esc)" andchat-answer-placeholderbecomes "Something else…" in English, Spanish and German; both translation revision files are stamped.Behaviour to be aware of
Verification
just ci-lintandjust ci-testpass on6035918a, rebased onto master ata7074f7f.test_single_choice_click_answers_at_once(answers on the click, steps through a batch, ignores an option that is not there, keyboard selection still waits) andtest_multi_select_option_click_toggles_off.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.