Repository navigation
Conversation
wSedlacek
force-pushed
the
t3/fix-mobile-view-pr-menu
branch
from
November 14, 2026 22:44
ed9af30 to
29a0cd5
Compare
Reopened from pingdotgg#31784 and squashed onto current main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wSedlacek
force-pushed
the
t3/fix-mobile-view-pr-menu
branch
from
November 17, 2026 03:43
29a0cd5 to
bc1ac84
Compare
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
Mobile git menus sometimes showed “Create PR” instead of “View PR” when a thread’s open pull request was linked to a different ref than the current checkout. Linked pull requests could also be missing from the thread header or list when server capability information was unavailable.
Change
Use the thread’s open linked pull request as a fallback for git menu presentation when the checkout has no open PR, while preserving the checkout’s own open PR when present. Apply this to the thread and draft headers, Review menu, and Git overview sheet. Show existing linked PRs in the header and list even when the server cannot report support for changing them; capabilities still gate those actions.
Scope and approval
This is a focused mobile bug fix: the existing thread PR links and git menu already provide these actions, but presentation could miss a PR associated with another ref. The change makes the existing linked PR visible across the affected mobile entry points.
Verification
vp test run apps/mobile/src/state/use-thread-pr.test.ts— passed (14 tests), including linked open PR fallback, legacy links, checkout PR precedence, and closed or merged links.vp test run apps/mobile/src/features/threads/threadGitMenu.test.ts— passed.vp run check:changed— passed.Before
After
GPT-6 and Codex
🤖 Generated with Claude Code