Add buttons to `clear-pr-merge-commit-message` and related features
See original GitHub issueDescription
Instead of automatically clearing the field, I wonder if we could add some buttons in the mergeability box to:
sync-pr-commit-title
clear-pr-merge-commit-message
- https://github.com/refined-github/refined-github/issues/2103
- https://github.com/refined-github/refined-github/issues/1264
This issue replaces:
Avoiding automatic replacement would also avoid:
- https://github.com/refined-github/refined-github/issues/4101 (the issue would still exist since it’s GitHub’s, probably, but since we won’t automatically change the fields, it won’t happen “because of RGH”)
Related:
- https://github.com/refined-github/refined-github/issues/3964
- https://github.com/refined-github/refined-github/issues/4531
Screenshot
Example URL
Issue Analytics
- State:
- Created 2 years ago
- Reactions:14
- Comments:12 (7 by maintainers)
Top Results From Across the Web
How to Add Buttons and Text Fields in XCode 12 | Swift
When developing iOS Apps and coding with Swift in Xcode, your user interface design needs textfields and buttons for forms.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Since one of the settings that github provides is exactly what is being done by refined github now, I don’t think there’s a reason to keep these settings. In the current state it gives you less configurability than Github does. I think the
clear-pr-commit-title
setting should at least be disabled by default, because it now messes up the repo settings.GitHub added some controls over this, which are likely to stay “per-repo”:
https://github.blog/changelog/2022-08-23-new-options-for-controlling-the-default-commit-message-when-merging-a-pull-request/
We need to decide what to do with our current features regarding PR titles, if we can detect a custom setting and avoid overriding it.
Edit: we can’t detect it, but we added a notice so the user knows what’s happening and can disable the feature.