Skip to content

Commit 4815340

Browse files
Switch to yaml forms for issue templates
1 parent 9f52d1d commit 4815340

4 files changed

Lines changed: 72 additions & 35 deletions

File tree

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Bug Report
2+
description: File a bug report.
3+
labels: ["bug"]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Description
8+
description: Describe the bug that occurs.
9+
validations:
10+
required: true
11+
12+
- type: textarea
13+
attributes:
14+
label: Steps to reproduce
15+
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.
16+
placeholder: |
17+
For example:
18+
1. Run `ferium ...`
19+
2. ... doesn't properly change
20+
3. Run command again
21+
4. ... changes properly
22+
...
23+
24+
- type: dropdown
25+
attributes:
26+
label: Operating System
27+
description: The operating system are you encountered the bug on.
28+
options:
29+
- Windows
30+
- Linux
31+
- macOS
32+
validations:
33+
required: true
34+
35+
- type: checkboxes
36+
attributes:
37+
label: Are you using the latest version of ferium?
38+
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).
39+
options:
40+
- label: I am using the latest version of ferium
41+
validations:
42+
required: true
43+
44+
- type: textarea
45+
attributes:
46+
label: Additional Information
47+
description: Any additional information you would like to provide. You can even drop images or videos here.
48+

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Feature Request
2+
description: Suggest a new feature for the project.
3+
labels: ["enhancement"]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: The Problem
8+
description: What problem do you have, that this feature could resolve?
9+
placeholder: |
10+
For example:
11+
I cannot do ...
12+
I have to do ... every time.
13+
validations:
14+
required: true
15+
16+
- type: textarea
17+
attributes:
18+
label: Your Solution(s)
19+
description: Have you thought of ways ferium can solve your problem? If so, share them here.
20+
placeholder: |
21+
For example:
22+
Ferium could do ...
23+
Instead of doing ..., ferium should ... instead.
24+

0 commit comments

Comments
 (0)