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

@ -440,6 +440,7 @@ export function LayoutShell({
onChatArchive={onChatArchive}
onViewAllChats={onViewAllChats}
isAllChatsActive={isAllChatsPage}
documentsPanel={documentsPanel}
user={user}
onSettings={onSettings}
onManageMembers={onManageMembers}
@ -532,17 +533,8 @@ export function LayoutShell({
{children}
</MainContentPanel>
{/* Right panel — tabbed Sources/Report (desktop only) */}
{documentsPanel ? (
<RightPanel
documentsPanel={{
open: documentsPanel.open,
onOpenChange: documentsPanel.onOpenChange,
}}
showCollapseButton={!isMacDesktop}
showTopBorder={isMacDesktop}
/>
) : null}
{/* Right panel — Report/Editor/Citations/Artifacts (desktop only) */}
<RightPanel showTopBorder={isMacDesktop} />
</>
)}
</DesktopWorkspaceRegion>