Skip to content

Commit

Permalink
fix(repository): update bug report template formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Convly authored Dec 19, 2024
2 parents b252e66 + f2adb2c commit 87a7589
Showing 1 changed file with 40 additions and 22 deletions.
62 changes: 40 additions & 22 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,45 @@ description: Help us improve this repository by filing a detailed bug report.
title: '[bug]: '
labels: [ 'issue: bug', 'status: to be confirmed' ]
body:
- type: markdown
attributes:
value: |
Bug Description |
A clear and concise description of the problem or unexpected behavior (attach screenshots/gifs if appropriate). |
Clicking on the "Save" button doesn’t save the form data. |
- type: markdown
attributes:
value: |
Steps to Reproduce |
Provide a step-by-step description of how to reproduce the issue. Include code snippets or links to repositories when applicable.|
label: |
Example: |
1. Go to '...' |
2. Click on '...' |
3. Scroll down to '...' |
4. See error |
- type: markdown
attributes:
value: |
Expected Behavior |
Describe what you expected to happen instead of the bug. Be as specific as possible. |
- type: textarea
attributes:
label: Bug Description
description: A clear and concise description of the problem or unexpected behavior (attach screenshots/gifs if appropriate).
placeholder: Clicking on the "Save" button doesn’t save the form data.
render: markdown
validations:
required: true

- type: textarea
attributes:
label: Steps to Reproduce
description: Provide a step-by-step description of how to reproduce the issue. Include code snippets or links to repositories when applicable.
placeholder: |
Example:
1. Create an Article collection type in your Strapi app
2. Export the API schema
3. Make the following query: `...`
4. See the error in the console
render: markdown
validations:
required: true

- type: textarea
attributes:
label: Expected Behavior
description: Describe what you expected to happen instead of the bug. Be as specific as possible.
render: markdown
validations:
required: true

- type: input
attributes:
label: Version
description: The SDK version used
placeholder: 1.0.0
validations:
required: true

- type: dropdown
attributes:
label: Operating System
Expand All @@ -44,6 +54,7 @@ body:
- Other
validations:
required: true

- type: dropdown
attributes:
label: Runtime Environment
Expand All @@ -55,6 +66,13 @@ body:
- Other (bun, deno, ...)
validations:
required: true

- type: textarea
attributes:
label: Logs
description: If applicable, the logs you got from using the SDK
render: shell

- type: checkboxes
attributes:
label: Confirmation Checklist
Expand Down

0 comments on commit 87a7589

Please sign in to comment.