Skip to content

Commit

Permalink
☕ CHORE: add issue forms (#1509)
Browse files Browse the repository at this point in the history
* ☕ CHORE: issue form for bugs

* ☕ CHORE: add issue form for features
  • Loading branch information
warengonzaga committed Apr 19, 2022
1 parent fadbab9 commit 61d13ba
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 50 deletions.
35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

74 changes: 74 additions & 0 deletions .github/ISSUE_TEMPLATE/bugs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Report a Bug
description: Found a bug? Let us know!
labels: 'bug'
body:
# bug description
- type: textarea
id: descrption
attributes:
label: Describe The Bug
description: "A clear and concise description of what the bug is."
validations:
required: true
# steps to reproduce
- type: textarea
id: steps
attributes:
label: Steps To Reproduce
description: "Steps to reproduce the behavior."
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: false
# expected behavior
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: "A clear and concise description of what you expected to happen."
validations:
required: false
# screenshots
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: "If applicable, add screenshots to help explain your problem."
validations:
required: false
# desktop
- type: textarea
id: desktop
attributes:
label: Desktop
description: "Please complete the following information."
placeholder: |
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
validations:
required: false
# smartphone
- type: textarea
id: mobile
attributes:
label: Smartphone
description: "Please complete the following information."
placeholder: |
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
validations:
required: false
# additional context
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: "Add any other context about the problem here."
validations:
required: false
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/features.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature Request
description: Have a feature request? Let us know!
labels: 'feature request'
body:
# problem
- type: textarea
id: problem
attributes:
label: Is your feature request related to a problem? Please describe.
description: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]"
validations:
required: true
# solution
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like.
description: "A clear and concise description of what you want to happen."
validations:
required: true
# alternative
- type: textarea
id: alternative
attributes:
label: Describe alternatives you've considered.
description: "A clear and concise description of any alternative solutions or features you've considered."
validations:
required: true
# additional context
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: "Add any other context about the problem here."
validations:
required: false

0 comments on commit 61d13ba

Please sign in to comment.