Skip to content

Lay the pull request page out as steps toward its merge - #40

Merged
KieranP merged 1 commit into
mainfrom
pr-pane
Nov 12, 2026
Merged

KieranP merged 1 commit into
mainfrom
pr-pane

Conversation

@KieranP

@KieranP KieranP commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Closes #39.

The pull request page drops its tinted banner and flat list for a merge path: the draft, conflicts, base, checks, review and rule as steps on a rail ending at the merge. Each step that needs the user says what fixes it, and every check sits under Checks in the host's order with the required ones tagged. The rules behind it are in Docs/design/services/merge-path.md.

  • The end offers what the banner did, by the same rule: Merge, Merge When Ready or Cancel Auto-Merge. Otherwise a disabled Merge says how many steps are left, or that only the checks' read is.
  • A merge the host took shows no button until the list shows it, so Merge When Ready's pending checks do not ask for a click already made.
  • A skipped or cancelled required check is named as not run rather than counted among those passed.
  • A merged pull request offers Remove Worktree where the sidebar menu does; a closed or outgrown one offers Create Pull Request where the model does.
  • Step words use the theme's text colour: the secondary grey measured 4.0:1 at 11 pt in Multishell Light.

Left for review, from the issue: whether the disabled Merge stays, or the end shows no button until it can act as the banner did.

Checked: make lint is clean and make test passes 5,176 tests, with the one known issue in HighlightProbeTests. Three independent review rounds ran on the change; every finding was fixed except the plural of "2 of 3 required passed", recorded under "Reviewed and left as is" in merge-path.md because TranslationTests hold a counted phrase to one argument. The views were rendered offscreen from SwiftUI in nine states, light and dark, at 200 and 280 pt; the app has not been run by hand.

🤖 Generated with Claude Code

@KieranP
KieranP force-pushed the pr-pane branch 2 times, most recently from 4d8b411 to f38c06c Compare November 12, 2026 10:55
@KieranP
KieranP enabled auto-merge (squash) November 12, 2026 10:55
@KieranP
KieranP disabled auto-merge November 12, 2026 10:56
@KieranP
KieranP force-pushed the pr-pane branch 2 times, most recently from 6992167 to b6fa95a Compare November 12, 2026 21:50
The tinted banner joined every blocker on one line and the list under
it repeated them as rows, so with eight or more checks the failing one
sat among the passing ones. The page now draws the draft, conflicts,
base, checks, review and rule as steps on a rail ending at the merge,
each step saying what fixes it, with every check under Checks in the
host's order.

- End on the action the banner offered, by the same rule, and show a
  disabled Merge counting the steps left otherwise
- Show no button while a merge the host took awaits the list, where
  pending checks would ask for a click already made
- Name a skipped, cancelled or on-hold required check as not run rather
  than counting it among those passed
- Offer the sidebar menu's own Remove Worktree on a merged pull request,
  and Create Pull Request on a closed or outgrown one
- Read the checks each minute while nothing read accounts for GitHub's
  blocked: right after a push GitHub makes the runs later, and the page
  named a rule as the blocker for two minutes
- Read a merged or closed pull request's checks again while one still
  runs or the last read failed, where a ring or note stood for good
- Drop the banner, the flat requirement rows, the verdict and the
  status glyph only they read, and narrow MergeReadiness to internal

Closes #39

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KieranP
KieranP enabled auto-merge (squash) November 12, 2026 21:58
@KieranP
KieranP merged commit e115250 into main Nov 12, 2026
2 checks passed
@KieranP
KieranP deleted the pr-pane branch November 12, 2026 22:11
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.

Lay the pull request page out as a merge path

1 participant