From c66ce4ae1617c68d8187bc9824b440ac94c03417 Mon Sep 17 00:00:00 2001 From: teernisse Date: Fri, 30 Jan 2026 10:42:30 -0500 Subject: [PATCH] Change message copy button to copy content instead of anchor link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The per-message copy button previously copied a URL with a hash anchor (#msg-{uuid}) for deep linking. Replace this with copying the actual message content: for tool_call messages it copies the tool name and input; for all other categories it copies the text body. This is more immediately useful — users copying message content is far more common than sharing anchor links. Button title updated from "Copy link to message" to "Copy message content" to match the new behavior. Co-Authored-By: Claude Opus 4.5 --- src/client/components/MessageBubble.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/client/components/MessageBubble.tsx b/src/client/components/MessageBubble.tsx index 054e21e..942c91b 100644 --- a/src/client/components/MessageBubble.tsx +++ b/src/client/components/MessageBubble.tsx @@ -153,14 +153,16 @@ export function MessageBubble({