diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml index 83f190f..a792d35 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml @@ -1,38 +1,63 @@ name: 🐛 Bug Report -description: Create a report to help us improve this repo. +description: Help us improve this repository by filing a detailed bug report. title: '[bug]: ' -labels: ['issue: bug'] +labels: [ 'issue: bug', 'status: to be confirmed' ] body: - type: markdown attributes: value: | - Thank you for filing a bug report! - - type: textarea + 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: - label: What version of `@strapi/sdk-js` are you using? - placeholder: | - - Npm version - - Node.js version - - React version: - - `@strapi/sdk-js` version - - Browser - validations: - required: true - - type: textarea + 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: input attributes: - label: "What's Wrong?" - description: A concise description of what you expected to happen (please provide screenshots). + label: Version + description: The SDK version used + placeholder: 1.0.0 validations: required: true - - type: textarea + - type: dropdown attributes: - label: To Reproduce - description: Steps to reproduce the behavior + label: Operating System + description: Select the operating system you are experiencing the issue on. + multiple: false + options: + - MacOS + - Linux + - Windows + - Other validations: required: true - - type: textarea + - type: dropdown attributes: - label: Expected Behaviour - description: What you expected to happen + label: Runtime Environment + description: Select the environment where this issue occurs. + multiple: false + options: + - Browser + - Node.js + - Other (bun, deno, ...) validations: required: true + - type: checkboxes + attributes: + label: Confirmation Checklist + options: + - label: I have searched for duplicates and couldn’t find a similar issue. + - label: I have provided all necessary details to reproduce the issue.