Skip to content

fix: allow selecting and copying Studio Code conversation text - #3836

Merged
sejas merged 2 commits into
trunkfrom
stu-1831-allow-selecting-and-copying-conversation-text
Jun 16, 2026
Merged

fix: allow selecting and copying Studio Code conversation text#3836
sejas merged 2 commits into
trunkfrom
stu-1831-allow-selecting-and-copying-conversation-text

Conversation

@sejas

@sejas sejas commented Jun 15, 2026

Copy link
Copy Markdown
Member

Related issues

How AI was used in this PR

Used to trace why conversation text was unselectable and to pinpoint the inherited select-none on the app shell as the root cause. The diagnosis and the one-line fix were reviewed manually.

Proposed Changes

Studio Code users couldn't select or copy any text from a conversation — user prompts, assistant replies, tool output, or agent questions. The app shell intentionally marks the whole window non-selectable for a native feel (select-none on the root), and that user-select: none was cascading into the conversation.

This re-enables text selection just for the Studio Code conversation, so users can highlight and copy anything the agent says (or that they said) — e.g. to reuse a command, save a snippet, or share a reply. The rest of the app chrome stays non-selectable, as before.

Testing Instructions

  1. Open Studio Code tab.
  2. Send a message
  3. Drag-select across the user prompt and the assistant's markdown reply
  4. Observe the text should highlight and can be copied.
select-text.mp4

As a follow-up we could add copy button to copy the message in markdown text.

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 13:28
@sejas
sejas requested a review from nightnei June 16, 2026 13:35

@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.

LGTM and works as expected 👍

@sejas
sejas merged commit 28c076e into trunk Jun 16, 2026
11 checks passed
@sejas
sejas deleted the stu-1831-allow-selecting-and-copying-conversation-text branch June 16, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants