diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..fdf717b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,67 @@ +name: Bug Report +description: Report an issue with the population reporting system. +title: "[Bug]: " +labels: ["bug"] +assignees: [TULASI, CHIEDZA, EUAN, ADIN] + +body: + - type: textarea + id: description + attributes: + label: What went wrong? + description: Describe the bug clearly. + placeholder: e.g. "City report does not sort by population correctly." + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to reproduce + description: How can we reproduce the problem? + placeholder: | + 1. Run the application + 2. Select "Top N Countries in Africa" + 3. Enter N = 10 + 4. Output not ordered correctly + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behaviour + placeholder: "The report should show countries ordered from highest to lowest population." + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual behaviour + placeholder: "The system displays them in ascending order instead." + validations: + required: true + + - type: dropdown + id: severity + attributes: + label: Severity + options: + - Low + - Medium + - High + default: 1 + + - type: textarea + id: logs + attributes: + label: Relevant logs or SQL errors + render: shell + placeholder: "Paste error messages here (if any)." + + - type: textarea + id: notes + attributes: + label: Additional information + placeholder: "Screenshots, database inputs, N values, etc." diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..f18287f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug, documentation, enhancement, question +assignees: YevisoChiedza1, tulsirijal, Adinc02, iSee-Red + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here.