Adds issue template (YAML config) for bug report

* Add YAML config for bug report template
* Remove "legacy" bug report template in favour of YAML config
* Remove "legacy" issue template markdown file
This commit is contained in:
Simon Vrachliotis 2021-03-22 13:31:01 +11:00 committed by Adam Wathan
parent 454e015ab8
commit e1dff29bd2
3 changed files with 39 additions and 41 deletions

View File

@ -1,13 +0,0 @@
<!--
👋 Hey, thanks for taking an interest in Tailwind!
We don't accept issues that don't use our issue template.
Please use this link to create your issue:
https://github.com/tailwindcss/tailwindcss/issues/new/choose
Issues that don't follow our issue template will be closed, as it's just impossible to triage and resolve issues without some sort of system with the small team we have.
-->

39
.github/ISSUE_TEMPLATE/1.bug_report.yml vendored Normal file
View File

@ -0,0 +1,39 @@
name: Bug Report
description: Create a bug report for Tailwind CSS.
title: ''
labels: []
issue_body: true
body:
- type: input
attributes:
label: What version of Tailwind CSS are you using?
description: 'For example: v2.0.4'
validations:
required: true
- type: input
attributes:
label: What version of Node.js are you using?
description: 'For example: v12.0.0'
validations:
required: true
- type: input
attributes:
label: What browser are you using?
description: 'For example: Chrome, Safari, or N/A'
validations:
required: true
- type: input
attributes:
label: What operating system are you using?
description: 'For example: macOS, Windows'
validations:
required: true
- type: input
attributes:
label: Reproduction repository
description: A public GitHub repo that demonstrates the bug. If it's really unnecessary, link us to a YouTube video you think is awesome instead.
validations:
required: true
- type: markdown
attributes:
value: "## Describe your issue\nDescribe the problem you're seeing, any important steps to reproduce and what behavior you expect instead"

View File

@ -1,28 +0,0 @@
---
name: 'Bug Report'
about: 'Report a reproducible bug in the framework.'
title: ''
labels: ''
assignees: ''
---
### Describe the problem:
<!--
Explain the behavior you're seeing that you think is a bug, and explain how you
think things should behave instead.
-->
### Link to a minimal reproduction:
<!--
Please create a reproduction on https://play.tailwindcss.com or link to a GitHub
repository that reliably reproduces the issue with the least amount of extraneous
code possible.
We can't help you without a reproduction.
-->