Skip to content

Commit

Permalink
Switch to yaml forms for issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
theRookieCoder committed Apr 6, 2023
1 parent 9f52d1d commit 4815340
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 35 deletions.
21 changes: 0 additions & 21 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Bug Report
description: File a bug report.
labels: ["bug"]
body:
- type: textarea
attributes:
label: Description
description: Describe the bug that occurs.
validations:
required: true

- type: textarea
attributes:
label: Steps to reproduce
description: How can you reproduce this bug? You can also describe how you encountered the bug if you're unsure of how to make it happen again.
placeholder: |
For example:
1. Run `ferium ...`
2. ... doesn't properly change
3. Run command again
4. ... changes properly
...
- type: dropdown
attributes:
label: Operating System
description: The operating system are you encountered the bug on.
options:
- Windows
- Linux
- macOS
validations:
required: true

- type: checkboxes
attributes:
label: Are you using the latest version of ferium?
description: The bug you encountered might have been fixed in a newer version, make sure you have the [latest version](https://github.com/gorilla-devs/ferium/releases/latest).
options:
- label: I am using the latest version of ferium
validations:
required: true

- type: textarea
attributes:
label: Additional Information
description: Any additional information you would like to provide. You can even drop images or videos here.

14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Feature Request
description: Suggest a new feature for the project.
labels: ["enhancement"]
body:
- type: textarea
attributes:
label: The Problem
description: What problem do you have, that this feature could resolve?
placeholder: |
For example:
I cannot do ...
I have to do ... every time.
validations:
required: true

- type: textarea
attributes:
label: Your Solution(s)
description: Have you thought of ways ferium can solve your problem? If so, share them here.
placeholder: |
For example:
Ferium could do ...
Instead of doing ..., ferium should ... instead.

0 comments on commit 4815340

Please sign in to comment.