Turn the GitHub Issue template into a form (#3608)

* Turn the issue template into a form

* Update .github/ISSUE_TEMPLATE/bug.yml

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>

* Update .github/ISSUE_TEMPLATE/bug.yml

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>

* Remove assignees

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
This commit is contained in:
Pedro Piñera Buendía 2021-10-29 14:34:19 +02:00 committed by GitHub
parent d911360d7d
commit c8f727144e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 70 additions and 29 deletions

View File

@ -1,29 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
---
**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. macOS]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

70
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@ -0,0 +1,70 @@
name: Bug Report
description: Create a report to help us improve
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: A bug happened!
validations:
required: true
- type: textarea
id: how-to-reproduce-it
attributes:
label: How do we reproduce it?
description: It's important that you take the time to explain us how to reproduce it to be able to provide you with a solution faster.
placeholder: |
1. Create a project '...'
2. Run the command '....'
3. Get an error...
value: ""
validations:
required: true
- type: textarea
id: expected
attributes:
label: What were you expecting?
description: A clear and concise description of what you expected to happen.
value: ""
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
value: ""
- type: input
id: macos-version
attributes:
label: macOS Version
description: In which macOS version are you running Tuist?
placeholder: e.g. macOS 10.15
validations:
required: true
- type: input
id: tuist-version
attributes:
label: Tuist Version
description: Which version of Tuist are you using?
placeholder: e.g. 2.1.0
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the problem here.