Skip to content

Commit 40b8833

Browse files
samsharafrozenhelium
authored andcommitted
feat: use .yaml format for templates and add additional sections
1 parent ffa7aa2 commit 40b8833

File tree

4 files changed

+30
-29
lines changed

4 files changed

+30
-29
lines changed

.github/ISSUE_TEMPLATE/01_bug_report.md renamed to .github/ISSUE_TEMPLATE/01_bug_report.yaml

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@ body:
3636
validations:
3737
required: true
3838

39-
- type: input
40-
attributes:
41-
label: 'Browser Version'
42-
description: 'What version of the browser are you using?'
43-
placeholder: '103.0.5060.134'
44-
validations:
45-
required: false
46-
4739
- type: input
4840
attributes:
4941
label: 'Operating System'
@@ -52,6 +44,35 @@ body:
5244
validations:
5345
required: false
5446

47+
- type: textarea
48+
attributes:
49+
label: 'Steps to Reproduce the Issue'
50+
description: |
51+
Please describe the issue in detail, including:
52+
1. What actions led to the issue?
53+
2. If possible, attach screenshots or videos demonstrating the problem.
54+
placeholder: |
55+
1. I clicked on...
56+
2. [Attach screenshots/videos if available]
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
attributes:
62+
label: 'Expected Behavior'
63+
description: 'Describe what you expected to happen.'
64+
placeholder: 'I expected the page to...'
65+
validations:
66+
required: true
67+
68+
- type: textarea
69+
attributes:
70+
label: 'Actual Behavior'
71+
description: 'Describe what actually happened, including any error messages.'
72+
placeholder: 'Instead, I saw...'
73+
validations:
74+
required: true
75+
5576
- type: dropdown
5677
attributes:
5778
label: 'Priority'
@@ -64,23 +85,6 @@ body:
6485
validations:
6586
required: false
6687

67-
- type: textarea
68-
attributes:
69-
label: 'Steps to Reproduce the Issue'
70-
description: |
71-
Please describe the issue in detail, including:
72-
1. What actions led to the issue?
73-
2. What did you expect to happen?
74-
3. What actually happened?
75-
4. If possible, attach screenshots or videos demonstrating the problem.
76-
placeholder: |
77-
1. I clicked on...
78-
2. I expected the page to...
79-
3. Instead, I saw...
80-
4. [Attach screenshots/videos if available]
81-
validations:
82-
required: true
83-
8488
- type: textarea
8589
attributes:
8690
label: 'Additional Context (Optional)'

.github/pull_request_template.md renamed to .github/pull_request_template.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ Provide a brief description of what this PR addresses and its purpose.
1818
- [ ] No unwanted comments, temporary files, or auto-generated files
1919
- [ ] No inclusion of secret keys or sensitive data
2020
- [ ] No `console.log` statements meant for debugging
21-
- [ ] `pnpm lint` runs without errors
22-
- [ ] `pnpm typecheck` passes (no type errors)
23-
- [ ] `pnpm knip` passes
24-
- [ ] `pnpm build` completes successfully
21+
- [ ] All CI checks have passed
2522

2623
## Additional Notes
2724
_Optional: Add any other relevant context, screenshots, or details here._

0 commit comments

Comments
 (0)