diff --git a/surfsense_web/components/layout/ui/sidebar/ChatListItem.tsx b/surfsense_web/components/layout/ui/sidebar/ChatListItem.tsx index 078cea34e..82ba29ac9 100644 --- a/surfsense_web/components/layout/ui/sidebar/ChatListItem.tsx +++ b/surfsense_web/components/layout/ui/sidebar/ChatListItem.tsx @@ -2,7 +2,6 @@ import { ArchiveIcon, - MessageSquare, MoreHorizontal, PenLine, RotateCcwIcon, @@ -64,21 +63,26 @@ export function ChatListItem({ {...(isMobile ? longPressHandlers : {})} className={cn( "flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-sm text-left transition-colors", - "[&>span:last-child]:truncate", - "hover:bg-accent hover:text-accent-foreground", + "group-hover/item:bg-accent group-hover/item:text-accent-foreground", "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", isActive && "bg-accent text-accent-foreground" )} > - - {animatedName} + {animatedName} {/* Actions dropdown - trigger hidden on mobile, long-press opens it instead */}
diff --git a/surfsense_web/hooks/use-documents.ts b/surfsense_web/hooks/use-documents.ts index a972e1865..3d6ee9be4 100644 --- a/surfsense_web/hooks/use-documents.ts +++ b/surfsense_web/hooks/use-documents.ts @@ -61,7 +61,7 @@ export function toDisplayDoc(item: ApiDocumentInput): DocumentDisplay { } const EMPTY_TYPE_FILTER: DocumentTypeEnum[] = []; -const INITIAL_PAGE_SIZE = 20; +const INITIAL_PAGE_SIZE = 50; const SCROLL_PAGE_SIZE = 5; function isValidDocument(doc: DocumentElectric): boolean {