diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index dc6c9e37de1f..000000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: 'Bug: ' -labels: bug -assignees: '' - ---- - ---- -name: Bug report -about: Help us improve the framework by reporting bugs! - ---- - -**Direction** -We use github issues to track bugs, not for support. -If you have a support question, or a feature request, raise these as threads on our -[forum](https://forum.codeigniter.com/index.php). - -**Describe the bug** -A clear and concise description of what the bug is. - -**CodeIgniter 4 version** -Which version (and branch, if applicable) the bug is in. - -**Affected module(s)** -Which package or class is the bug in, if known. - -**Expected behavior, and steps to reproduce if appropriate** -A clear and concise description of what you expected to happen, -and how you got there. -Feel free to include a text/log extract, but use a pastebin facility for any -screenshots you deem necessary. - -**Context** - - OS: [e.g. Windows 99] - - Web server: [e.g. Apache 1.2.3] - - PHP version: [e.g. 6.5.4] - - Database: [e.g. MySQL] diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000000..c20dd368f41a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,99 @@ +name: Bug report +description: Create a report to help us improve CodeIgniter +title: "Bug: " +labels: ['bug'] + +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! Before you begin, please + ensure that there are no existing issues, whether still open or closed, related + to your report. If there is, your report will be closed promptly. + + - type: dropdowm + id: php-version + attributes: + label: PHP Version + description: Which PHP versions did you run your code? + multiple: true + options: + - '7.3' + - '7.4' + - '8.0' + - '8.1' + validations: + required: true + + - type: input + id: codeigniter-version + attributes: + label: CodeIgniter4 Version + validations: + required: true + + - type: dropdown + id: operating-systems + attributes: + label: Which operating systems have you tested for this bug? + description: You may select more than one. + multiple: true + options: + - macOS + - Windows + - Linux + validations: + required: true + + - type: dropdown + id: server + attributes: + label: Which server did you use? + options: + - apache + - cli + - cli-server (PHP built-in webserver) + - cgi-fcgi + - fpm-fcgi + - phpdbg + validations: + required: true + + - type: input + id: database + attributes: + label: Database + validations: + required: false + + - type: textarea + id: description + attributes: + label: What happened? + placeholder: Tell us what you see! + validations: + required: true + + - type: textarea + attributes: + label: Steps to Reproduce + description: Steps to reproduce the behavior. + validations: + required: true + + - type: textarea + attributes: + label: Expected Output + description: What do you expect to happen instead of this filed bug? + validations: + required: true + + - type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false