From b657f6c184b8e524bd67d45310e430c68daaa911 Mon Sep 17 00:00:00 2001 From: JeremyWu917 <1280442096@qq.com> Date: Tue, 27 Sep 2022 21:19:47 +0800 Subject: [PATCH] Update ISSUE_TEMPLATE from md to yaml --- .github/ISSUE_TEMPLATE/feature_request.md | 20 ------------ .github/ISSUE_TEMPLATE/feature_request.yaml | 36 +++++++++++++++++++++ 2 files changed, 36 insertions(+), 20 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 214cad855..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '[Feature request]' -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 000000000..92c080414 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,36 @@ +name: Feature request +description: Suggest an idea for the HandyControl +title: "Feature request title" +body: + - type: dropdown + validations: + required: true + attributes: + label: Feature request type + options: + - sample request + - enhancement + - type: textarea + validations: + required: true + attributes: + label: Is your feature request related to a problem? Please describe + description: Please provide a description of the sample request or enhancement + placeholder: | + A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + - type: textarea + validations: + required: true + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen + - type: textarea + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternative solutions or features you've considered + - type: textarea + attributes: + label: Additional context + description: Enter any other applicable info here + placeholder: | + Add any other context or screenshots about the feature request here. \ No newline at end of file