fix(claude): show question option previews #15633
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
- @@ -270,3 +275,7 @@270275 ) : null}271276 {props.pendingUserInput.questions.map((question) => {272277 const draft = props.drafts[question.id];278+ const previewOption =279+ focusedOption?.requestId === props.pendingUserInput.requestId &&280+ focusedOption.questionId === question.id281+ ? question.options.find(
github-actions[bot](GitHub profile, opens in a new tab) removed labelssize:M
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
- apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx lines 202 to 202Resolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -186,3 +196,7 @@186196 }187197188198 const customAnswerActive = progress.customAnswer.trim().length > 0;199+ // The focused option previews; otherwise the selected one, or the first before any answer.200+ const selectedOptionValue = progress.selectedOptionValues.at(-1);201+ const previewOptionIndex =202+ focusedOption?.questionId === activeQuestion.id
juliusmarminge added labelsmacroscope-review
juliusmarminge assignedjuliusmarminge
juliusmarminge closed this
Sign in to join this conversation.


Warning
Review limit reached#
Only developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing.
Next included review available in 9 minutes.
Check out review usage here.
View limit details
Limit details: You’ve used all 10 included reviews currently available.
Learn how review limits work.
Review configuration:
⚙️ Run configuration
611c45b9-015f-4824-baae-8a49ae698adc📥 Commits
Reviewing files that changed from the base of the PR and between 5dcb59ed6c191589e730fb964aabad005466eb6d and 68b4da3470f1065fc54b8d90bb57ae6f0dc4aa9c.
📒 Files selected for processing (5)
apps/mobile/src/features/threads/PendingUserInputCard.tsxapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.tsapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.tsapps/web/src/components/chat/ComposerPendingUserInputPanel.tsxpackages/contracts/src/orchestrationV2.tsComment `@coderabbitai help` to get the list of available commands.