mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-10 22:32:16 +02:00
feat(sidebar): enhance document management UI and improve layout structure
- Updated the FolderTreeView component to clarify upload instructions. - Introduced a new renderDocumentTree function in DocumentsSidebar for better organization and readability. - Refactored the Sidebar component to utilize SidebarSection for improved layout consistency. - Added contentClassName prop to SidebarSection for flexible styling options.
This commit is contained in:
parent
f11cc3868c
commit
62c0573b1c
4 changed files with 126 additions and 72 deletions
|
|
@ -336,7 +336,7 @@ export function FolderTreeView({
|
|||
<div className="flex flex-1 flex-col items-center justify-center gap-1 px-4 py-12 text-muted-foreground select-none">
|
||||
<p className="text-sm font-medium">No documents found</p>
|
||||
<p className="text-xs text-muted-foreground/70">
|
||||
Use the upload button or connect a source above
|
||||
Use the plus menu to upload files or manage connectors
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue