Skip to content

feat(web): the Merge button remembers the method last run on a repository - #222

Merged
badcuban merged 2 commits into
mainfrom
threadlines/remember-merge-method
Sep 5, 2026
Merged

feat(web): the Merge button remembers the method last run on a repository#222
badcuban merged 2 commits into
mainfrom
threadlines/remember-merge-method

Conversation

@badcuban

@badcuban badcuban commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

The Merge button always ran the repository's first allowed method, so anyone who squashes had to open the arrow menu every time, while GitHub's own site remembers the last choice.

The method a merge is confirmed with is now stored per repository on this computer and becomes the button's own while the repository still allows it. The button wears the method as one word (Merge, Squash, Rebase); the arrow menu and the confirm dialog keep the full names. Covered by a logic test and a browser test that merges, reopens, and finds the remembered method on the button.

…tory

The Merge button always ran the repository's first allowed method, so anyone who squashes had to open the arrow menu every time, while GitHub's own site remembers the last choice.

The method a merge is confirmed with is now stored per repository on this computer and becomes the button's own while the repository still allows it. The button wears the method as one word (Merge, Squash, Rebase); the arrow menu and the confirm dialog keep the full names. Covered by a logic test and a browser test that merges, reopens, and finds the remembered method on the button.
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
threadlines Ready Ready Preview Sep 5, 2026 6:34am UTC

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Sep 5, 2026
@badcuban
badcuban merged commit bd5c0a9 into main Sep 5, 2026
16 checks passed
@badcuban
badcuban deleted the threadlines/remember-merge-method branch September 5, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant