sindresorhus/refined-github

Multiple PR templates #1621

flowirtz posted onGitHub

So there is the option to have multiple pr templates in GitHub, which I think is pretty cool. However, to make actual use of this feature, I need to manually select the template via tampering with the url (i.e. appending &template=first-template.md).

This is how GitLab does it: How GitLab does it) (Source)

So here is my feature request: I, as a user, want to select my pr template via a nice dropdown, and not via manually tampering with the url in a complicated way.


Do you guys see my point? Do you feel like this is something that would be a nice feature for this project? Does anybody have an idea on how the options of the dropdown could be populated best? Simply search for the PULL_REQUEST_TEMPLATE/ folder (maybe in .github/) and iterate over all entries?

Looking forward to your input!

PS Keep up the good work, I <3 this project so much!!! 👏


edit. shared this with GH Support as well edit. 2 removed the "and issue templates" as @sindresorhus pointed out this already exists


This doesn't belong to Refined GitHub:

  • it affects everyone (useless API calls) only to be useful to very few
  • it requires specific files existing on each repo
  • the repo users need to know about the feature and be willing to use it
  • the whole Refined GitHub itself would have to be installed just to enforce this workflow.

If your team needs something like this, you'd have to make an extension, or ask me to make one for your team.

Edit: this also exists already https://chrome.google.com/webstore/detail/github-pr-template-picker/foaaibihjfcacpiehnjaghlhopofmmnb

posted by fregante over 4 years ago

Fund this Issue

$0.00
Funded

Pull requests