anthropics / anthropics/claude-code
Feature request: allow AskUserQuestion to render inline in the response text, not just as a modal
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
Currently, the `AskUserQuestion` tool always renders as a separate modal/widget above the input box — full-width stacked buttons, one per line, taking up a lot of vertical space regardless of how few/short the options are.
Request: support (or default to) an inline rendering mode, where the question and its options appear as part of the assistant's regular text response — e.g. as compact buttons or a small card grid within the message block — instead of a dedicated modal that pushes the input field down.
Motivation: for short questions with 2-3 options, a full-screen-width modal feels disproportionately large. An inline treatment (similar to how some chat UIs render quick-reply chips inside the message bubble) would keep the conversation visually compact without losing the structured-choice functionality.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names AskUserQuestion but no implementation files or tests; start by locating the entry point that renders its modal/widget. Compare that path with regular assistant message rendering and define how compact inline options should appear. Done means short questions can render inline without pushing the input field down while preserving structured-choice behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100