refactor: enhance DocumentsTableShell to support search mode with updated UI for no matching documents

This commit is contained in:
Anish Sarkar 2026-03-08 22:42:13 +05:30
parent ed6ff33933
commit 662c99c3f5
2 changed files with 55 additions and 27 deletions

View file

@ -193,6 +193,7 @@ export function DocumentsSidebar({ open, onOpenChange }: DocumentsSidebarProps)
mentionedDocIds={mentionedDocIds}
onToggleChatMention={handleToggleChatMention}
onEditNavigate={() => onOpenChange(false)}
isSearchMode={isSearchMode || activeTypes.length > 0}
/>
</div>
</>