From 8cf2b8a9d4d5807be5901a43b85d1a80ba75e3f7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 3 Dec 2025 02:31:13 -0600 Subject: [PATCH] Display spinner for text chats --- src/components/ProjectSidebar.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ProjectSidebar.tsx b/src/components/ProjectSidebar.tsx index 7532306c..e134d022 100644 --- a/src/components/ProjectSidebar.tsx +++ b/src/components/ProjectSidebar.tsx @@ -85,6 +85,7 @@ interface ChatItemProps { const ChatItem: React.FC = ({ chat, isSelected, onSelect }) => { const navigate = useNavigate(); + const { hasRunningSessions } = useProjectSessionStatus(chat.id); const handleClick = () => { onSelect(chat); @@ -105,7 +106,11 @@ const ChatItem: React.FC = ({ chat, isSelected, onSelect }) => { />
- + {hasRunningSessions ? ( + + ) : ( + + )}