Render Studio Code interview options as small buttons#3833
Merged
sejas merged 8 commits intoJun 19, 2026
Conversation
nightnei
reviewed
Jun 16, 2026
nightnei
left a comment
Contributor
There was a problem hiding this comment.
The idea is great.
I encountered only two things to clarify/fix:
Confirm ...., and that the selected option stays highlighted after answering.- after answering, I don't see the highlighted selected option. I looked into html and I don't see kinda "selected" classname. I don't think that it's critical thing, but woydl be good to have teh highlight, since it helps to read the history of selection inside the chat:

- Also, I cought a case when it's selected once. It seems it's highlighted as selected only when it's temporary state - when it's necessary to select options from a few list at the same time. But the styles are broken for both Dark and Light theme. Example to reproduce it:


katinthehatsite
left a comment
Contributor
There was a problem hiding this comment.
I saw similar issues that @nightnei pointed during his review:
- sometimes the option became not visible; it had some color when you hover over:
- once the option is selected, it would be nice if it stayed highlighted because now you don't know what option to selected after you selected it:
Collaborator
📊 Performance Test ResultsComparing e00df6c vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
The picked option used a filled accent background with inverted text, which rendered as dark text on light blue in dark mode (muddy) and could drop out entirely if the accent fill failed to resolve. Mark the selected option with a bold label, an accent ring, and a raised surface instead, keeping the normal text color so the choice stays legible in both light and dark mode.
11bd9c9 to
d8c0e19
Compare
Member
Author
|
@nightnei , @katinthehatsite thanks for the feedback! I addressed both issues: multi-answer-with-selected-state.mp4 |
Member
Author
|
I merged the PR, but let me know if you have any other feedback. |
gcsecsey
added a commit
that referenced
this pull request
Jun 30, 2026
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.
Related issues
How AI was used in this PR
It created the PR and tests.
Proposed Changes
When the agent asks a multiple-choice question in the Studio Code tab, the answer options used to render as blue text links, so users didn't recognize them as choices waiting for a response — they read like hyperlinks rather than something to click. The option a user picked also left no trace in the conversation, so scrolling back you couldn't tell what you'd chosen.
This restyles the options as small buttons — surface background, border, padding, rounded corners, hover/focus feedback, no underline. The option you pick stays marked in the conversation history: an accent border identifies your choice, dimmed once the question is answered so it clearly reads as a finalized, non-clickable selection. The selection persists for the rest of the session and after reopening the app. Styling uses Studio's dark-aware color tokens, so it works in both light and dark mode.
Testing Instructions
AskUserQuestiontool).Pre-merge Checklist