void icon indicating copy to clipboard operation
void copied to clipboard

Add buttons to copy user message and ai message

Open steaks opened this issue 7 months ago • 4 comments

#236 This PR adds buttons to copy an AI message and a user message. It implements some, not all, of the tasks in #236.

The AI message copy button appears in the top right corner when a user hovers over the AI message. The user message copy button appears to the right of pencil when a user hovers over the user message in display mode.

https://github.com/user-attachments/assets/f43d1d20-15f2-451c-9c55-e68996345d87

^ the video doesn't capture my cursor properly. But I think it shows the gist of the changes.

steaks avatar May 08 '25 05:05 steaks

Great work! Can you put the copy button on the bottom right of assistant messages (not the top right)?

andrewpareles avatar May 08 '25 06:05 andrewpareles

Yep! Updated

https://github.com/user-attachments/assets/be245bc0-e63c-4961-a28c-634c21f1264d

steaks avatar May 08 '25 15:05 steaks

@mathewpareles what do you think of this?

andrewpareles avatar May 10 '25 10:05 andrewpareles

I'm going on a trip from Mon May 12th - Thurs May 22nd. I'll be out of touch for most or all of that time. Feel free to modify, reject, or merge this PR while I'm away!

steaks avatar May 12 '25 18:05 steaks