From 3cd5c7c9e4fa0bcfd44a37740e236b6881b85bcb Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Tue, 1 Apr 2025 22:12:27 -0600 Subject: [PATCH] status indicator is updated --- web/src/components/ui/indicators/StatusIndicator.tsx | 2 +- .../MetricStylingApp/Common/WarningIcon.tsx | 2 +- .../ReasoningController/ReasoningMessages/BarContainer.tsx | 6 +++--- .../ReasoningMessagePills.tsx | 4 ++-- .../ChatContainer/ChatContent/ChatUserMessage.tsx | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/web/src/components/ui/indicators/StatusIndicator.tsx b/web/src/components/ui/indicators/StatusIndicator.tsx index 2eb4c5436..77c8db828 100644 --- a/web/src/components/ui/indicators/StatusIndicator.tsx +++ b/web/src/components/ui/indicators/StatusIndicator.tsx @@ -25,7 +25,7 @@ export const StatusIndicator: React.FC<{ failed && 'text-danger-foreground' )}> {inProgress && ( -
+
)} = React.memo( ({ rowCount, - rowCountThreshold = 35, + rowCountThreshold = 25, warningText = 'Data labels will be hidden if there are too many.' }) => { if (rowCount <= rowCountThreshold) { diff --git a/web/src/controllers/ReasoningController/ReasoningMessages/BarContainer.tsx b/web/src/controllers/ReasoningController/ReasoningMessages/BarContainer.tsx index 86bcf182b..e2e895a6e 100644 --- a/web/src/controllers/ReasoningController/ReasoningMessages/BarContainer.tsx +++ b/web/src/controllers/ReasoningController/ReasoningMessages/BarContainer.tsx @@ -15,7 +15,7 @@ export const BarContainer: React.FC<{ secondaryTitle?: string; }> = React.memo(({ showBar, isCompletedStream, status, children, title, secondaryTitle }) => { return ( -
+
= React.memo(({ showBar, isCompletedStream, status }) => { return ( -
- +
+
); diff --git a/web/src/controllers/ReasoningController/ReasoningMessages/ReasoningMessage_PillContainers/ReasoningMessagePills.tsx b/web/src/controllers/ReasoningController/ReasoningMessages/ReasoningMessage_PillContainers/ReasoningMessagePills.tsx index a25f6537b..c92d4afcb 100644 --- a/web/src/controllers/ReasoningController/ReasoningMessages/ReasoningMessage_PillContainers/ReasoningMessagePills.tsx +++ b/web/src/controllers/ReasoningController/ReasoningMessages/ReasoningMessage_PillContainers/ReasoningMessagePills.tsx @@ -63,8 +63,8 @@ export const ReasoningMessagePills: React.FC<{ animate={pills.length > 0 ? 'visible' : 'hidden'} className={'flex w-full flex-wrap gap-1.5 overflow-hidden'}> {pills.map((pill) => ( - - + + ))} diff --git a/web/src/layouts/ChatLayout/ChatContainer/ChatContent/ChatUserMessage.tsx b/web/src/layouts/ChatLayout/ChatContainer/ChatContent/ChatUserMessage.tsx index c893eff35..4a9663d52 100644 --- a/web/src/layouts/ChatLayout/ChatContainer/ChatContent/ChatUserMessage.tsx +++ b/web/src/layouts/ChatLayout/ChatContainer/ChatContent/ChatUserMessage.tsx @@ -45,7 +45,7 @@ export const ChatUserMessage: React.FC<{ /> ) : ( <> - {request} + {request} {isCompletedStream && (