Convert issue template to form

This commit is contained in:
Pierre Rudloff 2022-06-08 00:04:10 +02:00
parent e7fd4c6bc4
commit 57dd9a7dd3
2 changed files with 64 additions and 31 deletions

64
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View file

@ -0,0 +1,64 @@
---
name: New issue
description: Please answer these questions when reporting a new issue.
body:
- type: input
attributes:
label: What is your operating system (Windows, Linux, OSX, etc.)?
validations:
required: true
- type: input
attributes:
label: What is your web server (Apache, IIS, etc.)?
validations:
required: true
- type: input
attributes:
label: What version of AllTube are you using?
validations:
required: true
- type: dropdown
attributes:
label: How did you install AllTube?
options:
- Git
- Release package
- Docker
- Other (please specify)
validations:
required: true
- type: input
attributes:
label: What version of PHP are you using?
validations:
required: true
- type: input
attributes:
label: What version of Python are you using?
validations:
required: true
- type: input
attributes:
label: What version of youtube-dl are you using?
validations:
required: true
- type: textarea
attributes:
label: Do you get any PHP-related errors in your webserver's logs?
description: If so, paste them here.
render: plain text
- type: textarea
attributes:
label: What is the content of your "config/config.yml" file?
description: If you don't have this file, you can ignore this question.
render: yml
- type: input
attributes:
label: Please provide the URL of a video that causes the issue.
validations:
required: true
- type: textarea
attributes:
label: Describe your issue
validations:
required: true

View file

@ -1,31 +0,0 @@
# New issue
## Your environment
Please answer these questions when reporting a new issue:
**What is your operating system (Windows, Linux, OSX, etc.)?**
**What is your web server (Apache, IIS, etc.)?**
**What version of AllTube are you using?**
**How did you install AllTube (with Git or with a release package)?**
**What version of PHP are you using?**
**What version of Python are you using?**
**What version of youtube-dl are you using?**
**Do you get any PHP-related errors in your webserver's logs?**
**What is the content of your `config/config.yml` file?**
```yaml
# Insert content here.
```
**Please provide the URL of a video that causes the issue.**
## Describe your issue