Repository navigation
Description
The workflow
On a phone, while a thread is running, I want to decide per message whether it steers the current run or is queued for after the run ends, the same way I do on desktop with Enter versus Ctrl/Cmd+Enter.
What happens today
Tested against desktop-v0.45.0 (129f621771a3e275773992db648316966ac207cf).
The follow-up composer picks the primary action from the "Default thread followup behavior" setting (steerActiveThreadOnEnter):
bb/apps/app/src/components/promptbox/FollowUpPromptBox.tsx
Lines 597 to 605 in 129f621
| const steerOnPrimarySubmit = | |
| submitMode.kind === "queue" && composer.steerActiveThreadOnEnter; | |
| const isSteeringWhenReady = | |
| steerOnPrimarySubmit && | |
| (composer.threadRuntimeDisplayStatus === "provisioning" || | |
| composer.threadRuntimeDisplayStatus === "starting"); | |
| const onModifierSubmit = composer.canModifierSubmit | |
| ? composer.onModifierSubmit | |
| : undefined; |
The alternative action is only reachable through ComposerSendMenu. On a coarse pointer with a compact viewport that menu is a long-press on the Send button (700 ms hold, compact-long-press-menu.tsx L14), with no visible affordance that the button has a secondary gesture:
bb/apps/app/src/components/promptbox/ComposerSendMenu.tsx
Lines 71 to 90 in 129f621
| if (isPointerCoarse && isCompactViewport) { | |
| if (!canSubmit) return children; | |
| return ( | |
| <CompactLongPressMenu | |
| label="Send options" | |
| onOpenChange={handleOpenChange} | |
| items={items} | |
| > | |
| <span | |
| className="inline-flex" | |
| onPointerUpCapture={(event) => { | |
| if (!open) return; | |
| event.preventDefault(); | |
| event.stopPropagation(); | |
| }} | |
| > | |
| {children} | |
| </span> | |
| </CompactLongPressMenu> | |
| ); |
The modifier shortcut is not available on a soft keyboard. In practice a phone user only gets the default action; getting the other one means either discovering the long-press or changing the global setting in Settings → General, which affects desktop too.
Steps:
- Open a thread that is currently running at a phone-sized touch viewport (for example 390 × 844 with touch emulation, or Safari on iOS).
- Type a follow-up. The footer shows a single Send button whose action is whatever
steerActiveThreadOnEntersays. - The only way to perform the other action is to press and hold Send for at least 700 ms and pick "Queue" or "Steer" from the pop-up.
What you would expect
- On coarse-pointer devices, while the thread is running, a second visible icon button next to Send in the follow-up composer that performs the non-default action: when Enter steers, the extra button queues ("Queue follow-up", clock icon); when Enter queues, it steers ("Steer current run", zap icon).
- When the alternative is not available (for example steering is not possible but queueing is), the extra button is hidden and the primary button keeps working.
- The long-press menu can stay for plugin-contributed send items.
- Desktop (fine pointer) behavior unchanged.
How the fork implements it
Prototype: desktop-v0.45.0...hxy91819:bb:feature/mobile-queue-action (4 files, +160/−44).
PromptBoxSubmissionConfiggains an optionalsecondaryAction: { icon, onSubmit, title }.FollowUpPromptBoxderives it fromsteerOnPrimarySubmit:composer.onSubmitwith the clock icon when Enter steers,composer.onModifierSubmitwith the zap icon otherwise, and only when that action is currently allowed.PromptBoxInternalrenders it as anoutlineicon button (data-promptbox-secondary-submit-action) immediately before the existingComposerSendMenu, only whenisPointerCoarse, with agap-3between the two buttons;app.cssreserves extra right padding in the collapsed follow-up composer when the second button is present so text does not run under it.- Unit tests in
FollowUpPromptBox.test.tsxcover both settings and the "steer unavailable, queue still offered" case.
Two unrelated changes are on the same branch and would be split out or dropped before a PR: the Send button renders as a ghost/outlined variant while the draft is empty (all pointer types), and an allowSoftKeyboardAutoFocus prop on PromptBoxInternal that no caller sets yet.
What I ruled out
- Not Compact composer shrinks touch actions and expands empty voice input #4584 or Mobile portrait: composer footer controls overlap and Send button is inaccessible #4448 (both closed): those are about touch target size and footer overlap, not about exposing the second action.
- Searched open and closed issues for "queue mobile", "queue steer mobile", "steer phone", "mobile follow-up queue", "touch send button queue", "long-press send", and the
mobilelabel; no match. - Not verified on a physical iOS device; behavior described from the code and the branch's unit tests.
Per CONTRIBUTING, this issue comes before a PR. I will open the PR from the branch above after sign-off here and contributor approval.
AGENT GENERATED
Activity
Record upstream issues get-bb#4811, get-bb#4812 and the get-bb#4778 c…
bb-slop-cop commentedon Oct 3, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied missing classifications: Type: Feature · Priority: Low · Effort: Medium. Added labels:
ui,mobile. No existing classification values or labels were replaced; final values verified.This adds a visible touch-composer action for functionality already available through the send menu, rather than correcting unexpected behavior. Low priority reflects the existing workaround; medium effort reflects coordinated composer, layout, and interaction-test changes.
No reproduction report or pull request: the final Type is Feature, so this rule skips bug reproduction and fixes.
Record upstream issues get-bb#4811, get-bb#4812 and the get-bb#4778 c…