diff --git a/surfsense_web/components/chat/ChatInterface.tsx b/surfsense_web/components/chat/ChatInterface.tsx index acd22ad9e..f51b37b57 100644 --- a/surfsense_web/components/chat/ChatInterface.tsx +++ b/surfsense_web/components/chat/ChatInterface.tsx @@ -1,9 +1,13 @@ "use client"; import { type ChatHandler, ChatSection as LlamaIndexChatSection } from "@llamaindex/chat-ui"; +import { PanelRight } from "lucide-react"; +import { useState } from "react"; +import type { ResearchMode } from "@/components/chat"; import { ChatInputUI } from "@/components/chat/ChatInputGroup"; import { ChatMessagesUI } from "@/components/chat/ChatMessages"; import type { Document } from "@/hooks/use-documents"; +import { cn } from "@/lib/utils"; interface ChatInterfaceProps { handler: ChatHandler; @@ -24,19 +28,46 @@ export default function ChatInterface({ searchMode, onSearchModeChange, }: ChatInterfaceProps) { + const [isChatPannelOpen, setIsChatPannelOpen] = useState(false); + return ( -
- -
- +
+
+ +
+ +
+
+
+
+ +
+ +
Chat pannel