| 1 | name: "\U0001F41B Bug Report" |
| 2 | title: "\U0001F41B [Bug]: " |
| 3 | description: Create a bug report to help us fix it. |
| 4 | labels: ["☢️ Bug"] |
| 5 | |
| 6 | body: |
| 7 | - type: markdown |
| 8 | id: notice |
| 9 | attributes: |
| 10 | value: | |
| 11 | ### Notice |
| 12 | - Dont't forget you can ask your questions on our [Discord server](https://gofiber.io/discord). |
| 13 | - If you think Fiber utils don't have a nice feature that you think, open the issue with **✏️ Feature Request** template. |
| 14 | - Write your issue with clear and understandable English. |
| 15 | - type: textarea |
| 16 | id: description |
| 17 | attributes: |
| 18 | label: "Bug Description" |
| 19 | description: "A clear and detailed description of what the bug is." |
| 20 | placeholder: "Explain your problem as clear and detailed." |
| 21 | validations: |
| 22 | required: true |
| 23 | - type: textarea |
| 24 | id: how-to-reproduce |
| 25 | attributes: |
| 26 | label: How to Reproduce |
| 27 | description: "Steps to reproduce the behavior and what should be observed in the end." |
| 28 | placeholder: "Tell us step by step how we can replicate your problem and what we should see in the end." |
| 29 | value: | |
| 30 | Steps to reproduce the behavior: |
| 31 | 1. Go to '....' |
| 32 | 2. Click on '....' |
| 33 | 3. Do '....' |
| 34 | 4. See '....' |
| 35 | validations: |
| 36 | required: true |
| 37 | - type: textarea |
| 38 | id: expected-behavior |
| 39 | attributes: |
| 40 | label: Expected Behavior |
| 41 | description: "A clear and detailed description of what you think should happens." |
| 42 | placeholder: "Tell us what util should normally do." |
| 43 | validations: |
| 44 | required: true |
| 45 | - type: input |
| 46 | id: version |
| 47 | attributes: |
| 48 | label: "Utils Version" |
| 49 | description: "Some bugs may be fixed in future utils releases, so we have to know your utils version." |
| 50 | placeholder: "Write your utils version. (v1.0.0, v1.1.0...)" |
| 51 | validations: |
| 52 | required: true |
| 53 | - type: textarea |
| 54 | id: snippet |
| 55 | attributes: |
| 56 | label: "Code Snippet (optional)" |
| 57 | description: "For some issues, we need to know some parts of your code." |
| 58 | placeholder: "Share a code you think related to the issue." |
| 59 | render: go |
| 60 | value: | |
| 61 | package main |
| 62 | |
| 63 | import "github.com/gofiber/utils/v2" |
| 64 | |
| 65 | func main() { |
| 66 | // Steps to reproduce |
| 67 | } |
| 68 | - type: checkboxes |
| 69 | id: terms |
| 70 | attributes: |
| 71 | label: "Checklist:" |
| 72 | description: "By submitting this issue, you confirm that:" |
| 73 | options: |
| 74 | - label: "I agree to follow Fiber's [Code of Conduct](https://github.com/gofiber/fiber/blob/master/.github/CODE_OF_CONDUCT.md)." |
| 75 | required: true |
| 76 | - label: "I have checked for existing issues that describe my problem prior to opening this one." |
| 77 | required: true |
| 78 | - label: "I understand that improperly formatted bug reports may be closed without explanation." |
| 79 | required: true |