GeezerVison is showing github.com (truncated) — fix(mobile): dev pairing link no longer opens Home inside a sheet by PixPMusic · Pull Request #20130 · pingdotgg/t3code
Conversation
Problem
The development pairing link (t3code-dev://connections/new?pairingUrl=…&autoConnect=1, which the test-t3-mobile pairing helper opens) puts Home inside a sheet when it opens over another sheet. With Settings open, the stack becomes [Home, SettingsSheet, ConnectionsNew]. On success, the auto-connect path always ran StackActions.replace("Home"), giving [Home, SettingsSheet, Home]. partitionStackPresentations groups a card pushed after a modal into that modal's stack, so the second Home rendered inside the Settings sheet. The leftover SettingsSheet route also left the gear button doing nothing until the app restarted.
Fix
Drop the replaceWithHome flag so auto-connect closes the same way manual pairing already does. It goes back when there is history and replaces with Home only when the pairing screen is the only route (cold start).
Why this qualifies as a small focused fix
It's one obvious defect in one file: an extra flag forced a navigation action that conflicts with the sheet stack. Auto-connect only runs in __DEV__ builds. Manual pairing already takes the corrected path, so production behavior is unchanged.
Verification
- On the iOS 27.1 iPhone Duo simulator (unfolded, portrait), against an isolated server seeded with showcase fixtures: open Settings, then run
.agents/skills/test-t3-mobile/scripts/pair-client.sh.
- Before: the thread list renders inside the sheet.
- After: the pairing sheet closes back to Settings. Closing Settings and tapping the gear opens it normally again.
vp lint on the changed file: same 4 warnings as main, none new. vp fmt --check passes. vp run typecheck in apps/mobile passes.
- Not checked: the cold-start path (the pairing link launching the app with no history). Its branch (
!navigation.canGoBack() → replace("Home")) is unchanged.
Before / After
| Before |
After |
 |
 |
Model: Claude Opus 5.5 | Harness: Claude Code in T3 Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 3dbf039
Macroscope's review found this PR approvable — This is a focused one-file fix that corrects sheet-stack navigation for development auto-pairing while preserving manual pairing and cold-start behavior. It introduces no new capability, schema change, product-default change, or static-analysis override.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: Path: .coderabbit.config.ts
- Review profile: CHILL
- Plan: Advanced
- Run ID:
0db1c007-57a6-4be6-8f63-b0e3af28578c
📥 Commits
-
Reviewing files that changed from the base of the PR and between 3dbf039 and d81b1d3.
📒 Files selected for processing: 1
-
apps/mobile/src/features/connection/ConnectionsNewRouteScreen.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
📝 Walkthrough
-
After a successful connection, the route returns to the previous screen when navigation can go back. Otherwise, it replaces the current screen with Home. Manual submission and development auto-connect use the same function.
Changes: Connection Route Navigation
| Layer / File(s) |
Summary |
Connection success navigation apps/mobile/src/features/connection/ConnectionsNewRouteScreen.tsx |
connectAndClose no longer accepts replaceWithHome. It replaces the current screen with Home only when navigation cannot go back. Manual submission and development auto-connect call it without the removed argument. |
Priority: ⬇️ Low
Estimated code review effort: 2 (Simple) | ~5 minutes
Change: Bug fix
Suggested reviewers: juliusmarminge
Merge Risk: ⚪ Minimal · up to d81b1
-
Connections return to the opener when navigation history exists and fall back to Home otherwise. The inspected Environments, task-creation, and Settings flows preserve that context, with no concrete merge-blocking regression identified.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Description check |
 |
The description includes the required Problem, Change, Scope and approval rationale, and Verification sections. It explains the defect, the focused fix, the exemption rationale, observed results, vali… |
| Title check |
 |
The title clearly describes the mobile development pairing-link bug and the resulting Home navigation issue. It is concise and uses the repository's conventional commit format. |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Description check
-
Explanation
The description includes the required Problem, Change, Scope and approval rationale, and Verification sections. It explains the defect, the focused fix, the exemption rationale, observed results, validation commands, screenshots, and the unverified cold-start path.
✨ Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The development auto-connect path always replaced the pairing sheet
with Home, even when it opened above another sheet. The workspace stack
groups that pushed Home into the sheet below, so the thread list
rendered inside Settings and Settings could not be reopened.
Close the sheet the same way manual pairing does: go back when there
is history, and replace with Home only on a cold start.
Uh oh!
There was an error while loading. Please reload this page.
|