Merge pull request #118 from aaronliu0130/bugreport

Move bug and enhancement templates to issue forms
This commit is contained in:
Aaron Liu 2022-04-15 22:31:08 +08:00 committed by GitHub
commit e885a15231
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 67 additions and 52 deletions

View file

@ -1,32 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**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.-->
**OS Information**
Commit(optional):
OS specifics:
**Additional context**
<!--Add any other context about the problem here.-->

43
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View file

@ -0,0 +1,43 @@
name: Bug report
description: Create a report to help us improve
labels: bug
body:
- type: textarea
attributes:
label: Describe the Bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: To Reproduce
description: Steps to reproduce the behavio(u)r
value: |-
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
attributes:
label: Expected Behavio(u)r
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: input
attributes:
label: Version/Commit Hash
validations:
required: true
- type: input
attributes:
label: OS Specifics
description: Output of `uname -a` or the Windows build number
validations:
required: true
- type: input
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.

View file

@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature request
assignees: ''
---
**Is your feature request related to a problem? Please describe.(Optional)**
<!--A clear and concise description of what the problem is. -->
**Describe the solution you'd like**
<!--A clear and concise description of what you want to happen.-->
**Describe alternatives you've considered**
<!--A clear and concise description of any alternative solutions or features you've considered.-->
**Additional context**
<!--Add any other context or screenshots about the feature request here.-->

View file

@ -0,0 +1,24 @@
name: Feature request
description: Suggest an idea for this project
labels: feature request
body:
- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the bug is.
- type: textarea
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
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
- type: textarea
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.