feat: Rework sidebar with dedicated components for menu, folders, tags, correspondents, and search, including tenant switching and theme controls.

This commit is contained in:
2025-11-25 15:09:20 +01:00
parent 2c42e63bab
commit d6206786f7
14 changed files with 1192 additions and 896 deletions
@@ -132,10 +132,10 @@ const DocumentsPanelInner: React.FC<DocumentsPanelInnerProps> = ({
onBulkReanalyze,
folderOptions,
onMoveDocumentsToFolder,
searchQuery,
activeTagFilters,
activeCorrespondentFilters,
selectedFolder,
searchQuery = '',
activeTagFilters = [],
activeCorrespondentFilters = [],
selectedFolder = null,
promoteSelectionOrder,
onDocumentTagDrop,
currentTenantId,
@@ -811,6 +811,7 @@ const DocumentsPanelInner: React.FC<DocumentsPanelInnerProps> = ({
onTagClick: toggleTagFilter,
onCorrespondentClick: toggleCorrespondentFilter,
activeCorrespondentIdSet: activeCorrespondentIdSet,
activeTagFilters,
scrollRef,
// Desk specific
onDocumentStackSelect: handleDeskDocumentStackSelect,