From e1dff29bd25b40fa15a49422cce9db60bf638e29 Mon Sep 17 00:00:00 2001 From: Simon Vrachliotis Date: Mon, 22 Mar 2021 13:31:01 +1100 Subject: [PATCH] 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 --- .github/ISSUE_TEMPLATE.md | 13 --------- .github/ISSUE_TEMPLATE/1.bug_report.yml | 39 +++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug-report.md | 28 ------------------ 3 files changed, 39 insertions(+), 41 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/1.bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 520264c47..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,13 +0,0 @@ - diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml new file mode 100644 index 000000000..b973fe52e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -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" diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index e3e463444..000000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: 'Bug Report' -about: 'Report a reproducible bug in the framework.' -title: '' -labels: '' -assignees: '' ---- - -### Describe the problem: - - - -### Link to a minimal reproduction: - -