Repository navigation
fix(mobile): show each project once in pickers - #368
Merged
Merged
Conversation
This was referenced Nov 13, 2026
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.
Change
Mobile's Project picker now shows one “No project” and one choice per shared project identity, using the same global-id/Git-origin model as web. Distinct same-name projects show computer/workspace details. Worker choices have one row per worker and stable computer groups. The sidebar filter, thread defaults and project settings use the same projection; settings still edit the original local record.
Two causes were reproduced:
Shared reconciliation now enforces stable resource IDs, replaces a home's snapshot atomically and preserves other homes' workspaces. The shared projection deduplicates workspace and project references. Real two-gateway coverage replays phone subscriptions through aggregate snapshots, peer snapshots and compatibility upserts, then checks original home/workspace selection and routing. Existing owner-scoping and offline coverage remains intact.
The inspected gateway path serves peer RPCs through local-only handlers and qualifies home IDs; no A→B→A aggregation was found. This change requires no gateway update or protocol change. Mobile ships through OTA; web/desktop reconciliation hardening accompanies the next desktop update.
Verification
bun install,bun run gen:check,bun run typecheck,bun run lint,bun run format:check, andbun run --filter @canopy/web build.bun run check:tmp --timeout 20000— 1,822 passed, 161 skipped, 0 failed across 325 files;check:tmp: nothing left in the temp dir.bun run lintalso passed.OTA compatibility
Only JS/TS and documentation changed. Native dependencies, app configuration and protocol descriptors are unchanged. No EAS builds or APKs were produced.
Ran
bunx [email protected] fingerprint:generate --platform <ios|android> --build-profile production --json --non-interactivebefore editing and after the final commit. Full fingerprint JSON files compare byte for byte:2a0ef03a2a0fda8e7fad2e3df8609803d2edbda3c5c880ae8d0f5d7bc867fcbaf8f756b2ca56a07dCopy audit (§8)
Before: repeated “No project”/project rows and worker names without their computer. After: one scratch choice, searchable aliases (“Also named …”), computer/path details for distinct same-name projects, and “Worker · Computer” in settings. Missing scratch workspaces use the existing web instruction: “No scratch directory. Configure this worker.”
Text follows sentence case and the existing glossary, with action verbs and accessible text cues. No new confirmations, error flows, glossary terms or humor. Details use existing compact text slots. Short/typical/long-name rendering at phone and wide widths remains unverified (§8.9); no visual verification is claimed.
Fixes: #348
Fixes: #229