From aa69b107778123b2173bee6130e5d172d201b637 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Sun, 21 Jul 2024 06:32:25 -0700 Subject: [PATCH] [Feature] replace bug-report template with form (#2772) * replace bug-report template with form * update bug_report.yml * add palceholders for data & session file --- .github/ISSUE_TEMPLATE/bug_report.md | 30 ------- .github/ISSUE_TEMPLATE/bug_report.yml | 115 ++++++++++++++++++++++++++ 2 files changed, 115 insertions(+), 30 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 6545a0d2367..00000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: "[BUG]" -labels: Bug -assignees: '' - ---- - -**Describe the bug** - - -**To Reproduce** - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** - - -**Screenshots / Videos** - - -**Device** - - -**Additional context** - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000000..7941254e48a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,115 @@ +name: Bug Report +description: Create a report to help us improve +title: "[Bug] " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + - type: markdown + attributes: + value: | + --- + - type: textarea + id: session-file + attributes: + label: User data export file + description: Open Menu → ManageData → Export Session → Select slot. The file should now be in your `/Downloads` directory. Change the file extension type from `.prsv` to `.txt` (How to [Windows](https://www.guidingtech.com/how-to-change-file-type-on-windows/) | [Mac](https://support.apple.com/guide/mac-help/show-or-hide-filename-extensions-on-mac-mchlp2304/mac) | [iOS](https://www.guidingtech.com/change-file-type-extension-on-iphone/)). + placeholder: Focus me and then drop your file here (or use the upload button at the bottom) + validations: + required: false + - type: textarea + id: data-file + attributes: + label: Session export file + description: Open Menu → ManageData → Export Data. The file should now be in your `/Downloads` directory. Change the file extension type from `.prsv` to `.txt` (How to [Windows](https://www.guidingtech.com/how-to-change-file-type-on-windows/) | [Mac](https://support.apple.com/guide/mac-help/show-or-hide-filename-extensions-on-mac-mchlp2304/mac) | [iOS](https://www.guidingtech.com/change-file-type-extension-on-iphone/)). + placeholder: Focus me and then drop your file here (or use the upload button at the bottom) + validations: + required: false + - type: markdown + attributes: + value: | + --- + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. If it is an existing move or ability + validations: + required: true + - type: markdown + attributes: + value: | + --- + - type: textarea + id: media + attributes: + label: Screenshots / Videos + description: If applicable, add screenshots or videos to help explain your problem. + validations: + required: false + - type: markdown + attributes: + value: | + --- + - type: dropdown + id: os + attributes: + label: What OS did you observe the bug on? + multiple: true + options: + - PC/Windows + - Mac/OSX + - Linux + - iOS + - Android + - Other + validations: + required: true + - type: input + id: os-other + attributes: + label: If other please specify + validations: + required: false + - type: markdown + attributes: + value: | + --- + - type: dropdown + id: browser + attributes: + label: Which browser do you use? + multiple: true + options: + - Chrome + - Firefox + - Safari + - Edge + - Opera + - Other + validations: + required: true + - type: input + id: browser-other + attributes: + label: If other please specify + validations: + required: false + - type: markdown + attributes: + value: | + --- + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context about the problem here.