diff --git a/ui/desktop/src/components/BaseChat.tsx b/ui/desktop/src/components/BaseChat.tsx index 1289486f88..1b48a04277 100644 --- a/ui/desktop/src/components/BaseChat.tsx +++ b/ui/desktop/src/components/BaseChat.tsx @@ -494,6 +494,20 @@ function BaseChatContent({ )} + {/* Inline loading indicator below messages */} + {(chatState !== ChatState.Idle || isCompacting) && ( +
+ +
+ )} +
) : !recipeConfig && showPopularTopics ? ( @@ -502,25 +516,19 @@ function BaseChatContent({ ) : null /* Show nothing when messages.length === 0 && suppressEmptyState === true */ } + {/* Loading indicator for initial chat loading */} + {loadingChat && ( +
+ +
+ )} + {/* Custom content after messages */} {renderAfterMessages && renderAfterMessages()} - - {/* Fixed loading indicator at bottom left of chat container */} - {(chatState !== ChatState.Idle || loadingChat || isCompacting) && ( -
- -
- )}