Repository navigation
feat(mobile): show linked computers and worktrees in new threads - #238
Merged
Merged
Conversation
The worker picker groups workers by computer and greys out the ones on a linked computer that is not reachable, with the web's reason; the presence rules move to @canopy/domain/computer-presence. A new thread can work in the checkout, a new worktree from a base ref or a previous worktree.
nixuuu
marked this pull request as ready for review
November 6, 2026 07:44
This was referenced Nov 13, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 20, 2026
## Change Reserve one row under the native New thread composer for the worktree and branch controls. Delayed Git discovery fills the row in place, keeping the heading and message field steady. Long labels truncate on one line. ## Verification - On an Android 16 emulator with deliberately delayed Git refs, the heading and message field moved 0 px. Checked light mode at 411 dp and dark mode at 300 and 411 dp, including system text scaled to 150% and 200% and a non-Git workspace. - Selected a base branch and an existing worktree through their pickers. Long worktree and branch names stayed on one line at 300 dp. The worker and model labels elsewhere in the composer clipped at 300 dp with 150% text. - The copy audit (§8) covered the removal of the standalone “Manage projects” shortcut from New thread. Project management is available in Settings → Projects. - The mobile typecheck, lint on both edited files, and `git diff --check` passed locally. Repository-wide checks are left to CI. iOS verification remains open. Fixes: #238
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stage 3 of 4, mobile parity round 2: where a thread runs.
Changed
computersand handlescomputer,computer_removedandcomputer_snapshot. The phone's snapshot already carries the linked computers' workers, projects and threads.computerName,sharesThreads,awayReason, …) move from the web to@canopy/domain/computer-presence, and the web imports them from there. The web formats times with its own clock settings.ListGitRefs), the new thread shows:CreateThreadgetsworkspace_mode,base_refandworktree_id.Checked
Copy audit (§8)