From cce6b71993c6500258ab7104900f842a5ab50f35 Mon Sep 17 00:00:00 2001 From: silentrald Date: Wed, 2 Oct 2024 07:58:34 +0800 Subject: [PATCH] [chore] improved user experience for creating feature request --- .../ISSUE_TEMPLATE/-feat---feature-request.md | 22 --------- ...bug--bug-report.yaml => 1-bug-report.yaml} | 2 +- .github/ISSUE_TEMPLATE/2-feature-request.yaml | 45 +++++++++++++++++++ 3 files changed, 46 insertions(+), 23 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/-feat---feature-request.md rename .github/ISSUE_TEMPLATE/{-bug--bug-report.yaml => 1-bug-report.yaml} (97%) create mode 100644 .github/ISSUE_TEMPLATE/2-feature-request.yaml diff --git a/.github/ISSUE_TEMPLATE/-feat---feature-request.md b/.github/ISSUE_TEMPLATE/-feat---feature-request.md deleted file mode 100644 index c2f66895..00000000 --- a/.github/ISSUE_TEMPLATE/-feat---feature-request.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: "[FEAT.] Feature request" -about: Suggest an idea for this project -title: "[FEAT.] : " -labels: enhancement -assignees: Zagrios ---- - -## Problem - - - -## Solution - - - -## Alternative solutions (if any) - - - -## Additional context - diff --git a/.github/ISSUE_TEMPLATE/-bug--bug-report.yaml b/.github/ISSUE_TEMPLATE/1-bug-report.yaml similarity index 97% rename from .github/ISSUE_TEMPLATE/-bug--bug-report.yaml rename to .github/ISSUE_TEMPLATE/1-bug-report.yaml index f2a8f49c..137f40f1 100644 --- a/.github/ISSUE_TEMPLATE/-bug--bug-report.yaml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yaml @@ -50,5 +50,5 @@ body: id: additional-context attributes: label: Additional Context - description: Any other context that you may share about the issue. + description: Any other context that you may share about the issue. You may add your log files here. diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.yaml b/.github/ISSUE_TEMPLATE/2-feature-request.yaml new file mode 100644 index 00000000..98a219ce --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature-request.yaml @@ -0,0 +1,45 @@ + +name: "[FEAT.] Feature request" +description: Suggest an idea for this project +title: "[FEAT.] : " +labels: enhancement +assignees: Zagrios +body: + - type: markdown + attributes: + value: | + ## Thanks for taking the time to fill out this feature request! 😊 + - type: textarea + id: problem + attributes: + label: Problem + description: Is your feature request related to a problem? Please describe. + placeholder: Ex. I'm always frustrated when [...] + validations: + required: true + - type: textarea + id: solution + attributes: + label: Solution + description: Describe the solution you'd like. + validations: + required: true + - type: textarea + id: alternative-solution + attributes: + label: Alternative Solution + description: Describe alternatives you've considered. + - type: dropdown + id: os + attributes: + label: Operating System + description: If the feature is only applicable to a specific OS. Leave it to `None` if it's applicable to all OS'es. + options: + - Windows + - Linux + - type: textarea + id: additional-context + attributes: + label: Additional Context + description: Add any other context or screenshots about the feature request here. +