Skip to content

Render Studio Code interview options as small buttons#3833

Open
sejas wants to merge 2 commits into
trunkfrom
stu-1834-improve-interview-option-ui-in-studio-code
Open

Render Studio Code interview options as small buttons#3833
sejas wants to merge 2 commits into
trunkfrom
stu-1834-improve-interview-option-ui-in-studio-code

Conversation

@sejas

@sejas sejas commented Jun 15, 2026

Copy link
Copy Markdown
Member

Related issues

How AI was used in this PR

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.

This restyles those options as small buttons: a surface background with a border, padding, and rounded corners, with hover/focus feedback and no underline. The option the user picks fills with the accent color and stays clearly highlighted (and legible) even after the question is answered. The new styling uses Studio's dark-aware color tokens, so it works in both light and dark mode.

Testing Instructions

  • Open the Studio Code tab and start an agent flow that asks the user a question with options (the AskUserQuestion tool).
  • Confirm the options render as small buttons (not blue links), respond to hover/focus, and that the selected option stays highlighted after answering.
  • Verify in both light and dark color schemes (macOS: System Settings → Appearance).
Before After Light After Dark
Screenshot 2026-06-16 at 12 25 36 Screenshot 2026-06-16 at 12 25 48 Screenshot 2026-06-16 at 12 25 56

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@sejas sejas self-assigned this Jun 15, 2026
@sejas sejas marked this pull request as ready for review June 16, 2026 11:27
@sejas sejas requested a review from nightnei June 16, 2026 11:27

@nightnei nightnei left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea is great.

I encountered only two things to clarify/fix:

  1. 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:
    Screenshot 2026-06-16 at 14 29 10Screenshot 2026-06-16 at 14 29 24
  2. 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:
    Screenshot 2026-06-16 at 14 31 25Screenshot 2026-06-16 at 14 30 27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants