From d3d495968790005fc78f8ca27f25baaedd79a835 Mon Sep 17 00:00:00 2001 From: Edie Lemoine Date: Wed, 25 Oct 2023 10:14:05 +0200 Subject: [PATCH] chore: add v2 issue template --- .github/ISSUE_TEMPLATE/ZZ-BUG-REPORT-v2.yml | 77 +++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/ZZ-BUG-REPORT-v2.yml diff --git a/.github/ISSUE_TEMPLATE/ZZ-BUG-REPORT-v2.yml b/.github/ISSUE_TEMPLATE/ZZ-BUG-REPORT-v2.yml new file mode 100644 index 00000000..3c37ce5b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ZZ-BUG-REPORT-v2.yml @@ -0,0 +1,77 @@ +name: 'Bug report for v2.0.0-beta.x' +description: 'This form is for reporting bugs in the beta version of the plugin. If you are using version 1.x, please choose "Bug report" instead.' +title: '[BETA]: ' +labels: ['pdk'] + +body: + - type: markdown + attributes: + value: | + **⚠️ Note: ⚠️** + + This form is for reporting bugs in the beta version of the plugin (>= v2.0.0-beta.x). If you are using version 1.x, please use the [regular bug report form](https://github.com/myparcelnl/prestashop/issues/new?labels=bug&template=BUG-REPORT.yml) instead. + + - type: checkboxes + id: version-check + attributes: + label: 'Version check' + options: + - label: 'My version of the plugin is v2.0.0-beta.0 or above.' + required: true + + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this form! We will respond as fast as we can. Don't forget to check + whether your issue might be a [duplicate of an existing one](https://github.com/myparcelnl/prestashop/issues) before submitting. + + - type: input + id: wp-version + attributes: + label: 'PrestaShop version' + description: 'Which PrestaShop version are you using?' + placeholder: '8.0.0' + validations: + required: true + - type: input + id: php-version + attributes: + placeholder: '8.1' + label: 'PHP version' + description: 'Which PHP version are you using?' + validations: + required: true + + - type: textarea + id: description + attributes: + label: 'What went wrong?' + description: 'A clear and concise description of what the bug is.' + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: 'Reproduction steps' + description: 'Steps to reproduce this behavior.' + value: | + 1. Navigate to ... + 2. Click on ... + 3. See ... + validations: + required: true + + - type: textarea + id: logs + attributes: + label: 'Relevant log output' + description: 'Copy and paste any relevant log output here. Proper formatting will be applied automatically.' + render: shell + - type: textarea + id: additional-context + attributes: + label: 'Additional context' + description: | + Add any other context or screenshots about the bug here. + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.