From e3f7ce9837ad3f02c2aaea9876ea305ea6b94056 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Wed, 2 Mar 2022 22:36:42 +0100 Subject: [PATCH] chore: improved bug report and feature request forms (#683) --- .github/ISSUE_TEMPLATE/bug_report.md | 22 ------ .github/ISSUE_TEMPLATE/bug_report.yml | 86 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature_request.md | 19 ----- .github/ISSUE_TEMPLATE/feature_request.yml | 41 +++++++++++ 5 files changed, 132 insertions(+), 41 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 882c3530..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' ---- - -**Describe the bug:**\ -A clear and concise description of what the bug is. - -**Expected behavior:**\ -A clear and concise description of what you expected to happen. - -**Screenshots:**\ -If applicable, add screenshots to help explain your problem. - -**Logfiles:**\ -Please upload your Logfiles here or upload them to [pastebin.com](http://pastebin.com) and paste your log links here. - -- klippy.log -- moonraker.log diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..70ae8468 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,86 @@ +name: Bug report +description: You found an issue while using Mainsail? Report it here! +labels: ['⚡ Type: Bug'] +body: + - type: markdown + attributes: + value: >- + ## ✨ First of all: Thank you for choosing Mainsail! ✨ + + #### This form is ONLY for reporting issues and bugs related to Mainsail! + + * In case you want to make a feature request, please use the following + form: [Feature + request](https://github.com/mainsail-crew/mainsail/issues/new?assignees=&labels=feature+request&template=feature_request.yml) + + * If you need general support, please visit us on + [Discord](https://discord.gg/mainsail) + + --- + - type: dropdown + id: browser + attributes: + label: 'Browser:' + description: Which browser did you use when the issue occured? + options: + - Chrome + - Firefox + - Safari + - Edge + - Other (Please tell us below) + validations: + required: true + - type: dropdown + id: device + attributes: + label: 'Device:' + description: What kind of device did you use when the issue occured? + options: + - Desktop PC + - Laptop + - Mobile device (Phone, Tablet or similar) + - Other (Please tell us below) + validations: + required: true + - type: dropdown + id: os + attributes: + label: 'Operating System:' + description: Which operating system runs on the device? + options: + - Windows + - macOS + - Linux + - Android + - iOS + - Other (Please tell us below) + validations: + required: true + - type: textarea + id: what-happened + attributes: + label: 'What happened?' + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: 'What did you expect to happen instead?' + description: A clear and concise description of what you expected to happen instead. + validations: + required: true + - type: textarea + id: repro-steps + attributes: + label: 'How to reproduce this bug?' + description: A clear description with precise steps to reproduce this bug. + validations: + required: true + - type: textarea + id: additional-info + attributes: + label: 'Additional information:' + description: | + If you have any additional information for us or the options to choose from didn't suit your case, use the field below. + Please note, you can also attach screenshots or screen recordings which help to display/describe the issue. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..1caa0767 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Mainsail Discord Server + url: https://discord.gg/mainsail + about: If you have questions or need general support, please visit us here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index db3237b1..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '[FR]' -labels: '' -assignees: '' ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..eb745d78 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,41 @@ +name: Feature request +description: You have an idea for a new feature? Tell us here! +labels: ['💡 Type: FR'] +body: + - type: markdown + attributes: + value: >- + ## ✨ First of all: Thank you for choosing Mainsail! ✨ + + #### This form is ONLY for feature requests related to Mainsail! + + * In case you want to report an issue, please use the following + form: [Bug report](https://github.com/mainsail-crew/mainsail/issues/new?assignees=&labels=feature+request&template=bug_report.yml) + + * If you need general support, please visit us on + [Discord](https://discord.gg/mainsail) + + --- + - type: textarea + id: request + attributes: + label: 'Requested feature:' + description: >- + A clear and concise description of the feature you wish to see implemented. + validations: + required: true + - type: textarea + id: problem + attributes: + label: 'Solves the following problem:' + description: | + Is your feature request related to a problem? Please describe below. + (In case there is an existing bug report, please add the link to it) + validations: + required: false + - type: textarea + id: additional-info + attributes: + label: 'Additional information:' + description: | + If you have any additional information use the field below.