From f63a7452216003ce89cef5cbd9cc2a7cf684a004 Mon Sep 17 00:00:00 2001 From: denshooter Date: Fri, 9 Jan 2026 19:32:56 +0100 Subject: [PATCH] fix: Improve ChatWidget text visibility and ActivityFeed loading state - Fix ChatWidget tooltip text being cut off (add z-index and shadow) - Fix ChatWidget header text overflow with truncate classes - Add loading state for ActivityFeed so it's visible on production while fetching - Ensure ActivityFeed shows even when data is loading --- app/components/ActivityFeed.tsx | 39 +++++++++++++++++++++++++++++++++ app/components/ChatWidget.tsx | 8 +++---- 2 files changed, 43 insertions(+), 4 deletions(-) diff --git a/app/components/ActivityFeed.tsx b/app/components/ActivityFeed.tsx index e1824e9..f3eda7d 100644 --- a/app/components/ActivityFeed.tsx +++ b/app/components/ActivityFeed.tsx @@ -1198,6 +1198,45 @@ export default function ActivityFeed() { ); } + // Show loading state if tracking is enabled but no data yet + // This ensures the component is visible on production even while loading + if (!data && isTrackingEnabled) { + return ( +
+ +
+
+
+ +
+
+

Live Activity

+

Loading...

+
+
+
+ +
+
+
+
+ ); + } + if (!data) return null; const activeCount = [ diff --git a/app/components/ChatWidget.tsx b/app/components/ChatWidget.tsx index 2bb3407..8de68a1 100644 --- a/app/components/ChatWidget.tsx +++ b/app/components/ChatWidget.tsx @@ -214,7 +214,7 @@ export default function ChatWidget() { {/* Tooltip */} - + Chat with AI assistant @@ -240,11 +240,11 @@ export default function ChatWidget() { -
-

+
+

Dennis{'\''}s AI Assistant

-

Always online

+

Always online