Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -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."
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -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.