diff --git a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentTypeIcon.tsx b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentTypeIcon.tsx index dfd2c6d85..c07f34935 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentTypeIcon.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentTypeIcon.tsx @@ -67,7 +67,7 @@ export function DocumentTypeChip({ type, className }: { type: string; className? const chip = ( {icon} diff --git a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsFilters.tsx b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsFilters.tsx index c954474c6..e31cb508b 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsFilters.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsFilters.tsx @@ -3,13 +3,13 @@ import { useSetAtom } from "jotai"; import { CircleAlert, - CircleX, FilePlus2, FileType, ListFilter, Search, SlidersHorizontal, Trash, + X, } from "lucide-react"; import { motion } from "motion/react"; import { useTranslations } from "next-intl"; @@ -81,7 +81,7 @@ export function DocumentsFilters({ return ( onSearch(e.target.value)} placeholder="Filter by title" @@ -135,7 +135,7 @@ export function DocumentsFilters({ /> {Boolean(searchValue) && ( { onSearch(""); @@ -147,7 +147,7 @@ export function DocumentsFilters({ whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }} > - )} diff --git a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsTableShell.tsx b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsTableShell.tsx index 02c359be9..905f00eae 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsTableShell.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsTableShell.tsx @@ -336,7 +336,7 @@ export function DocumentsTableShell({ return ( ) : ( <> - {/* Desktop Table View - Notion Style */} + {/* Desktop Table View */}
{/* Fixed Header */} @@ -765,20 +765,20 @@ export function DocumentsTableShell({ {/* Document Content Viewer - lazy loads content on-demand */} !open && handleCloseViewer()}> - - - {viewingDoc?.title} - -
- {viewingLoading ? ( -
- -
- ) : ( - - )} -
-
+ + + {viewingDoc?.title} + +
+ {viewingLoading ? ( +
+ +
+ ) : ( + + )} +
+
); diff --git a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/PaginationControls.tsx b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/PaginationControls.tsx index bd8a9f1cc..03d5066b2 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/PaginationControls.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/PaginationControls.tsx @@ -30,7 +30,7 @@ export function PaginationControls({ return ( - + )} diff --git a/surfsense_web/components/assistant-ui/document-upload-popup.tsx b/surfsense_web/components/assistant-ui/document-upload-popup.tsx index b42994c65..bb8bd3b71 100644 --- a/surfsense_web/components/assistant-ui/document-upload-popup.tsx +++ b/surfsense_web/components/assistant-ui/document-upload-popup.tsx @@ -120,7 +120,7 @@ const DocumentUploadPopupContent: FC<{ return ( - + Upload Document {/* Scrollable container for mobile */}