From d9724252c7c0c1f3ca0ebd9097b096151909f3b0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 1 Mar 2026 00:12:57 +0000 Subject: [PATCH] sync(ui): update UI --- ui/src/components/chat/ChatView.tsx | 4 ++++ ui/src/components/chat/ThinkingIndicator.tsx | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 ui/src/components/chat/ThinkingIndicator.tsx diff --git a/ui/src/components/chat/ChatView.tsx b/ui/src/components/chat/ChatView.tsx index dbda402..c8e2218 100644 --- a/ui/src/components/chat/ChatView.tsx +++ b/ui/src/components/chat/ChatView.tsx @@ -1,6 +1,7 @@ import { useRef, useEffect } from 'react'; import ChatMessage from './ChatMessage'; import ChatInput from './ChatInput'; +import ThinkingIndicator from './ThinkingIndicator'; import ThemeToggle from '@/components/ThemeToggle'; import type { Message, FileAttachment } from '@/lib/llm'; @@ -41,6 +42,9 @@ export default function ChatView({ ))} + {/* Thinking indicator — visible before first stream token */} + {isLoading && !streamingContent && } + {/* Streaming Message */} {streamingContent && ( +
+ + + + Thinking... +
+ + ); +}