From 476c6afdfcb0ef2ceb0bfa8c3faeb08ca7212c57 Mon Sep 17 00:00:00 2001 From: angrezichatterbox Date: Wed, 20 Nov 2024 22:06:24 +0530 Subject: [PATCH] feat:Added yaml template for bunk mate --- .github/ISSUE_TEMPLATE/bug_report.yaml | 0 .github/ISSUE_TEMPLATE/bug_report.yml | 126 +++++++++++++++++++++---- 2 files changed, 108 insertions(+), 18 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 0000000..e69de29 diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 7e483db..f8bd40b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,40 +1,130 @@ name: Bug Report -description: Report a bug or unexpected behavior -labels: bug +description: Create a detailed bug report to help us improve +title: "[BUG]: Describe the bug briefly" +labels: + - bug + - needs-triage body: - type: markdown attributes: value: | - ## Bug Report + ## Bug Report Guidelines + Please provide clear and concise information about the issue. - Please provide a clear and concise description of the bug. + - type: input + id: contact + attributes: + label: Contact Details + description: How can we reach you if we need more information? + placeholder: email@example.com + validations: + required: false + + - type: dropdown + id: component + attributes: + label: Affected Component + description: Which part of the project is impacted? + options: + - Frontend + - Backend + - Database + - API + - Other + validations: + required: true - type: textarea + id: description attributes: - label: What is the bug? - description: Provide details about what is not working as expected. - placeholder: "Describe the issue..." + label: Bug Description + description: Provide a clear, detailed description of the bug + placeholder: A clear and concise description of what the bug is. + validations: required: true - type: textarea + id: steps attributes: - label: Steps to reproduce - description: What steps did you follow to reproduce the issue? - placeholder: "List the steps" + label: Reproduction Steps + description: Detail the exact steps to reproduce the issue + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: required: true - - type: checkbox + - type: textarea + id: expected attributes: - label: Was the issue present in the latest release? - options: - - Yes - - No + label: Expected Behavior + description: What did you expect to happen? + placeholder: A clear and concise description of what you expected to occur. + validations: required: true - - type: input + - type: textarea + id: actual attributes: - label: Version of the app - description: Please specify the version of the application. + label: Actual Behavior + description: What actually happened? + placeholder: Describe the specific behavior you observed. + validations: required: true + - type: dropdown + id: severity + attributes: + label: Severity + description: How critical is this bug? + options: + - Critical + - High + - Medium + - Low + validations: + required: true + + - type: textarea + id: environment + attributes: + label: Environment Details + description: Provide context about your environment + placeholder: | + - OS: [e.g., Windows 10, macOS 11.5] + - Browser: [e.g., Chrome 92, Firefox 90] + - Version: [e.g., 1.2.3] + validations: + required: false + + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: Add screenshots to help explain the problem + placeholder: Drag and drop or paste screenshots here. + validations: + required: false + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Add any other context about the problem here + placeholder: Any additional information, logs, or context that might be helpful. + validations: + required: false + + - type: checkboxes + id: terms + attributes: + label: Confirmation + description: Ensure your report meets our guidelines + options: + - label: I have checked for existing similar issues + required: true + - label: My report contains all relevant information + required: true