feat(assistant-ui): add "Manage Connectors" option to ComposerAction and clean up DocumentsFilters component

- Introduced a new dropdown menu item for managing connectors in the ComposerAction component.
- Removed unused upload button and related props from the DocumentsFilters component for improved clarity and simplicity.
- Updated LayoutDataProvider and RightPanel components to streamline state management and enhance layout consistency.
This commit is contained in:
Anish Sarkar 2026-07-06 11:09:25 +05:30
parent cda232101f
commit f11cc3868c
7 changed files with 44 additions and 248 deletions

View file

@ -1359,6 +1359,10 @@ const ComposerAction: FC<ComposerActionProps> = ({
<Camera className="h-4 w-4" />
Take a screenshot
</DropdownMenuItem>
<DropdownMenuItem onSelect={() => setConnectorDialogOpen(true)}>
<Unplug className="h-4 w-4" />
Manage Connectors
</DropdownMenuItem>
<DropdownMenuSub
open={toolsPopoverOpen}
onOpenChange={(open) => {