diff --git a/surfsense_web/components/assistant-ui/thread.tsx b/surfsense_web/components/assistant-ui/thread.tsx index e5b6e4da8..6ec33c281 100644 --- a/surfsense_web/components/assistant-ui/thread.tsx +++ b/surfsense_web/components/assistant-ui/thread.tsx @@ -69,7 +69,13 @@ import { import { PromptPicker, type PromptPickerRef } from "@/components/new-chat/prompt-picker"; import { Avatar, AvatarFallback, AvatarGroup } from "@/components/ui/avatar"; import { Button } from "@/components/ui/button"; -import { Drawer, DrawerContent, DrawerHandle, DrawerTitle } from "@/components/ui/drawer"; +import { + Drawer, + DrawerContent, + DrawerHandle, + DrawerHeader, + DrawerTitle, +} from "@/components/ui/drawer"; import { DropdownMenu, DropdownMenuContent, @@ -900,15 +906,28 @@ const ComposerAction: FC = ({ isBlockedByOtherUser = false Upload Files + setConnectorDialogOpen(true)}> + + Manage Connectors + - - + + -
- Manage Tools -
-
+ + + Manage Tools + + +
{groupedTools .filter((g) => !g.connectorIcon) .map((group) => ( @@ -1003,15 +1022,6 @@ const ComposerAction: FC = ({ isBlockedByOtherUser = false
- ) : ( @@ -1212,17 +1222,19 @@ const ComposerAction: FC = ({ isBlockedByOtherUser = false
)}
- void handleScreenCapture()} - > - - + {isDesktop && ( + void handleScreenCapture()} + > + + + )} !thread.isRunning}> - - + Comments {commentCount > 0 && ( @@ -56,7 +54,6 @@ export function CommentSheet({ > - Comments {commentCount > 0 && (