Add buttons to copy user message and ai message
#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.
Great work! Can you put the copy button on the bottom right of assistant messages (not the top right)?
Yep! Updated
https://github.com/user-attachments/assets/be245bc0-e63c-4961-a28c-634c21f1264d
@mathewpareles what do you think of this?
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!