From 0167649e6fe8766d6fb654f96de49626096cd9af Mon Sep 17 00:00:00 2001 From: Kamil Date: Mon, 15 Aug 2022 16:32:38 +0200 Subject: [PATCH] Bug issue template (#6329) * auto label bug issue * nu config is obligatory * bug report defaults to question * feature request defaults to question * applied suggestions --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yml | 1 + .github/ISSUE_TEMPLATE/question.yml | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/ISSUE_TEMPLATE/question.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index dce175989d..4993526691 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -53,7 +53,7 @@ body: | features | clipboard-cli, ctrlc, dataframe, default, rustyline, term, trash, uuid, which, zip | | installed_plugins | binaryview, chart bar, chart line, fetch, from bson, from sqlite, inc, match, post, ps, query json, s3, selector, start, sys, textview, to bson, to sqlite, tree, xpath | validations: - required: false + required: true - type: textarea id: context attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index e3a9d71548..150eb07b5b 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,5 +1,6 @@ name: Feature Request description: "When you want a new feature for something that doesn't already exist" +labels: "enhancement" body: - type: textarea id: problem diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000000..6ed045b521 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,21 @@ +name: Question +description: "When you have a question to ask" +labels: "question" +body: + - type: textarea + id: problem + attributes: + label: Question + description: Leave your question here + placeholder: | + A clear and concise question + Example: Is there any equivalent of bash's $CDPATH in Nu? + validations: + required: true + - type: textarea + id: context + attributes: + label: Additional context and details + description: Add any other context, screenshots or other media that will help us understand your question here, if needed. + validations: + required: false