|
| 1 | +name: 🐛 Bug Report |
| 2 | +description: Report a bug or unexpected behavior |
| 3 | +title: "[Bug]: " |
| 4 | +labels: ["bug", "needs-triage"] |
| 5 | +body: |
| 6 | + - type: markdown |
| 7 | + attributes: |
| 8 | + value: | |
| 9 | + Thanks for taking the time to report this issue! Please fill out the information below to help us understand and resolve the problem. |
| 10 | +
|
| 11 | + - type: checkboxes |
| 12 | + id: prerequisites |
| 13 | + attributes: |
| 14 | + label: Prerequisites |
| 15 | + description: Please confirm the following before submitting |
| 16 | + options: |
| 17 | + - label: I have searched existing issues to ensure this bug hasn't been reported |
| 18 | + required: true |
| 19 | + - label: I have checked the documentation |
| 20 | + required: true |
| 21 | + - label: I am using the latest version |
| 22 | + required: false |
| 23 | + |
| 24 | + - type: input |
| 25 | + id: version |
| 26 | + attributes: |
| 27 | + label: Package Version |
| 28 | + description: What version of the package are you using? |
| 29 | + placeholder: e.g., 1.2.3 |
| 30 | + validations: |
| 31 | + required: true |
| 32 | + |
| 33 | + - type: textarea |
| 34 | + id: description |
| 35 | + attributes: |
| 36 | + label: Bug Description |
| 37 | + description: A clear and concise description of what the bug is |
| 38 | + placeholder: What went wrong? |
| 39 | + validations: |
| 40 | + required: true |
| 41 | + |
| 42 | + - type: textarea |
| 43 | + id: reproduction |
| 44 | + attributes: |
| 45 | + label: Steps to Reproduce |
| 46 | + description: Detailed steps to reproduce the behavior |
| 47 | + placeholder: | |
| 48 | + 1. Import '...' |
| 49 | + 2. Call function with '...' |
| 50 | + 3. See error |
| 51 | + validations: |
| 52 | + required: true |
| 53 | + |
| 54 | + - type: textarea |
| 55 | + id: expected |
| 56 | + attributes: |
| 57 | + label: Expected Behavior |
| 58 | + description: What did you expect to happen? |
| 59 | + placeholder: What should have happened instead? |
| 60 | + validations: |
| 61 | + required: true |
| 62 | + |
| 63 | + - type: textarea |
| 64 | + id: actual |
| 65 | + attributes: |
| 66 | + label: Actual Behavior |
| 67 | + description: What actually happened? |
| 68 | + placeholder: Include error messages, screenshots, or logs |
| 69 | + validations: |
| 70 | + required: true |
| 71 | + |
| 72 | + - type: textarea |
| 73 | + id: code |
| 74 | + attributes: |
| 75 | + label: Code Sample |
| 76 | + description: Minimal code to reproduce the issue |
| 77 | + placeholder: | |
| 78 | + ```typescript |
| 79 | + // Your code here |
| 80 | + ``` |
| 81 | + render: typescript |
| 82 | + validations: |
| 83 | + required: false |
| 84 | + |
| 85 | + - type: input |
| 86 | + id: reproduction-link |
| 87 | + attributes: |
| 88 | + label: Reproduction Link |
| 89 | + description: Link to a minimal reproduction (CodeSandbox, StackBlitz, GitHub repo, etc.) |
| 90 | + placeholder: https://codesandbox.io/s/... |
| 91 | + validations: |
| 92 | + required: false |
| 93 | + |
| 94 | + - type: textarea |
| 95 | + id: environment |
| 96 | + attributes: |
| 97 | + label: Environment |
| 98 | + description: Please provide your environment details |
| 99 | + placeholder: | |
| 100 | + - OS: [e.g., macOS 14.0, Windows 11, Ubuntu 22.04] |
| 101 | + - Node version: [e.g., 20.10.0] |
| 102 | + - Package manager: [e.g., npm 10.2.3, yarn 4.0.2, pnpm 8.14.0] |
| 103 | + - TypeScript version (if applicable): [e.g., 5.3.3] |
| 104 | + - Browser (if applicable): [e.g., Chrome 120, Safari 17] |
| 105 | + validations: |
| 106 | + required: false |
| 107 | + |
| 108 | + - type: textarea |
| 109 | + id: additional |
| 110 | + attributes: |
| 111 | + label: Additional Context |
| 112 | + description: Any other context, screenshots, or information about the problem |
| 113 | + placeholder: Add any other relevant details here |
| 114 | + validations: |
| 115 | + required: false |
| 116 | + |
| 117 | + - type: textarea |
| 118 | + id: solution |
| 119 | + attributes: |
| 120 | + label: Possible Solution |
| 121 | + description: If you have suggestions on how to fix this, please share |
| 122 | + placeholder: Optional - your ideas for fixing this issue |
| 123 | + validations: |
| 124 | + required: false |
0 commit comments