Skip to content

Commit f2adb2c

Browse files
committed
fix(repository): update bug report template formatting
1 parent b252e66 commit f2adb2c

File tree

1 file changed

+40
-22
lines changed

1 file changed

+40
-22
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 40 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,45 @@ description: Help us improve this repository by filing a detailed bug report.
33
title: '[bug]: '
44
labels: [ 'issue: bug', 'status: to be confirmed' ]
55
body:
6-
- type: markdown
7-
attributes:
8-
value: |
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
13-
attributes:
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. |
6+
- type: textarea
7+
attributes:
8+
label: Bug Description
9+
description: A clear and concise description of the problem or unexpected behavior (attach screenshots/gifs if appropriate).
10+
placeholder: Clicking on the "Save" button doesn’t save the form data.
11+
render: markdown
12+
validations:
13+
required: true
14+
15+
- type: textarea
16+
attributes:
17+
label: Steps to Reproduce
18+
description: Provide a step-by-step description of how to reproduce the issue. Include code snippets or links to repositories when applicable.
19+
placeholder: |
20+
Example:
21+
1. Create an Article collection type in your Strapi app
22+
2. Export the API schema
23+
3. Make the following query: `...`
24+
4. See the error in the console
25+
render: markdown
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
attributes:
31+
label: Expected Behavior
32+
description: Describe what you expected to happen instead of the bug. Be as specific as possible.
33+
render: markdown
34+
validations:
35+
required: true
36+
2837
- type: input
2938
attributes:
3039
label: Version
3140
description: The SDK version used
3241
placeholder: 1.0.0
3342
validations:
3443
required: true
44+
3545
- type: dropdown
3646
attributes:
3747
label: Operating System
@@ -44,6 +54,7 @@ body:
4454
- Other
4555
validations:
4656
required: true
57+
4758
- type: dropdown
4859
attributes:
4960
label: Runtime Environment
@@ -55,6 +66,13 @@ body:
5566
- Other (bun, deno, ...)
5667
validations:
5768
required: true
69+
70+
- type: textarea
71+
attributes:
72+
label: Logs
73+
description: If applicable, the logs you got from using the SDK
74+
render: shell
75+
5876
- type: checkboxes
5977
attributes:
6078
label: Confirmation Checklist

0 commit comments

Comments
 (0)