From 3e188cacc2433708ba14feb96c35a253db115de0 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 28 Dec 2021 12:42:19 -0800 Subject: [PATCH] meta: replace feature request template with form The bug report form doesn't seem to result in many invalid/spam reports, but the template still results in lots of issues opened by apparent bots that don't modify the default template imput. Change the feature request template to a form to hopefully better serve people proposing features and reduce bot-generated junk issues. PR-URL: https://github.com/nodejs/node/pull/41317 Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: Gus Caplan --- .github/ISSUE_TEMPLATE/1-bug-report.yml | 2 +- .github/ISSUE_TEMPLATE/2-feature-request.md | 20 -------------------- .github/ISSUE_TEMPLATE/2-feature-request.yml | 19 +++++++++++++++++++ 3 files changed, 20 insertions(+), 21 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/2-feature-request.md create mode 100644 .github/ISSUE_TEMPLATE/2-feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml index 965a2eca45d978..76a76dbf7727c6 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml @@ -9,7 +9,7 @@ body: This issue tracker is for bugs and issues found within Node.js core. If you require more general support please file an issue on our help repo. https://github.com/nodejs/help - Please fill in as much of the form below as you're able. + Please fill in as much of the following form as you're able. - type: input attributes: label: Version diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.md b/.github/ISSUE_TEMPLATE/2-feature-request.md deleted file mode 100644 index 20f8ec75f8c196..00000000000000 --- a/.github/ISSUE_TEMPLATE/2-feature-request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: "\U0001F680 Feature request" -about: Suggest an idea for this project -labels: feature request ---- - - - -**Is your feature request related to a problem? Please describe.** -Please describe the problem you are trying to solve. - -**Describe the solution you'd like** -Please describe the desired behavior. - -**Describe alternatives you've considered** -Please describe alternative solutions or features you have considered. diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.yml b/.github/ISSUE_TEMPLATE/2-feature-request.yml new file mode 100644 index 00000000000000..8610f1db06ddba --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature-request.yml @@ -0,0 +1,19 @@ +name: "\U0001F680 Feature request" +description: Suggest an idea for this project +labels: ["feature request"] +body: + - type: markdown + attributes: + value: | + Thank you for suggesting an idea to make Node.js better. + + Please fill in as much of the following form as you're able. + - type: textarea + attributes: + label: What is the problem this feature will solve? + - type: textarea + attributes: + label: What is the feature you are proposing to solve the problem? + - type: textarea + attributes: + label: What alternatives have you considered?