feat(chat): update placeholder text in ChatInput based on session state

This commit is contained in:
Bohdan Triapitsyn
2025-12-22 01:22:25 +02:00
parent f0d4421325
commit 5e103394d7
@@ -1081,11 +1081,9 @@ export const ChatInput: React.FC<ChatInputProps> = ({ 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(