From 0b89ed13ec274f8a77578ea62579ff8a338846e9 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Mon, 2 Jan 2023 09:22:42 -0500 Subject: [PATCH] Use new bug report form --- .github/ISSUE_TEMPLATE/bug-report.md | 26 -------- .github/ISSUE_TEMPLATE/bug-report.yml | 78 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature-request.md | 17 ----- .github/ISSUE_TEMPLATE/feature-request.yml | 39 +++++++++++ 5 files changed, 122 insertions(+), 43 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 a4ea63e..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Bug Report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- - -**Expected Behaviour** -A clear and concise description of what you expected to happen. - -**Actual Behaviour** -A clear and concise description of what actually happened. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Screenshots, etc.** -If applicable, add screenshots to help explain your problem. -Please include the log (located at `/tmp/powertools.log`) if possible. -Note: the log is deleted when the device is restarted. diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..814062f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,78 @@ +name: "Bug Report" +description: "Report an issue with PowerTools" +labels: "bug" +body: + - type: checkboxes + id: low-effort-checks + attributes: + label: Please confirm + description: Issues without all checks may be ignored/closed. + options: + - label: I have searched existing issues + - label: This issue is not a duplicate of an existing one + - label: I am doing something good + validations: + required: true + - type: textarea + id: expected-behaviour + attributes: + label: Expected Behaviour + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: actual-behaviour + attributes: + label: Actual Behaviour + description: A clear and concise description of what actually happened. + validations: + required: true + - type: textarea + id: reproduction + 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: textarea + id: extras + attributes: + label: Anything else? + description: | + Screenshots? Logs? Anything that will give more context about the problem! + If applicable, add screenshots to help explain your problem. + Please include the log (located at `/tmp/powertools.log`) if possible. + Note: the log is deleted when the device is restarted. + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false + - type: dropdown + id: version + attributes: + label: Version + description: What version of PowerTools are you using? This is the version beside `powertools-rs` near the bottom of the plugin's UI. + options: + - 1.1.0 (Indev) + - 1.0.5 (Latest stable) + - 1.0.X (Out of date) + - 0.7.X (Very out of date) + - Not listed + validations: + required: true + - type: dropdown + id: platform + attributes: + label: Version + description: What platform are you using PowerTools on? + options: + - Steam Deck + - Holoiso + - Not listed + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..a5cd6f9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: NGnius + url: https://github.com/NGnius + about: Repository owner diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index 7ae2a8b..0000000 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature Request -about: Suggest a tool to add -title: '' -labels: enhancement -assignees: '' - ---- - -**Describe what you'd like to be able to do** -A clear and concise description of what you want. E.g. I'd like to be able to select how many CPU cores are enabled. - -**Describe alternatives you've considered** -A clear and concise description of any alternatives you've considered. E.g. Enabling and disabling CPU cores with another computer connected over SSH. - -**Additional context** -Description of how can this be done. E.g. This can be accomplished with `echo {0 or 1} > /sys/devices/system/cpu/cpu{cpu_number}/online`. diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..9dfd409 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,39 @@ +name: Feature Request +description: Suggest a tool to add +labels: "enhancement" +body: + - type: checkboxes + id: low-effort-checks + attributes: + label: Please confirm + description: Issues without all checks may be ignored/closed. + options: + - label: I have searched existing issues + - label: This issue is not a duplicate of an existing one + - label: I am doing something good + validations: + required: true + - type: textarea + id: described + attributes: + label: Describe what you'd like to be able to do + description: A clear and concise description of what you want. + placeholder: I'd like to be able to ... + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternatives you've considered. + placeholder: This can also be done by ... but ... + validations: + required: true + - type: textarea + id: extras + attributes: + label: Anything else? + description: Description of how this can be achieved, or other additional context + placeholder: This can be accomplished by doing ... + validations: + required: false