diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 354f008a..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: New issue -about: Create an issue -title: '' -assignees: '' - ---- - -*Read this and delete before submitting:* Thanks for starting a discussion! Please provide as much context as possible so that others can understand your thoughts. If you have a specific change in mind, consider submitting a pull request instead. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..4023b174 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,91 @@ +name: Bug Report +description: File a bug report to help us improve croc +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! Please provide as much detail as possible to help us reproduce and fix the issue. + + - type: textarea + id: what-happened + attributes: + label: What happened? + description: A clear and concise description of what the bug is. + placeholder: Tell us what you see! + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: What did you expect to happen? + description: A clear and concise description of what you expected to happen. + placeholder: Tell us what you expected! + validations: + required: true + + - type: textarea + id: reproduction-steps + attributes: + label: Steps to reproduce + description: Steps to reproduce the behavior + placeholder: | + 1. Go to '...' + 2. Click on '...' + 3. Scroll down to '...' + 4. See error + validations: + required: true + + - type: input + id: version + attributes: + label: croc version + description: What version of croc are you running? + placeholder: Run `croc --version` and paste the output here + validations: + required: true + + - type: dropdown + id: os + attributes: + label: Operating System + description: What operating system are you using? + options: + - Linux + - macOS + - Windows + - Other (please specify in additional context) + validations: + required: true + + - type: input + id: os-version + attributes: + label: OS Version + description: What version of your operating system are you using? + placeholder: e.g., Ubuntu 22.04, macOS 14.0, Windows 11 + validations: + required: true + + + - type: textarea + id: logs + attributes: + label: Relevant log output + description: | + Please copy and paste any relevant log output. You can enable debug logging with `croc --debug` + This will be automatically formatted into code, so no need for backticks. + render: shell + validations: + required: false + + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context about the problem here, such as screenshots, configuration files, or anything else that might help us understand the issue. + validations: + required: false \ No newline at end of file