From ea791f605c3d67963e6260bea4ccea8148be954a Mon Sep 17 00:00:00 2001
From: Xubin Ren <52506698+Re-bin@users.noreply.github.com>
Date: Wed, 10 Jun 2026 04:14:27 +0800
Subject: [PATCH] fix(webui): restore fork action icon
---
webui/src/components/MessageBubble.tsx | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/webui/src/components/MessageBubble.tsx b/webui/src/components/MessageBubble.tsx
index 4ef4713f1..f99525adf 100644
--- a/webui/src/components/MessageBubble.tsx
+++ b/webui/src/components/MessageBubble.tsx
@@ -11,7 +11,6 @@ import {
ChevronRight,
Clock3,
Copy,
- GitFork,
ImageIcon,
Sparkles,
Wrench,
@@ -52,6 +51,26 @@ interface MessageBubbleProps {
onForkFromHere?: () => void;
}
+function ForkArrowIcon({ className }: { className?: string }) {
+ return (
+
+ );
+}
+
/**
* Render a single message. Following agent-chat-ui: user turns are a rounded
* "pill" right-aligned with a muted fill; assistant turns render as bare
@@ -231,7 +250,7 @@ export function MessageBubble({
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
)}
>
-
+
{forkLabel}