Skip to content

fix(mobile): keep Resolve and its feedback after the conflicts box went away - #37234

Merged
AmoabaKelvin merged 1 commit into
mainfrom
mobile-pr-tab-conflicts-followup
Nov 1, 2026
Merged

AmoabaKelvin merged 1 commit into
mainfrom
mobile-pr-tab-conflicts-followup

Conversation

@AmoabaKelvin

@AmoabaKelvin AmoabaKelvin commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1
Prod 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​57 $\color{#cf222e}{\Huge{\mathbf{−}}}$​8 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​49

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

  • Diff-review dock: for a conflicting PR, its bottom action now shows "Resolve with " (with the launch notice), the same action the hub's bar offers. The dock has no bar, so without this it had no way to start a conflicts fix.
  • Hub, Pull request tab: the next-step bar shows its agent launch notice on that tab too. It used to hide it there because the body's own AI button showed it; that button went with the box.
  • Hub, Unlink: an Unlink failure feeds the bar's notice, since PrTabBottomAction (its only display) no longer renders in the hub.
  • The status-retry test mock drops the removed 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

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

…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.
@AmoabaKelvin
AmoabaKelvin merged commit 2e6d660 into main Nov 1, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant