Skip to content

Commit

Permalink
Improve issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
tshemsedinov committed May 20, 2022
1 parent 052eafa commit 01070f5
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 50 deletions.
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: 🐞 Bug report
description: Create a report to help us improve
labels: [bug]
body:
- type: textarea
attributes:
label: Describe the problem
description: A clear and concise description of what the problem is.
validations:
required: true
- type: textarea
attributes:
label: Describe the solution
description: A clear and concise description of the solution you'd like to have.
- type: textarea
attributes:
label: Alternatives
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
body:
- type: input
attributes:
label: Impress and Node.js versions
description: see `package.json` and run `node -v`
- type: input
attributes:
label: Platform
description: output of `uname -a`
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: To Reproduce
description: Steps to reproduce the behavior. Usage example or test.
- type: textarea
attributes:
label: Expected behavior
description: A clear and concise description of what you expected.
- type: textarea
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 💡 Feature request
description: Suggest an idea for this project
labels: [bug]
body:
- type: textarea
attributes:
label: Describe the problem
description: A clear and concise description of what the problem is.
validations:
required: true
- type: textarea
attributes:
label: Describe the solution
description: A clear and concise description of the solution you'd like to have.
- type: textarea
attributes:
label: Alternatives
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Question
name: Question
about: Please don't open an issue to ask questions
---

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"scripts": {
"test": "npm run lint && npm run types && metatests test/",
"types": "tsc -p types/tsconfig.json",
"lint": "eslint . && prettier -c \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.yml\" \"**/*.ts\"",
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.yml\" \"**/*.ts\""
"lint": "eslint . && prettier -c \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.ts\"",
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.ts\""
},
"engines": {
"node": "^12.9 || 14 || 16 || 17 || 18"
Expand Down

0 comments on commit 01070f5

Please sign in to comment.