Skip to content

Commit

Permalink
chore(.github): use new YAML configured GitHub issue forms (#35)
Browse files Browse the repository at this point in the history
* chore(.github): use new YAML configured GitHub issue forms

* chore(.github): change pull_request_template.md location

* chore(.github): fix label casing
  • Loading branch information
Fdawgs authored Sep 3, 2021
1 parent b5f1786 commit 81aa63e
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 57 deletions.
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

79 changes: 79 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: 🐛 Bug Report
description: File a bug report and help us improve
labels: [bug]

body:
- type: markdown
attributes:
value: |
Thanks for filing a bug report, any help is greatly appreciated!
- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
options:
- label: I have written a descriptive issue title
required: true
- label: |
I have searched existing issues to ensure it has not already been reported
required: true
- label: |
I agree to follow the [Code of Conduct](../../CODE_OF_CONDUCT.md) that this project adheres to
required: true
- type: input
id: version
attributes:
label: API/app/plugin version
placeholder: 1.x.x

- type: input
id: node-version
attributes:
label: Node.js version
placeholder: 14.x
validations:
required: true

- type: dropdown
id: os
attributes:
label: Operating system
options:
- Linux
- macOS
- Windows
validations:
required: true

- type: input
id: os-version
attributes:
label: Operating system version (i.e. 20.04, 11.3, 10)
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: |
List of steps, sample code, or a link to code or a project that reproduces the behaviour.
Make sure you place a stack trace inside a [code (```) block](https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) to avoid linking unrelated issues.
validations:
required: true

- type: textarea
id: expected-behaviour
attributes:
label: Expected Behaviour
description: A clear and concise description of what you expected to happen.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 🚀 Feature Request
description: Submit a proposal for a new feature
labels: [feature]

body:
- type: markdown
attributes:
value: |
Thanks for making a feature request, new ideas are greatly appreciated!
- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
options:
- label: I have written a descriptive title
required: true
- label: |
I have searched existing feature requests to ensure it has not already been proposed
required: true
- label: |
I agree to follow the [Code of Conduct](../../CODE_OF_CONDUCT.md) that this project adheres to
required: true
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of what the feature is, and what it would solve.
validations:
required: true

0 comments on commit 81aa63e

Please sign in to comment.