sindresorhus/refined-github

Separate "Create Draft PR" from "Create PR" dropdown #2473

tdtm posted onGitHub

A PR created as a "full" (non-draft) PR is impossible to convert to a draft PR.

Half the PRs I make, meaning for them to be a draft, end up accidentally created as a full PR just because I hit the button rather than the drop-down. That requires deleting that PR and creating a new one - this time as a draft.

Judging by this thread on the Github community forum, I'm not the only one.

I would suggest for refined-github to pull the "Create Draft PR" button from the dropdown to instead be besides the main "Create PR" button.

Mockup: 2019-10-02 at 17 33


I'd love if this had a configuration option to make the "create draft" separated button more prominent than the non-draft button (basically the UI in the screenshot but with the behaviors swapped in position). The config could default to "off" to avoid surprising people

posted by Daenyth over 5 years ago

Yeah, personally, draft-as-default would make more sense. I was just mindful of not forcing that on anyone, but having that as a config as you suggest would be even better.

posted by tdtm over 5 years ago

Or extend this plugin with an option (default for all is "no") to additional hide the "create pull request"

posted by muescha over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests