From 9d071d686a1dcb594cfe5ceea1da920c29d4b318 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Fri, 6 Feb 2026 19:43:14 +0530 Subject: [PATCH] feat: add viewport configuration for mobile keyboard handling and update chat page height calculations for better responsiveness --- .../new-chat/[[...chat_id]]/page.tsx | 6 +++--- surfsense_web/app/layout.tsx | 16 +++++++++++++++- surfsense_web/components/assistant-ui/thread.tsx | 5 ++++- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx b/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx index a00afb3df..22085e064 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx @@ -1408,7 +1408,7 @@ export default function NewChatPage() { // Show loading state only when loading an existing thread if (isInitializing) { return ( -
+
{/* User message */}
@@ -1449,7 +1449,7 @@ export default function NewChatPage() { // For new chats (urlChatId === 0), threadId being null is expected (lazy creation) if (!threadId && urlChatId > 0) { return ( -
+
Failed to load chat