From 616dd4f6b82d59f2a4800addc88d578c0bedaf8d Mon Sep 17 00:00:00 2001 From: ethan Date: Mon, 17 Nov 2025 17:34:25 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20fix:=20enable=20queued=20message?= =?UTF-8?q?s=20during=20compaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove isCompacting check from textarea disabled condition - Remove isCompacting check from handleSend early return - Update placeholder to show queuing capability during compaction Users can now type and queue messages while compaction is running. Messages are automatically queued by backend and sent after compaction completes. _Generated with `mux`_ --- src/browser/components/ChatInput/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/components/ChatInput/index.tsx b/src/browser/components/ChatInput/index.tsx index dd5db7ea3..20bbb1827 100644 --- a/src/browser/components/ChatInput/index.tsx +++ b/src/browser/components/ChatInput/index.tsx @@ -449,7 +449,7 @@ export const ChatInput: React.FC = (props) => { const handleSend = async () => { // Allow sending if there's text or images - if ((!input.trim() && imageAttachments.length === 0) || disabled || isSending || isCompacting) { + if ((!input.trim() && imageAttachments.length === 0) || disabled || isSending) { return; } @@ -849,7 +849,7 @@ export const ChatInput: React.FC = (props) => { const interruptKeybind = vimEnabled ? KEYBINDS.INTERRUPT_STREAM_VIM : KEYBINDS.INTERRUPT_STREAM_NORMAL; - return `Compacting... (${formatKeybind(interruptKeybind)} cancel | ${formatKeybind(KEYBINDS.ACCEPT_EARLY_COMPACTION)} accept early)`; + return `Compacting... (${formatKeybind(interruptKeybind)} cancel | ${formatKeybind(KEYBINDS.ACCEPT_EARLY_COMPACTION)} accept early | ${formatKeybind(KEYBINDS.SEND_MESSAGE)} to queue)`; } // Build hints for normal input @@ -924,7 +924,7 @@ export const ChatInput: React.FC = (props) => { onDrop={variant === "workspace" ? handleDrop : undefined} suppressKeys={showCommandSuggestions ? COMMAND_SUGGESTION_KEYS : undefined} placeholder={placeholder} - disabled={!editingMessage && (disabled || isSending || isCompacting)} + disabled={!editingMessage && (disabled || isSending)} aria-label={editingMessage ? "Edit your last message" : "Message Claude"} aria-autocomplete="list" aria-controls={