From 6e9bea2b8a4d25dd824372d20458363411165cd3 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 1 May 2025 13:12:53 -0700 Subject: [PATCH 1/2] hide tabs in edit mode --- gui/src/pages/gui/Chat.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx index 3c3abaf47..32a99f88d 100644 --- a/gui/src/pages/gui/Chat.tsx +++ b/gui/src/pages/gui/Chat.tsx @@ -285,12 +285,12 @@ export function Chat() { const showScrollbar = showChatScrollbar ?? window.innerHeight > 5000; useAutoScroll(stepsDivRef, history); - + console.log(showSessionTabs); return ( <> {widget} - {!!showSessionTabs && } + {!!showSessionTabs && mode !== "edit" && } Date: Thu, 1 May 2025 21:58:09 -0700 Subject: [PATCH 2/2] Update Chat.tsx --- gui/src/pages/gui/Chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx index 32a99f88d..2514909bc 100644 --- a/gui/src/pages/gui/Chat.tsx +++ b/gui/src/pages/gui/Chat.tsx @@ -285,7 +285,7 @@ export function Chat() { const showScrollbar = showChatScrollbar ?? window.innerHeight > 5000; useAutoScroll(stepsDivRef, history); - console.log(showSessionTabs); + return ( <> {widget}