sindresorhus/refined-github







The issue has been closed
`one-click-pr-or-gist`: In PR compare pages the "Create pull request" button is always enabled, even with empty title #4565
darkred posted onGitHub
Please ensure:
- The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
Describe the problem and how to replicate it
Continuing https://github.com/sindresorhus/refined-github/pull/4556#issuecomment-879092209
In PR branch compare pages, e.g. https://github.com/darkred/test/compare/main...t2?expand=1
, the "Create pull request" button is always enabled, even with empty title - (the expected behavior is to be disabled when the title is empty).
Disabling the one-click-pr-or-gist
feature fixes the problem.
See:
- the attached screen capture for the issue, and
- the screenshot for how it is (as expected) with the
one-click-pr-or-gist
feature disabled.
Screenshots/video/gif showing the issue, if it’s visual
Console errors, if any
No response
Example URL
https://github.com/darkred/test/compare/main...t2?expand=1
Browser(s) used
Chrome 91, Firefox 90