From f288cfccae06b6adf1065e685b8deb5ad8a0d717 Mon Sep 17 00:00:00 2001 From: dabao1955 <79307765+dabao1955@users.noreply.github.com> Date: Mon, 3 Jul 2023 23:05:19 +0800 Subject: [PATCH] update featrue_request issue temple (#715) Compared with markdown, yaml may be more focused on the required information, and will not easily destroy the content in the template. And I think the "feature request" might not require users to upload their logs. It looks like this: ![Screenshot_2023-07-03-22-53-28-88_a252b927494330cdc2c8ba3b3f952e5e](https://github.com/tiann/KernelSU/assets/79307765/ef15e532-2d69-4dea-ba7a-326b7fa2e0ef) Co-authored-by: dabao1955 <195328750@qq.com> --- .github/ISSUE_TEMPLATE/feature_request.md | 20 ----------- .github/ISSUE_TEMPLATE/feature_request.yml | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 20 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bbcbbe7d..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -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.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..ec69d8d4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,40 @@ +name: Feature Request +description: "Suggest an idea for this project" +title: "[Feature]" +labels: "feature" +assignees: tiann +body: + - type: markdown + id: feature-info + attributes: + value: "## Feature Infomation" + - type: textarea + id: feature-main + validations: + required: true + attributes: + label: "Is your feature request related to a problem? Please describe." + description: "A clear and concise description of what the problem is." + placeholder: "I'm always frustrated when [...]" + - type: textarea + id: feature-solution + 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 + id: feature-describe + validations: + required: true + attributes: + label: "Describe alternatives you've considered." + description: "A clear and concise description of any alternative solutions or features you've considered." + - type: textarea + id: feature-extra + validations: + required: false + attributes: + label: "Additional context" + description: "Add any other context or screenshots about the feature request here." +