diff --git a/surfsense_web/components/assistant-ui/thread.tsx b/surfsense_web/components/assistant-ui/thread.tsx index 9ec7386c3..82863f06d 100644 --- a/surfsense_web/components/assistant-ui/thread.tsx +++ b/surfsense_web/components/assistant-ui/thread.tsx @@ -155,7 +155,7 @@ const ThinkingStepsDisplay: FC<{ steps: ThinkingStep[]; isThreadRunning?: boolea )} > {/* Header text with shimmer if processing or has in-progress step */} - {isProcessing || inProgressStep ? ( + {isProcessing && inProgressStep ? ( ) : ( {getHeaderText()} diff --git a/surfsense_web/components/new-chat/document-mention-picker.tsx b/surfsense_web/components/new-chat/document-mention-picker.tsx index d46955324..f250025c4 100644 --- a/surfsense_web/components/new-chat/document-mention-picker.tsx +++ b/surfsense_web/components/new-chat/document-mention-picker.tsx @@ -184,8 +184,8 @@ export const DocumentMentionPicker = forwardRef< role="listbox" tabIndex={-1} > - {/* Document List */} -
+ {/* Document List - Shows max 3 items on mobile, 5 items on desktop */} +
{actualLoading ? (