From 37b370511f5b86eb82d0cde768c9e1c0472db797 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 29 Mar 2026 21:14:09 +0300 Subject: [PATCH] chore(llm): get rid of different chat bar for sidebar --- .../src/widgets/sidebar/SidebarChat.tsx | 1 - .../type_widgets/llm_chat/ChatInputBar.tsx | 53 +---------- .../widgets/type_widgets/llm_chat/LlmChat.css | 93 ------------------- 3 files changed, 1 insertion(+), 146 deletions(-) diff --git a/apps/client/src/widgets/sidebar/SidebarChat.tsx b/apps/client/src/widgets/sidebar/SidebarChat.tsx index d52a5cd07b..6d20438260 100644 --- a/apps/client/src/widgets/sidebar/SidebarChat.tsx +++ b/apps/client/src/widgets/sidebar/SidebarChat.tsx @@ -296,7 +296,6 @@ export default function SidebarChat() { chat={chat} onSubmit={handleSubmit} onKeyDown={handleKeyDown} - compact /> diff --git a/apps/client/src/widgets/type_widgets/llm_chat/ChatInputBar.tsx b/apps/client/src/widgets/type_widgets/llm_chat/ChatInputBar.tsx index 555f48b8f1..5552a71251 100644 --- a/apps/client/src/widgets/type_widgets/llm_chat/ChatInputBar.tsx +++ b/apps/client/src/widgets/type_widgets/llm_chat/ChatInputBar.tsx @@ -29,8 +29,6 @@ interface ChatInputBarProps { showExtendedThinking?: boolean; /** Whether to show the context pie chart */ showContextPie?: boolean; - /** Compact mode for sidebar */ - compact?: boolean; } export default function ChatInputBar({ @@ -43,8 +41,7 @@ export default function ChatInputBar({ onModelChange, showModelSelector = false, showExtendedThinking = false, - showContextPie = false, - compact = false + showContextPie = false }: ChatInputBarProps) { const handleSubmit = onSubmit ?? chat.handleSubmit; const handleKeyDown = onKeyDown ?? chat.handleKeyDown; @@ -69,54 +66,6 @@ export default function ChatInputBar({ onModelChange?.(model); }; - if (compact) { - return ( -
-