Refined-github: Separate "Create Draft PR" from "Create PR" dropdown

Created on 2 Oct 2019  路  3Comments  路  Source: sindresorhus/refined-github

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

enhancement under discussion

Most helpful comment

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

All 3 comments

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

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.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Arcanemagus picture Arcanemagus  路  3Comments

mareksuscak picture mareksuscak  路  3Comments

vanniktech picture vanniktech  路  3Comments

fregante picture fregante  路  3Comments

supremebeing7 picture supremebeing7  路  3Comments