Skip to content

Commit

Permalink
Convert to issue forms
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasddn committed Dec 23, 2024
1 parent 50d8aa6 commit 70f6adb
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 45 deletions.
35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Bug report
description: Something does not work as expected
labels: ["bug"]

body:
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell what you expected to happen.
validations:
required: true

- type: dropdown
id: api-status
attributes:
label: API availability
description: What does the `API status` sensor report? When selecting `Something else`, please clarify below in `Additional information`.
options:
- OK
- N/A
- Something else
validations:
required: true

- type: textarea
id: additional-info
attributes:
label: Additional information
description: Provide additional information, if any.
validations:
required: false

- type: textarea
id: diagnostics
attributes:
label: Diagnostics
description: If you think it is applicable, download the diagnostics and attach it to this issue. Privacy related data is redacted. To not disclose your setup, you may delete everything but the data element.
render: json
validations:
required: false
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

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

body:
- type: textarea
id: idea
attributes:
label: Your idea
description: Share your idea as detailed as possible.
validations:
required: true

0 comments on commit 70f6adb

Please sign in to comment.