Repository navigation
Description
Problem & intent
In the sidebar, a row for a session on another machine (a listed row, src/renderer/src/sidebar/ListedRow.tsx) opens only by a plain click or Enter. It ignores ⌘-click and middle-click. A row for a local session (src/renderer/src/sidebar/SessionRow.tsx, lines 74 to 75) and a Needs you row (NeedsYou.tsx, lines 135 to 136) open a new tab on both.
What a person meets: with one remote session open in an unpinned tab, a plain click on a second listed row replaces that tab. To see two remote sessions side by side they have to pin the first tab, then click the second, then split. ⌘-click, which does this for local sessions, does nothing different from a click.
Found on master 37f68b4 by P5 O15 M2b's wake case, whose scene needed two remote sessions in two panes; read again on master 0e1718b.
The opener contract already carries the choice: RemoteOpener = (listed, how?: { newTab: boolean }) (src/renderer/src/sessions/remote-openers.ts), and both lanes' openers honour how.newTab with useLayout.getState().openTab(...) (lane-a/remote-connect.ts line 26, lane-b/remote-connect.ts line 59; added for the resume chooser's ⌘Enter, P5 O7 M8). ListedRow's activate calls open(listed) without it.
Intent: a listed row answers ⌘-click and middle-click as a local session row does, with a tab of its own.
Constraints
- App-side (renderer). It reaches master only after P5 O15 has recorded the build it verifies (F); see
docs/doperpowers/plans/2026-11-10-p5-o15-recomposition.md. - No change to the opener contract or to main:
how.newTabexists. - With no opener registered for the lane, a click keeps today's behaviour (the row is selected and its hover card shows).
- Enter stays a plain open. Whether ⌘Enter on a focused row should open a new tab follows whatever
SessionRowdoes at build time.
Success criteria
- ⌘-click on a listed row opens that session in a new tab and leaves the current tab as it was, for lane A and lane B.
- Middle-click does the same.
- A plain click is unchanged.
- A component test for
ListedRowcovers the three inputs against a registered opener (the opener receives{ newTab: true }for the first two and nohow, ornewTab: false, for the third). - P5 O15 M2b's wake scene in
e2e/remote-latency.spec.tsmay drop its pin-first step, or keep it; either way it stays green.
Open questions
openListed(appSessionId)inremote-openers.ts(the path Needs you, ⌘⇧J and a notification click take for a listed session) callsopen(listed)with nohow. Check whether a ⌘-click on a Needs you row for a remote session loses its new-tab intent there; if it does, pass it through in the same change.
Decision log
- 2026-11-10, the MAWS architect: registered instead of fixed in O15's branches, because O15 freezes the app's behaviour until F is recorded and this is not part of the 16 acceptance items. The wake scene works around it by pinning the first tab.
Activity
SSFSKIM commentedon Nov 10, 2026
[board] ready-for-implementer: App-side: lands after P5 O15 records F. Buildable from the body.
UX wave U7, O-38 and #559: the tests first
UX wave U7, O-38 and #559: a listed session opens like a local one
UX wave U7, #559: the test first for an anchored Needs you row of a l…
UX wave U7, #559: an anchored Needs you row of a listed session opens…
SSFSKIM commentedon Nov 13, 2026
[board] done: landed in #632 (master 1157a39)
SSFSKIM commentedon Nov 13, 2026
[board] done: Landed with PR #632 (master 1157a39, master-first merge of 6373a3e, tree-equal).