Skip to content

Commit

Permalink
Add issue templates (#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Sep 22, 2024
1 parent 2b98d9f commit afb3c0a
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/1 new type.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 💡 Suggest new type
description: '​‌‍⁠ ' # Magic whitespace to hide this required field
labels: 'type addition'

body:
- type: textarea
id: description
validations:
required: true
attributes:
label: Type description + examples

- type: textarea
id: type
attributes:
label: Type source
description: If you already have the type source, enter it here as a starting point for a the discussion

- id: requirements
type: checkboxes
attributes:
label: Search existing types and issues first
options:
- label: I tried my best to look for it
required: true
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/2 bug report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 🐛 Report bug
description: '​‌‍⁠ ' # Magic whitespace to hide this required field
labels: bug

body:
- type: textarea
id: description
validations:
required: true
attributes:
label: Bug description

- type: input
id: repro
validations:
required: true
attributes:
label: Repro
description: |
Open [this playground](https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBDAnmApnA3gUQB4GMVgwC+cAZlBCHAORKoC0pKAzjNQNwCwAUD3WgDEIEOAF4MPAJABXAHbBc0WQC44rKMFkBzLt0lQAhpoBGEAO6rTEADYoDs3UV19kaAHIQASkdmmzYuBx8QgAeIQgAGhpDE3NqAD5dOGS4AHpUuAA9AH4eIA), write a piece of code that fails your expectations, click "Share", and paste the URL here
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/3 enhancement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: ♻️ Propose change or improvement to existing types
about: '​‌‍⁠ ' # Magic whitespace to hide this required field
labels: 'enhancement'
---

0 comments on commit afb3c0a

Please sign in to comment.