From cddbf6906a227201c7af69877b29ef8fafbe7a44 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 8 Apr 2026 17:00:35 -0500 Subject: [PATCH] Render attachment chip in user chat bubbles --- web/src/components/chat/ChatMessage.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/web/src/components/chat/ChatMessage.tsx b/web/src/components/chat/ChatMessage.tsx index b21fae4355..385693f538 100644 --- a/web/src/components/chat/ChatMessage.tsx +++ b/web/src/components/chat/ChatMessage.tsx @@ -15,6 +15,8 @@ import { TooltipTrigger, } from "@/components/ui/tooltip"; import { cn } from "@/lib/utils"; +import { ChatAttachmentChip } from "@/components/chat/ChatAttachmentChip"; +import { parseAttachedEvent } from "@/utils/chatUtil"; type MessageBubbleProps = { role: "user" | "assistant"; @@ -126,6 +128,10 @@ export function MessageBubble({ ); } + const { eventId: attachedEventId, body: displayContent } = isUser + ? parseAttachedEvent(content) + : { eventId: null, body: content }; + return (