fix(mobile): label the pill's running-state action as queue

While a turn runs, the collapsed pill showed a plain Send button for a
draft that the expanded composer shows as Queue with a rotated icon, and
the pill routed it through the primary action. The pill now queues, with
the same label and icon as the expanded composer.

Claude-Session: https://claude.ai/code/session_01VqV56Hez25hTxXH4ipJfzH
This commit is contained in:
Bohdan Triapitsyn
2026-09-05 15:08:15 +03:00
parent 1e0d7abb6e
commit 319cf9f17a
3 changed files with 31 additions and 11 deletions
@@ -3103,6 +3103,7 @@ const ChatInputComponent: React.FC<ChatInputProps> = ({
onExpand={mobileShell.expand}
onApplySuggestion={applyAssistSuggestion}
onPrimaryAction={handlePrimaryAction}
onQueueMessage={() => { void handleQueueMessage(); }}
onNewSession={handleMobileNewSession}
onPickLocalFiles={handlePickLocalFiles}
onOpenIssuePicker={openIssuePicker}