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.
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 inSqlMessage.tsxis a good reference — it's about 15 lines using the Clipboard API and a brief 'copied' confirmation state.