From da488e8db0ea1484557a5c653e885ecf6d81c5f9 Mon Sep 17 00:00:00 2001 From: Hu Yueh-Wei Date: Sat, 21 Sep 2024 16:26:47 +0800 Subject: [PATCH] chore: add issue template for bug report --- .github/ISSUE_TEMPLATE/bug_report.yml | 85 +++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..e168b29c7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,85 @@ +name: Bug Report +description: Report a bug or issue with the project +title: "[BUG] " +labels: [bug] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to report a bug! Please fill in the following details. + + - type: textarea + id: description + attributes: + label: Description + description: A clear and detailed description of the bug. + placeholder: "Enter a clear and concise description of what the bug is." + validations: + required: true + + - type: input + id: environment + attributes: + label: Environment + description: The environment where this bug occurred (e.g., operating system, CPU arch, etc.). + placeholder: "Enter details about the environment." + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to reproduce + description: What are the steps to reproduce this issue? + placeholder: | + 1. ... + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behavior + description: What should have happened instead? + placeholder: "Describe what you expected to happen." + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual behavior + description: What actually happened? + placeholder: "Describe what actually happened." + validations: + required: true + + - type: input + id: version + attributes: + label: Version + description: The version of the software where the bug was found. + placeholder: "Enter the software version." + validations: + required: true + + - type: dropdown + id: severity + attributes: + label: Severity + description: How severe is the bug? + options: + - Critical + - Major + - Minor + validations: + required: true + + - type: textarea + id: additional_info + attributes: + label: Additional Information + description: Any other context or screenshots related to the bug. + placeholder: "Enter additional context or information." + validations: + required: false