Skip to content

Copy button on agent text responses #33

@shirshanka

Description

@shirshanka

SQL blocks already have a copy button, but plain text / markdown responses don't. It's a small friction point — if the agent writes a query explanation or a list of columns you want to paste somewhere, you have to select the text manually.

Would be good to add a hover-reveal copy button to the text message component, similar to what's already on SQL blocks.

The relevant component is frontend/src/components/Chat/messages/TextMessage.tsx. The SQL copy implementation in SqlMessage.tsx is a good reference — it's about 15 lines using the Clipboard API and a brief 'copied' confirmation state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions