Skip to content

Commit a7e58fd

Browse files
committed
chore(github): enhance bug report template structure
1 parent b229b90 commit a7e58fd

File tree

1 file changed

+47
-22
lines changed

1 file changed

+47
-22
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 47 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,63 @@
11
name: 🐛 Bug Report
2-
description: Create a report to help us improve this repo.
2+
description: Help us improve this repository by filing a detailed bug report.
33
title: '[bug]: '
4-
labels: ['issue: bug']
4+
labels: [ 'issue: bug', 'status: to be confirmed' ]
55
body:
66
- type: markdown
77
attributes:
88
value: |
9-
Thank you for filing a bug report!
10-
- type: textarea
9+
Bug Description |
10+
A clear and concise description of the problem or unexpected behavior (attach screenshots/gifs if appropriate). |
11+
Clicking on the "Save" button doesn’t save the form data. |
12+
- type: markdown
1113
attributes:
12-
label: What version of `@strapi/sdk-js` are you using?
13-
placeholder: |
14-
- Npm version
15-
- Node.js version
16-
- React version:
17-
- `@strapi/sdk-js` version
18-
- Browser
19-
validations:
20-
required: true
21-
- type: textarea
14+
value: |
15+
Steps to Reproduce |
16+
Provide a step-by-step description of how to reproduce the issue. Include code snippets or links to repositories when applicable.|
17+
label: |
18+
Example: |
19+
1. Go to '...' |
20+
2. Click on '...' |
21+
3. Scroll down to '...' |
22+
4. See error |
23+
- type: markdown
24+
attributes:
25+
value: |
26+
Expected Behavior |
27+
Describe what you expected to happen instead of the bug. Be as specific as possible. |
28+
- type: input
2229
attributes:
23-
label: "What's Wrong?"
24-
description: A concise description of what you expected to happen (please provide screenshots).
30+
label: Version
31+
description: The SDK version used
32+
placeholder: 1.0.0
2533
validations:
2634
required: true
27-
- type: textarea
35+
- type: dropdown
2836
attributes:
29-
label: To Reproduce
30-
description: Steps to reproduce the behavior
37+
label: Operating System
38+
description: Select the operating system you are experiencing the issue on.
39+
multiple: false
40+
options:
41+
- MacOS
42+
- Linux
43+
- Windows
44+
- Other
3145
validations:
3246
required: true
33-
- type: textarea
47+
- type: dropdown
3448
attributes:
35-
label: Expected Behaviour
36-
description: What you expected to happen
49+
label: Runtime Environment
50+
description: Select the environment where this issue occurs.
51+
multiple: false
52+
options:
53+
- Browser
54+
- Node.js
55+
- Other (bun, deno, ...)
3756
validations:
3857
required: true
58+
- type: checkboxes
59+
attributes:
60+
label: Confirmation Checklist
61+
options:
62+
- label: I have searched for duplicates and couldn’t find a similar issue.
63+
- label: I have provided all necessary details to reproduce the issue.

0 commit comments

Comments
 (0)