diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..d32fffa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,83 @@ +name: Bug report +description: Something in Batik is broken or behaves unexpectedly +labels: ['bug', 'triage'] +body: + - type: markdown + attributes: + value: | + Thanks for the report. A minimal reproduction is the single most useful + thing you can give us — it usually turns a week of back and forth into + an afternoon. + + - type: checkboxes + id: preflight + attributes: + label: Before you start + description: By submitting this issue, you agree to follow our [Contributing Guidelines](https://github.com/devsantara/batik/blob/main/CONTRIBUTING.md). + options: + - label: I searched the existing issues or PRs and this has not been reported yet. + required: true + - label: I can reproduce this on the latest published version of the affected package. + required: true + + - type: input + id: package + attributes: + label: Affected package and version + placeholder: '@batik/@' + validations: + required: true + + - type: textarea + id: description + attributes: + label: What happened + description: What you saw, and what you expected instead. + validations: + required: true + + - type: input + id: reproduction + attributes: + label: Reproduction + description: >- + A link to a minimal repository or a StackBlitz that shows the bug, + with the StyleX compiler plugin set up for your bundler. We may close + issues we cannot reproduce. + placeholder: https://github.com/your-name/batik-bug + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: | + 1. Install the package + 2. Render `