From 4fa06e3727564ce3b82ac319474366d134106c5f Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Thu, 2 Sep 2021 18:57:16 +0100 Subject: [PATCH] Add issue form --- .github/ISSUE_TEMPLATE/bug_report.md | 33 ------------ .github/ISSUE_TEMPLATE/bug_report.yml | 73 +++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 33 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 0702954c99..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -labels: bug,unconfirmed ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '...' -3. Scroll down to '...' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Context** -- Package version: [e.g. 0.1.0] -- Livewire version: [e.g. 2.0.0] -- Laravel version: [e.g. 8.0.0] -- Browser: [e.g. Chrome, Safari] -- Server OS: [e.g. Ubuntu 18.04.4] -- PHP version: [e.g. 7.4] -- Database: [e.g. MySQL 8.0] - -**Additional details** -Add any other details about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..b968baf9d1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,73 @@ +name: Bug +description: Create a report to help us improve +body: + - type: markdown + attributes: + value: | + Before opening a bug report, please search for the behaviour in the existing issues. + + --- + + Thank you for taking the time to file a bug report. To address this bug as fast as possible, we need some information. + - type: dropdown + id: package + attributes: + label: Package + description: Which package is this bug report for? + options: + - filament/filament + - filament/forms + - filament/tables + - filament/spatie-laravel-media-library-plugin + - filament/spatie-tags-plugin + - Other + validations: + required: true + - type: input + id: package-version + attributes: + label: Package Version + description: "Please provide the full version of your package you have installed." + placeholder: "v2.0.0" + validations: + required: true + - type: input + id: laravel-version + attributes: + label: Laravel Version + description: "Please provide the full Laravel version of your project." + placeholder: "v8.0.0" + validations: + required: true + - type: input + id: livewire-version + attributes: + label: Livewire Version + description: "Please provide the full Livewire version of your project." + placeholder: "v2.0.0" + - type: input + id: php-version + attributes: + label: PHP Version + description: "Please provide the full PHP version of your server." + placeholder: "PHP 8.0.0" + validations: + required: true + - type: textarea + id: description + attributes: + label: Bug description + description: What happened? + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce + description: Which steps do we need to take to reproduce this error? + - type: textarea + id: logs + attributes: + label: Relevant log output + description: If applicable, provide relevant log output. No need for backticks here. + render: shell