#571 Have a comment 0 for pull requests
Closed: Fixed None Opened 8 years ago by ryanlerch.

Pull requests should have the functionality to have a comment 0, like the issues, where the submitter can explain their pull request in more detail when they create it, rather than have to comment after submitting.


I wanted to have a look at this.
Should I mirror the create issue page and add a description field to the create PR ?

We could add a description/comment field in the page to create PR and put the content of this field into a regular comment object (if it's filled). This would allow not touching the DB.

Humm, I think to create a comment in a PR you need the PR id, which we would not have at the creation stage or maybe I am wrong :confused:

@pingou, I am not sure this can be done without touching the DB. Unless I miss something ...
What do you think ?

@cverna

My idea was:

  • Extend the current form
  • Process it as we do now and create the PR
  • Extract the info about the comment and add that comment to the PR that was just created as if it was a second action.

Login to comment on this ticket.

Metadata