Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Convert existing PR into drafts #1547

Closed

Description

@alerque

The new Draft PR feature (#416) is a great concept, but it is very difficult make use of without being able to change the status of existing PRs. It was mentioned in that issue that conversion was needed, but since the issue is closed (with the main feature implemented) I guess it's time for an issue specifically to track this addition.

PR owners and project maintainers should be able to change the status on existing PRs to mark them as drafts.

According to both the previous PR and this Twitter thread, this request has come to the attention of at least one product manager and Github.

Activity

  1. clarkbw commented on Apr 23, 2019

    @clarkbw
    Collaborator

    Working on it

  2. alerque commented on Apr 29, 2019

    @alerque
    Author

    @TPS This and #1551 are really not even related to all the other issues that have the saved / draft tag, I would suggests that is a miss categorization. Drafts of comments and other messages are a completely different animal (and only visible to end users) from the draft status on PRs.

  3. TPS commented on May 5, 2019

    @TPS
    Collaborator

    OT: We collaborators are having a dialogue re: best use of labels, but my rule-of-thumb is try to use label combinations that best express what the issue's about, so saved / draftpull-requests makes sense, IMHO.

  4. xeruf commented on Aug 12, 2019

    @xeruf

    any progress on this? I have quite a few WIP PRs in my repos and it would be great if I could just switch them to be Drafts!

  5. wcox13 commented on Jan 7, 2020

    @wcox13

    I am also curious whether this is still in progress. It would definitely be useful.

  6. TomasVotruba commented on Jan 11, 2020

    @TomasVotruba

    I accidently created PR and wanted to go draft. Now I get lot of unwanted feedback :/
    This feature could save my time and time of willing feedbackers.

  7. priyankapatel1289 commented on Jan 22, 2020

    @priyankapatel1289

    @TomasVotruba You know you can still remove the reviewers? Then maybe change the title and add "Draft" to it

  8. ruben-dm-ramos commented on Feb 3, 2020

    @ruben-dm-ramos
  9. TomasVotruba commented on Feb 3, 2020

    @TomasVotruba

    @priyankapatel1289 I can, but that won't stop feedback from people, that I don't want now

  10. Sajjon commented on Feb 4, 2020

    @Sajjon
  11. radrow commented on Feb 7, 2020

    @radrow

    Labels and adding "[draft]" to PR title won't block merging, which is imo the coolest feature of drafts. I don't think this issue is very hard to solve...

  12. mrgilman commented on Apr 8, 2020

    @mrgilman

    Hi! We just shipped this feature today. Here's the changelog entry: https://github.blog/changelog/2020-04-08-convert-pull-request-to-draft

  13. karenetheridge commented on Apr 8, 2020

    @karenetheridge

    @mrgilman You are a prince among men! thank you very much.

  14. 4 remaining items

  15. cjw296 commented on Apr 9, 2020

    @cjw296

    @mrgilman - any idea when this is coming to GHE?

  16. cjw296 commented on Apr 9, 2020

    @cjw296
  17. TPS commented on Apr 9, 2020

    @TPS
    Collaborator

    @cjw296, @mrgilman: Umm, I'm not a 🤖.…

  18. samirmhsnv commented on Apr 9, 2020

    @samirmhsnv

    Hi! We just shipped this feature today. Here's the changelog entry: https://github.blog/changelog/2020-04-08-convert-pull-request-to-draft

    Wow! Nice to hear it!

  19. mrgilman commented on Apr 9, 2020

    @mrgilman

    @cjw296 it'll either be in the upcoming release or the following one, not sure yet.

  20. antodoms commented on Apr 16, 2020

    @antodoms

    Yay... this is released finally!!

  21. benwinding commented on Apr 17, 2020

    @benwinding

    Was delighted to see this feature subtly introduced!
    image

  22. vvval commented on Apr 21, 2020

    @vvval

    This option is not presented in one of my PRs. I had to close the PR and reopen it (and choose "draft" in the dropdown section)

  23. mcolyer commented on Apr 21, 2020

    @mcolyer

    This option is not presented in one of my PRs. I had to close the PR and reopen it (and choose "draft" in the dropdown section)

    Can you provide any more detail around this? Has it happened more than once?

  24. timotheecour commented on Apr 21, 2020

    @timotheecour

    this feature only seems to work when there are some reviewers requesting changes (not just comments but comments marked as review comments, eg requesting changes through github UI), eg:

    and since we can't request changes for our own PR's, the hack I tried (request change on my own PR) can't work either...

  25. mcolyer commented on Apr 22, 2020

    @mcolyer

    @timotheecour thanks, we'll take a closer look and see if we can figure out what's going on.

  26. mr-feek commented on Apr 23, 2020

    @mr-feek

    Just wanted to share that I'm loving this feature!

  27. EmilyRosina commented on Apr 23, 2020

    @EmilyRosina

    Does anyone know of a github action where we can change labels when the draft status is changed?

    Ideally we'd be able to:

    • When converted to draft add "wip" label, remove "ready" label
    • When converted to ready to review remove "wip" label, add "ready" label
  28. jinmayamashita commented on May 7, 2020

    @jinmayamashita

    When converted to ready to review remove "wip" label, add "ready" label

    @EmilyRosina my action is still a work in progress, but I hope it helps you.
    https://github.com/marketplace/actions/ready-for-review.

  29. EmilyRosina commented on May 7, 2020

    @EmilyRosina

    @jinmayamashita oh wow that's awesome, thank you 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions