From ab03e7652364a07cfa4e50c2f1ec00e5bc95cf3f Mon Sep 17 00:00:00 2001 From: Nahiyan Khan Date: Sat, 21 Jun 2025 21:05:47 -0400 Subject: [PATCH] iteration --- ui/desktop/src/components/ChatInput.tsx | 64 ++-- ui/desktop/src/components/ChatView.tsx | 311 ++++++++++-------- ui/desktop/src/components/Splash.tsx | 128 +++---- .../src/components/bottom_menu/BottomMenu.tsx | 42 ++- .../bottom_menu/BottomMenuModeSelection.tsx | 10 +- .../src/components/more_menu/MoreMenu.tsx | 8 +- .../components/sessions/SessionsSideView.tsx | 53 ++- .../models/bottom_bar/ModelsBottomBar.tsx | 20 +- ui/desktop/src/components/ui/button.tsx | 2 +- ui/desktop/src/components/ui/input.tsx | 2 +- ui/desktop/src/components/ui/sidebar.tsx | 2 + ui/desktop/src/main.ts | 3 +- ui/desktop/src/styles/main.css | 10 + 13 files changed, 363 insertions(+), 292 deletions(-) diff --git a/ui/desktop/src/components/ChatInput.tsx b/ui/desktop/src/components/ChatInput.tsx index aa88af42d4..bce7fc67d2 100644 --- a/ui/desktop/src/components/ChatInput.tsx +++ b/ui/desktop/src/components/ChatInput.tsx @@ -40,11 +40,7 @@ export default function ChatInput({ onStop, commandHistory = [], initialValue = '', - setView, - numTokens, droppedFiles = [], - messages = [], - setMessages, }: ChatInputProps) { const [_value, setValue] = useState(initialValue); const [displayValue, setDisplayValue] = useState(initialValue); // For immediate visual feedback @@ -432,11 +428,11 @@ export default function ChatInput({ return (