Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: add search indicator
Marc Seitzdbcc7e8a0c64
diff --git a/components/view/viewer/dataroom-viewer.tsx b/components/view/viewer/dataroom-viewer.tsxindex 8f5e5e6b..c31db38c 100644--- a/components/view/viewer/dataroom-viewer.tsx+++ b/components/view/viewer/dataroom-viewer.tsx@@ -450,6 +450,21 @@ export default function DataroomViewer({</div></div>+ {/* Search results banner */}+ {searchQuery && (+ <div className="mt-4 rounded-md border border-muted/50 bg-muted px-4 py-3">+ <div className="flex items-center gap-2">+ <div className="text-sm font-medium text-muted-foreground">+ Search results for "{searchQuery}"+ </div>+ <div className="text-xs text-muted-foreground">+ ({mixedItems.length} result+ {mixedItems.length !== 1 ? "s" : ""} across all folders)+ </div>+ </div>+ </div>+ )}+<ul role="list" className="-mx-4 space-y-4 overflow-auto p-4">{mixedItems.length === 0 ? (<li className="py-6 text-center text-muted-foreground">