Repository navigation
feat(mobile): tap the session title to see its full name, path and host - #30389
Conversation
A sideways phone caps the title at 160pt beside the tabs, so long worktree names were cut off with no way to read them. Tapping the title now opens a card under the top bar, built like desktop's tab hover card, with the full name, the worktree's path and the host. It fades and slides in over 150ms (fade only with Reduce Motion), and any tap outside closes it.
… View import; lazy card animation value
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. ℹ️ Recent review info
Walkthrough
Priority: Merge Risk:
|
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a46e6cc2-d9b2-420a-8c5e-5ad65cac58d7
📒 Files selected for processing: 9
mobile/src/components/AnchoredDetailCard.tsxmobile/src/session/MobileSessionHeader.tsxmobile/src/session/MobileSessionTitleBlock.test.tsxmobile/src/session/MobileSessionTitleBlock.tsxmobile/src/session/session-read-reply-schema.tsmobile/src/session/use-live-worktree-name.tsmobile/src/session/use-mobile-session-foundation.tsmobile/src/session/use-mobile-session-lifecycle.tsmobile/src/session/use-mobile-session-terminal-runtime.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a6307e4f-1145-4fde-9072-e039f73d24e0
📒 Files selected for processing: 11
mobile/src/components/AnchoredDetailCard.tsxmobile/src/session/MobileSessionHeader.tsxmobile/src/session/MobileSessionTitleBlock.test.tsxmobile/src/session/MobileSessionTitleBlock.tsxmobile/src/session/session-read-reply-schema.tsmobile/src/session/use-live-worktree-name.test.tsmobile/src/session/use-live-worktree-name.tsmobile/src/session/use-mobile-session-foundation.tsmobile/src/transport/use-workspace-client.tsmobile/src/transport/workspace-server.test.tsmobile/src/transport/workspace-server.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
…itle-card # Conflicts: # mobile/src/session/MobileSessionHeader.tsx
[Medium impact] The changes since the previous review appear safe to merge. SummaryAdds a tappable session title that opens a card with the full workspace name, path, and known host. The latest changes translate its accessibility hint into all supported languages.
|
…r-30389 # Conflicts: # mobile/app/_layout.web.tsx # mobile/src/layout/host-sidebar-reveal.test.tsx # mobile/src/session/MobileSessionHeader.tsx # mobile/src/session/MobileSessionSurface.tsx # mobile/src/session/use-live-worktree-name.ts # mobile/src/transport/use-workspace-client.ts # mobile/src/transport/workspace-server.test.ts # mobile/src/transport/workspace-server.ts
|
Review complete — 9c991d4; exact-head CI green. Long session names are cut off on phones. Tapping the permanent title now opens a selectable card with the full name, exact path and known host. Outside taps activate their control and dismiss the card; this is intended, matching the desktop tab card. Logical close releases input, focus and Back while the reversible visual exit finishes. The existing six-round full review fixed Back ownership, stale placement, inaccessible long content, path whitespace, host attribution and lost title input. Continued bounded checks agreed. Latest main merge Since screenshot head Intended difference: On iPhone Duo's connected compact header (#35177), which shows no title, there is no title card. No proxy or new entry point was added. The mobile/light UI row is
Earlier independent native evidence supports both phones’ pristine full-title/path Copy, held-title and selection/drag across removal without unrelated action, outside fade/double actions, More navigation/return, covered-target priority, scrolling and dirty-draft header Back. Eight rapid pairs, next title taps, both 400ms controls and held-outside Files checks carry with their original limits; this is not hardware input equivalence. Out-of-scope notes: Session History displayed a missing-scanner error, so working history loading was not proved; New Tab background reading exposure and the pre-existing open-card edge swipe to Home remain recorded observations. Android, hardware keyboard/IME/AT and extra host topologies were not exercised. The earlier bundle-count repair used a gated same-main graph comparison and real 16-prefix sweep. Margin 4, unused-margin, byte/entry/catalog/font, lazy-loading and shell protections remain unchanged. The latest bundle job passed without another sweep or budget edit. Related work: #31617 measures its separate 17-route tree; whichever lands second remeasures. Ticket 3538 was released; this merge started no QA machine job. #36395 is untouched; the lane owner received this new pushed head for re-sync. For Brennan’s review:
|
Reverts 852391d (#36395). The card popped up on every tab switch. Tapping a tab switches tabs again, and the session title card goes back to its own owner from #30389. Keeps later changes to these files: tab press feedback, the compact top bar's + button, and #36866's keyboard keep-focus for title taps.
Reverts 852391d (#36395). The card popped up on every tab switch. Tapping a tab switches tabs again, and the session title card goes back to its own owner from #30389. Keeps later changes to these files: tab press feedback, the compact top bar's + button, and #36866's keyboard keep-focus for title taps.
…abs (#38206) * revert(mobile): drop the details card on session tab taps Reverts 852391d (#36395). The card popped up on every tab switch. Tapping a tab switches tabs again, and the session title card goes back to its own owner from #30389. Keeps later changes to these files: tab press feedback, the compact top bar's + button, and #36866's keyboard keep-focus for title taps. * fix(mobile): hide branch and folder when the setting is off The phone's workspace row always printed the branch or folder path, so the Branch name / Branch / folder path toggle under Card display did nothing. The shared card details now carry that rule, and the row reads it. * fix(mobile): centre the chevron on Home list rows * fix(mobile): scroll sheets taller than the screen Content-sized sheets ride the keyboard by translation, but their height cap ignored that lift, so a tall sheet pushed its top off screen with no way to scroll back to it. The cap now gives back the keyboard lift. Sheets that scroll their own list can now shrink to the cap instead of clipping it, and the GitHub Pages picker no longer nests its list inside the drawer's ScrollView. * feat(mobile): show each desktop's machine kind and model The desktop now reports whether it is a laptop, desktop or server, and its model, on status.get. The phone stores it with the other last-known host fields and turns it into a line like "MacBook Pro · macOS". * feat(mobile): edit a host from its screen and align the Automations bar The host screen's menu gains Edit host and Network diagnostics. Edit host moves onto the standard bar and gains Remove host. Automations uses the standard bar with its switcher pinned under it, as Source Control does. * feat(mobile): arrange Home and bring back stats and account usage Home drops the Jump back in times, names the repo on every Jump back in row (#37642), shows each desktop's machine kind, and adds stats and account usage at the bottom. A new Arrange button reorders and hides sections, saved on the phone. * fix(mobile): keep the page bundle within budget and show the machine on the host screen The edit route gets a web stub so its native-only removal flow stays out of the page's chunks, and Automations keeps its own segment style. The host screen header shows the machine line like Home does. * fix(mobile): give the edit route's page stub its own module A bare re-export of the catch-all route compiled to the same asset as [...page], so the page manifest listed it twice and the desktop template's inventory check refused the build. * feat(mobile): turn Home into Feed, Usage, Automations and Settings tabs Feed keeps agents (needs-you first, five then Show all), desktops with a needs-you count, and Tasks; New workspace moves to a floating button. Usage shows stats and per-desktop account usage, Automations a per-desktop summary with on/off switches that opens the page for editing (new=1 opens its editor). Settings becomes a tab. Arrange Home is removed: tabs replace the long scrolling Home it was for. * style(mobile): darken the accent blue slightly * style(mobile): give the Home Tasks row the desktop tile icon * style(mobile): condense the Home Feed Smaller tiles, type and gaps; a desktop is two lines with its needs-you count as an amber pill; the Tasks row drops its duplicate heading. * style(mobile): drop the Last known prefix on Home desktop rows * chore(mobile): bump to 0.0.63 and Android versionCode 27 * test(mobile): re-record Linear task recordings for the darker accent blue * test(mobile): check the page Back stack on Tasks now that Edit host is native * fix(mobile): pass the Usage tab's limit window to the shared usage helpers * fix(mobile): type the Usage tab test to the account-slot limits and keep the tab under 400 lines



ELI5
Long session names are cut off on a phone, especially beside the tabs in landscape. Tap the title to read its full name, exact folder path and known host in a small card.
What Changed
The title stays the same button while details open and close. The card appears below the header, wraps long values and scrolls when needed. Name and path text can be selected and copied. It fades and slides 6pt over 150ms; Reduce Motion keeps the fade. Tapping again while it closes reopens it. Fresh placement arriving before the exit finishes reverses the same animation; if the exit has finished first, the card fades in again. This is intended: a pending measurement preserves the reopen request without keeping an already invisible card mounted.
An outside tap both closes details and performs the control's normal action. This is intended, matching the desktop tab card. Closing immediately releases the card's input, focus and Back handling while its visual exit finishes. Header Back closes details first; the next Back uses the session's existing leave behavior. Keyboard focus can move through the card and onward to nearby controls. A higher sheet takes precedence.
The card renders beside the page in the document rather than covering the title or intercepting the background. Tagged measurements and animation completions prevent an older close from discarding a newer open. The page reads existing optional path and execution-host metadata; no saved format, wire operation or dependency changes. An unproven host name is omitted, and older hosts still show the information they provide.
Why
This keeps the common desktop card behavior and the existing title as the actual input target. A screen-covering layer lost rapid re-taps and made outside controls unusable during closing. Visual presence now has a separate lifetime from interaction.
Linked Issue
Tracked in the Discord report “For mobile app when phone is turned.”
Visual Proof
The real served page was captured inside the normally signed 0.0.60 simulator client on both phones at
1fad99982b35b1c60ad405793623edc503a8a12f. Later commit9d4a4028829365d6f0a99c8dac73bffbd6d7b14eadds a renderer contract test. Commit92d29b096576904068829a91c624269a2f3a84f2refreshes the measured bundle table and its existing tests; it changes no card rendering or imports. These tests-row changes retain the screenshots under the review skill’s staleness rule; The renderer contracts and merged-head CI cover this integration. Portrait images use pristine web assets; landscape uses the diagnostic bundle. The floating gear on Pro belongs to the development client.iPhone SE landscape (diagnostic):
Testing
Main merge
9c991d4e1f8e7d538318d41cbfa193fb8954eb5bbrings mainb83e76f01e66fa9d2467a2fb2fa12b5e1b7be62einto5a58fadbbc1b907815c593f635a7906ee43168bafor the Orchestration v3: coordinators end their turn and Orca wakes them #36137 Surface conflict. Bounded resolution review agreed against both parents: main’s worker auto-close strip stays between Header and ContentRow, and the title-card, Duo layout and nonmodal input behavior stay unchanged. One existing title regression adds the same sibling mock used by main’s Surface tests, preserving every assertion. Main-merge staleness carry applies to the original screenshots; no native replay was performed. Exact-head PR Checks and Mobile Checks passed: all 12 selected unit shards, renderer tests, static/typecheck and bundle verification. The new title fixture passed 2/2, header overflow 3/3 and web scope 2/2. The current head is CLEAN/MERGEABLE with all six review threads resolved. No bundle budget change or additional measurement was needed.Main merge
5a58fadbbc1b907815c593f635a7906ee43168babrings mainb2b8b0be9362808ff2235fdf061e303513d372a7into the previously reviewed92d29b096576904068829a91c624269a2f3a84f2. Bounded resolution review agreed against both parents. Main’s Duo controls and compact layout remain; title absence now uses the existing card-eligibility path to release an open card, Back claim and stale measurements, covered by one new actual Surface/Header regression. Existing header/overflow/cleanup fixtures were adapted without removing assertions. Merged-head PR Checks and Mobile Checks passed, including the renderer suite, all selected unit shards, static/typecheck and bundle verification. The bundle remains 16 routes, 100 chunks and 161 assets under unchanged guards; no further remeasurement was needed. Main merges preserve prior QA evidence; no native flow was replayed.The review skill classifies this mobile UI change as
qa=tests: CI, renderer tests and screenshots of the shipped screen in the emulator. The native controls listed above document coverage limits and are outside the required run scope.The existing six-round full review and binding final design ruling are complete. Continued bounded source/integration, renderer-contract and bundle-correction verification agreed. The card’s source and appearance are unchanged since the screenshot head.
Earlier verified CI: passed on
92d29b096576904068829a91c624269a2f3a84f2(PR Checks, Mobile Checks). The prior bundle-count failure was repaired after measuring current main and the PR integrated into the same main on a gated Windows machine. The PR adds one required shared portal-host chunk, with no existing modules repartitioned or new dependency. A real sweep of all 16 sorted route prefixes measured 100 code chunks and a largest route step of 15. The measured table and existing spread/shell-boundary fixture were refreshed; margin 4, unused-margin, byte, entry, catalog, font, lazy-loading and shell-limit protections remain. The production build, packaged/deterministic verifiers and all 40 tests in the named bundle suite passed with zero skipped. No local dependency install, build, lint or typecheck ran in this review worktree.Independent evidence audits additionally support both phones’ pristine full-title/path Copy, held-title and selection/drag across close/removal, outside fade/double actions, product More navigation/return and covered-target priority, long-value scrolling and dirty-draft header Back. All eight earlier rapid pairs, subsequent ordinary title taps, both 400ms controls and held-outside Files controls carry without replay.
Out-of-scope notes: both Session History destinations opened but showed a missing session-scanner error, so usable history loading was not proved. New Tab background reading exposure and the pre-existing open-card edge swipe to Home remain recorded observations, not readiness blockers.
Pristine SE native full-path selection and Copy (exact 48-byte result):
Review
Intended difference: On iPhone Duo's connected compact header (#35177), which shows no title, there is no title card.
Related work: #31617 also updates the measured bundle table for its separate 17-route tree. Whichever PR lands second remeasures against the resulting route tree; this PR does not change #31617.
The change is mobile UI and existing optional metadata. Cross-version hosts, SSH ownership and folder/floating routes were considered in source; unrun platform/topology coverage will remain explicit. Separate landscape layout work is outside this PR.
Checklist