feat(p2): name the busy send choices "Steer" and "Follow up"
Some checks are pending
CI / build-check (push) Waiting to run
CI / test (chord) (push) Waiting to run
CI / test (coding-agent) (push) Waiting to run
CI / test (durable) (push) Waiting to run
CI / test (other) (push) Waiting to run
CI / mcp-conformance (push) Waiting to run

This commit is contained in:
Christian Klotz 2026-11-12 23:42:20 +00:00
parent fbde969450
commit d36266e066
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -143,7 +143,7 @@ node:
in a new branch instead. The composer has one Send button: a tap sends (steers while a run is busy); a long press
on it (touch), a right-click, the Menu key or Shift+F10, or ArrowUp while it has focus opens its menu of both ways
to send (Elanor's `Menu`, opened by Send's own handlers: a trigger would open on the click that sends): Send and
"Send in a new branch" while idle, steering and "Queue as a follow-up" while a run is busy (owner decisions: one
"Send in a new branch" while idle, "Steer" and "Follow up" while a run is busy (owner decisions: one
button, no second control; Elanor's component; it replaced the Steer toggle). Alt+Enter is the second way at once.
The menu takes the focus and gives it back when it closes (Escape returns to Send); opened from the keyboard or a
mouse its first item has it. On a phone the keyboard closes while the menu is open. Under the session in the sidebar, from two branches on, one row per

View file

@ -1258,8 +1258,8 @@ function SessionChat({ sessionId, conversationId }: { sessionId: string; convers
);
const sends: { send: SendChoice; alternate?: SendChoice } = busy
? {
send: { label: "Steer the current run", run: () => send("steer") },
alternate: { label: "Queue as a follow-up", run: () => send("followUp") },
send: { label: "Steer", run: () => send("steer") },
alternate: { label: "Follow up", run: () => send("followUp") },
}
: {
send: { label: "Send", run: () => send("steer") },

View file

@ -501,7 +501,7 @@ describe("branches in the browser", { skip: !browserTests }, () => {
await browser.click(".composer button.send");
await browser.wait(`document.querySelector('.composer button.stop')`);
await browser.evaluate(input("while busy"));
assert.deepEqual(await rightClick(), ["Steer the current run", "Queue as a follow-up"]);
assert.deepEqual(await rightClick(), ["Steer", "Follow up"]);
await key("Escape", 27);
await browser.wait(`!document.querySelector('.send-options')`);
await browser.click(".composer button.stop");