From 003e8f4be33f0b1eea6ae6d8b67e9c9b354fb2df Mon Sep 17 00:00:00 2001 From: simos Date: Tue, 12 Aug 2025 13:11:24 +0300 Subject: [PATCH] refactor: Simplify input area layout and remove unused provider selection components in ChatInterface --- src/components/ChatInterface.jsx | 114 +------------------------------ 1 file changed, 2 insertions(+), 112 deletions(-) diff --git a/src/components/ChatInterface.jsx b/src/components/ChatInterface.jsx index 58f761d..bf30dfc 100644 --- a/src/components/ChatInterface.jsx +++ b/src/components/ChatInterface.jsx @@ -3037,120 +3037,10 @@ function ChatInterface({ selectedProject, selectedSession, ws, sendMessage, mess {/* Input Area - Fixed Bottom */} -
- {/* Provider Selection and Working Status - positioned above the input form */} -
-
- {/* Provider & Model Selection or Fixed Provider for existing session */} -
- {selectedSession?.__provider ? ( -
- {selectedSession.__provider === 'cursor' ? ( - - ) : ( - - )} - {selectedSession.__provider} -
- ) : chatMessages.length === 0 ? ( -
- - - {/* Always reserve space for model dropdown to prevent jumping */} -
- -
-
- ) : ( - <> - - {/* Always reserve space for model dropdown to prevent jumping */} -
- -
- - )} -
- - {/* Status Display */} -
- -
-
-
+ {/* Permission Mode Selector with scroll to bottom button - Above input, clickable for mobile */}