Repository navigation
fix(mobile): keep Resolve and its feedback after the conflicts box went away - #37234
Merged
Merged
Conversation
…ts box went away The diff-review dock has no next-step bar, so its bottom action now offers Resolve with <agent> for a conflicting pull request, with the launch notice. In the hub the bar shows its agent launch notice on the Pull request tab too, since the removed box was the one that showed it there, and an Unlink failure reaches the bar's notice now that the PR tab has no footer.
9 of 10 tasks
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.
ELI5
#37231 removed the PR tab's old Conflicts box. That box was also where two things lived: the Resolve button in the diff-review side panel, and the "agent couldn't start / copy the prompt" message on the Pull request tab. This puts both back where they belong now, and makes a failed Unlink visible again.
What Changed
PrTabBottomAction(its only display) no longer renders in the hub.offersMerge.Why
Both review passes on #37231 found these after it merged on green. They are regressions of that PR, not new behaviour.
Linked Issue
No issue; follow-up to #37231.
Visual Proof
N/A for the hub (the notice and error only appear on a failed launch or failed Unlink). The dock's conflicts footer replaces a disabled "Conflicts" button with "Resolve with ", using the bar's label and launcher.
Testing
Mobile typecheck (app and tests), mobile lint and format, focused vitest (
pr-sidebar,source-control, RPC goldens: 1953 tests), localization verify,check:code-quality:changed, React Doctor changed lines.I manually tested these changes locally
Automated tests added/updated, or explained why not below
Risk
Mobile page only, no host or RPC change. The dock's conflicts footer reuses the existing triage launcher and prompt builder; the bar notice now also shows on the PR tab. Back out with a plain revert.
Level: Low
AI Disclosure
Review
Findings from the Codex and Claude passes on #37231 (both P1s and the shared P2). The stale-mergeability hint (GitHub says conflicting, local Git is clean) is left as a follow-up.
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)