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
[FEATURE]: Improve UX of question tool multi-select #7572
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
The current question tool response UX is a bit unintuitive imo - what does the team think about matching the pattern that pnpm uses for approve-builds? This would mean hitting space to toggle selections and enter to confirm/submit. This approach would also sidestep this tab key conflict issue since we could cut out that part of the flow (and also save the user a keystroke, which is nice).
Also, it would be nice to be able to use the number keys for choosing single-choice questions.
This issue is directly related to #7496: Question Tool Keyboard Conflict and Agent Switch Issue. Your proposed solution (space to toggle selections and enter to confirm) is an excellent way to address the tab key conflict mentioned in that issue.
Additionally, you may want to consider #7462: Ability to turn off the "question form behavior", which discusses concerns about the question form UX being unintuitive.
Following up on #7496 I've conducted a thorough code analysis of the Question Tool implementation. Here's a comprehensive breakdown of the current issues and how the proposed changes would address them.
Current Keyboard Binding Analysis
Action
UI Hint
Actual Implementation
Problem
Switch tabs
⇆ tab
left/right or h/l
❌ Misleading
Select option
↑↓
up/down or k/j
✓ Correct
Confirm/Toggle
enter
return
✓ Correct
Dismiss
esc
escape
✓ Correct
Root cause in code (question.tsx:150-162): Currently no handler for "tab" key - event bubbles to global agent_cycle
Additional UX Issues Discovered
Enter Key Behavior is Context-Dependent (Confusing)
The Enter key has 4 different behaviors depending on state:
Activity
github-actions commentedon Jan 10, 2026
This issue is directly related to #7496: Question Tool Keyboard Conflict and Agent Switch Issue. Your proposed solution (space to toggle selections and enter to confirm) is an excellent way to address the tab key conflict mentioned in that issue.
Additionally, you may want to consider #7462: Ability to turn off the "question form behavior", which discusses concerns about the question form UX being unintuitive.
Hipfox commentedon Jan 10, 2026
About Question Tool UX Issues and Recommendations
Following up on #7496 I've conducted a thorough code analysis of the Question Tool implementation. Here's a comprehensive breakdown of the current issues and how the proposed changes would address them.
Current Keyboard Binding Analysis
⇆ tableft/rightorh/l↑↓up/downork/jenterreturnescescapeRoot cause in code (
question.tsx:150-162): Currently no handler for "tab" key - event bubbles to global agent_cycleAdditional UX Issues Discovered
The Enter key has 4 different behaviors depending on state:
This is implemented at question.tsx:357:
In multi-question mode, after moving to the next question (or Confirm tab), users can only go back using left/h. But:
How the Proposed Changes Address These Issues
Suggested Implementation
Building on @shanebishop1's proposal:
Additional Recommendations
Consume Tab key event even if not used, to prevent bubbling:
References
shanebishop1 commentedon Jan 17, 2026
@kitlangton made some PRs recently which improved the question UX and addressed most of my concerns. Closing this issue.