Repository navigation
Conversation
Contributor
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR changes established Android navigation semantics across PR viewing, linked threads, workspace Back handling, and first-send stack pruning. Although the production diff is focused and supported by targeted tests, the cross-cutting user-visible route behavior warrants human review. You can add or adjust custom eligibility rules. Learn more. |
|
Confirmed on Android 2.0.0 beta. Back from a PR opened in a thread lands on the PR list; this fixes it. 🙏 Small aside, not blocking: "Continue thread" to the same thread you came from adds a second copy of it to the stack (RN 7 |
This branch has not been deployed
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.
Problem
On Android, opening a PR link from chat or Git controls resets navigation to the PR workspace. Back then lands on the PR list instead of the original chat.
Change
Home → new thread.This is also a small feature: intelligent back stack updates. A draft keeps its cancellation history while the user is deciding what to do; an accepted first send makes the new thread the current workspace. Offline and attachment-upload queue paths retain their existing return behavior.
Scope and approval
Focused follow-up to #18372 for the reported Android chat-to-PR navigation regression. The draft/first-send boundary belongs to that same return path and was explicitly requested alongside the fix. Explicit tab and sidebar selections continue to replace peer details. The change uses the existing PR viewer and task-submission paths.
Verification
vp run --filter @t3tools/mobile typecheckpassed. Targeted lint and formatting passed; existing React warnings remain inNewTaskDraftScreen.Matched phone captures use the same synthetic chat, theme, and 1080 × 2400 emulator. The environment label is synthetic and the PR content is public.
Before recording · After recording · Draft cancellation and first-send history update
Model: GPT-6.1 Sol | Harness: Codex in T3 Code