Skip to content

Commit

Permalink
chore: use github form syntax for better issue templates (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa authored May 23, 2022
1 parent 7ce4e9a commit d0d6e83
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 57 deletions.
34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Bug report
description: File a bug against the `uuid` project
labels: ["bug"]
title: "[BUG] <title>"

body:
- type: checkboxes
attributes:
label: Before you begin...
options:
- label: I have searched the existing issues
required: true
- label: I am not using version 13.x of node (if so, please upgrade)
required: true

- type: textarea
attributes:
label: Description of the problem
validations:
required: false

- type: textarea
attributes:
label: Recipe for reproducing
description: "**IMPORTANT**: Failure to provide a [Minimal, Complete, and Verifiable](https://stackoverflow.com/help/minimal-reproducible-example) example will result in this issue being closed without further review."
render: bash
validations:
required: false

- type: textarea
attributes:
label: Additional information

- type: textarea
attributes:
label: Environment
description: "Output of `npx envinfo --system --browsers --npmPackages --binaries` goes here:"
validations:
required: false
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Feature request
description: Suggest an idea for this project
labels: ["feature"]

body:
- type: textarea
attributes:
label: Feature description

- type: textarea
attributes:
label: Additional information
description: E.g. alternatives you've considered, examples, screenshots, or anything else that may be helpful

0 comments on commit d0d6e83

Please sign in to comment.