Convert issue templates to the new YML format

This commit is contained in:
Essem 2021-07-14 16:55:30 -05:00
parent 8059fd1b77
commit db18da6f39
No known key found for this signature in database
GPG Key ID: 7D497397CC3A2A8C
6 changed files with 137 additions and 82 deletions

View File

@ -1,30 +0,0 @@
---
name: Bug report
about: Report an issue with the bot that didn't result in an error file
title: ''
labels: ''
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.
**Self-hosted instance?**
Did the error occur on a self-hosted instance (e.g. not the main esmBot or esmBot Dev instances)?
**Additional context**
Add any other context about the problem here.

54
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@ -0,0 +1,54 @@
name: Bug Report
description: Report an issue with the bot that didn't result in an error file
labels: [bug]
body:
- type: textarea
id: describe
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: Steps to reproduce the behavior.
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: false
- type: textarea
id: expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: false
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
validations:
required: false
- type: dropdown
id: self-hosted
attributes:
label: Self-hosted instance?
description: Did the error occur on a self-hosted instance (e.g. not the main esmBot or esmBot Dev instances)?
options:
- Yes
- No
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context about the problem here.
validations:
required: false

View File

@ -1,32 +0,0 @@
---
name: Error report
about: Report an error that the bot posted in chat
title: ''
labels: ''
assignees: ''
---
**Command that caused the error**
Post the exact command that caused the error.
**Image that caused the error**
If the error is regarding an image command, please post a direct link to the image here.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Self-hosted instance?**
Did the error occur on a self-hosted instance (e.g. not the main esmBot or esmBot Dev instances)?
**Error file**
```
Post the contents of the error file here.
```
**Additional context**
Add any other context about the problem here.

58
.github/ISSUE_TEMPLATE/error-report.yml vendored Normal file
View File

@ -0,0 +1,58 @@
name: Error Report
description: Report an error that the bot posted in chat
labels: [bug]
body:
- type: textarea
id: command
attributes:
label: Command that caused the error
description: Post the exact command that caused the error.
validations:
required: true
- type: input
id: image
attributes:
label: Image that caused the error
description: If the error is regarding an image command, please post a direct link to the image here.
validations:
required: false
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: Steps to reproduce the behavior.
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: false
- type: dropdown
id: self-hosted
attributes:
label: Self-hosted instance?
description: Did the error occur on a self-hosted instance (e.g. not the main esmBot or esmBot Dev instances)?
options:
- Yes
- No
validations:
required: true
- type: textarea
id: error
attributes:
label: Error file
description: Post the contents of the error file in between the backticks.
value: |
```
```
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context about the problem here.
validations:
required: false

View File

@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**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,25 @@
name: Feature Request
description: Suggest an idea for this project
labels: [enhancement]
body:
- type: textarea
id: describe
attributes:
label: Describe the request
description: What do you want to be added to the bot?
validations:
required: true
- 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 (if applicable). Ex. I'm always frustrated when [...]
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false