From 53dbb1a75679f0fd654ea34bf7ba84462d83f49b Mon Sep 17 00:00:00 2001 From: ybw0014 Date: Fri, 7 Jul 2023 20:17:28 -0400 Subject: [PATCH] chore: Use issue form --- .github/ISSUE_TEMPLATE/bug-report.md | 33 ------- .github/ISSUE_TEMPLATE/bug-report.yml | 131 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 + 3 files changed, 136 insertions(+), 33 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 diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 8a8e25d..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: Bug Report -about: Report a Bug or an Issue with this Plugin. -title: '' -labels: bug -assignees: '' - ---- - -## Description (Required) - - - - -## Steps to reproduce the Issue (Required) - - -## Expected behavior (Required) - - -## Server Log / Error Report - - - -## Environment (Required) - - - - - - Minecraft Version: - - CS-CoreLib Version: - - Slimefun Version: - - Plugin Version: diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..5c8a434 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,131 @@ +name: Bug Report +description: Report bugs or problems about MobCapturer +labels: ["bug"] +assignees: + - @mobcapturer-team +body: + - type: markdown + attributes: + value: | + ## Welcome to MobCapturer Bug Tracker + Please take a look at [How to report bugs](https://github.com/Slimefun/Slimefun4/wiki/How-to-report-bugs) and [existing Issues](https://github.com/Slimefun-Addon-Community/MobCapturer/issues). + + Fields marked with an asterisk (*) are required. + + - type: checkboxes + id: checklist + attributes: + label: Checklist + description: Please go through this checklist before you create the issue. + options: + - label: You are using official version downloaded from Builds (https://thebusybiscuit.github.io/builds/) + required: true + - label: You did not modify the jar file + required: true + - label: You searched existing issues, and could not find any existing bug report on this + required: true + + - type: textarea + id: description + attributes: + label: Description + description: | + Please provide detailed and clear description of what goes wrong. + The more information you can provide, the easier we can handle this problem. + placeholder: Only "doesn't work" won't help. + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: Reproduction Steps + description: | + Tell us the exact steps to reproduce this issue, the more detailed the easier we can reproduce it. + If you can provide a video reproduction, please paste your video link. + placeholder: | + 1. xxx + 2. xxx + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: Expected Behavior + description: | + What were you expecting to happen? + What do you think would have been the correct behaviour? + Sometimes, you misunderstand an intended feature. + validations: + required: true + + - type: input + id: server-log + attributes: + label: Server log + description: | + Take a look at your server log and upload any full error message from Slimefun to pasting service [https://pastebin.com/](https://pastebin.com/) + **DO NOT paste logs here** + placeholder: https://pastebin.com/... + validations: + required: false + + - type: input + id: error-report + attributes: + label: Error report + description: | + If the error generates a report at `/plugins/Slimefun/error-reports`, please upload to pasting service [https://pastebin.com/](https://pastebin.com/) + **DO NOT paste error reports here** + placeholder: https://pastebin.com/.... + validations: + required: false + + - type: dropdown + id: server-software + attributes: + label: Server Software + description: Please select the software your server is running on + options: + - Spigot + - Paper + - Purpur + - Airplane + - Other (Please specify in description) + validations: + required: true + + - type: dropdown + id: minecraft-version + attributes: + label: Minecraft Version + description: Please select your Minecraft Version + options: + - 1.20.x + - 1.19.x + - 1.18.x + - 1.17.x + - 1.16.x + - Older versions are not supported + validations: + required: true + + - type: textarea + id: slimefun-version + attributes: + label: Slimefun version + description: | + "latest" is not a valid version number, we need exact one. + We recommend to run `/sf versions` and upload the screenshot, make sure the entire output is included. + validations: + required: true + + - type: input + id: version-plugin + attributes: + label: Plugin version + description: | + Please specify the plugin version (like `DEV - 1 (git XXXXXX)`) + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..11ad397 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Slimefun Addon Community Discord Server + url: https://discord.gg/SqD3gg5SAU + about: Discuss bugs or ask for help in our Discord server! (DO NOT report bugs there)