From b3ce90e761176b4ed75d97836f0cd392438d8f5f Mon Sep 17 00:00:00 2001 From: Steven Date: Sun, 13 Nov 2022 09:35:57 +0800 Subject: [PATCH] chore: add issue template --- .github/ISSUE_TEMPLATE/bug_report.yml | 38 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 28 ++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..81a36d4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,38 @@ +name: Bug Report +description: Create a report to help us improve +labels: [bug] +body: + - type: markdown + attributes: + value: | + If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. + - type: textarea + attributes: + label: Describe the bug + description: | + Briefly describe the problem you are having in a few paragraphs. + validations: + required: true + - type: textarea + attributes: + label: Steps to reproduce + description: | + Provide the steps to reproduce the issue. + placeholder: | + 1. Go to '...' + 3. Click on '....' + 4. See error + validations: + required: true + - type: textarea + attributes: + label: Expected behavior + description: | + Describe what you expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Screenshots or additional context + description: | + Add screenshots or any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..52dfdab --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,28 @@ +name: Feature Request +description: Suggest an idea for this project +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to suggest an idea for Corgi! + - type: textarea + attributes: + label: Is your feature request related to a problem? + description: | + A clear and concise description of what the problem is. + placeholder: | + I'm always frustrated when [...] + validations: + required: true + - type: textarea + attributes: + label: Describe the solution you'd like + description: | + A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here.