From 5e103394d7ae3ac26364f8634387d64f42365dc0 Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Mon, 22 Dec 2025 01:22:25 +0200 Subject: [PATCH] feat(chat): update placeholder text in ChatInput based on session state --- packages/ui/src/components/chat/ChatInput.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/ui/src/components/chat/ChatInput.tsx b/packages/ui/src/components/chat/ChatInput.tsx index 3e875947..05f318c2 100644 --- a/packages/ui/src/components/chat/ChatInput.tsx +++ b/packages/ui/src/components/chat/ChatInput.tsx @@ -1081,11 +1081,9 @@ export const ChatInput: React.FC = ({ onOpenSettings, scrollToBo onKeyDown={handleKeyDown} onPaste={handlePaste} onPointerDownCapture={handleTextareaPointerDownCapture} - placeholder={currentSessionId + placeholder={currentSessionId || newSessionDraftOpen ? "# for agents; @ for files; / for commands" - : newSessionDraftOpen - ? "Type your first message..." - : "Select or create a session to start chatting"} + : "Select or create a session to start chatting"} disabled={!currentSessionId && !newSessionDraftOpen} className={cn(