From db18da6f39f7ec8eb8d1e5e3e1c211a7094cd2ba Mon Sep 17 00:00:00 2001 From: Essem Date: Wed, 14 Jul 2021 16:55:30 -0500 Subject: [PATCH] Convert issue templates to the new YML format --- .github/ISSUE_TEMPLATE/bug_report.md | 30 ----------- .github/ISSUE_TEMPLATE/bug_report.yml | 54 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/error-report.md | 32 ------------ .github/ISSUE_TEMPLATE/error-report.yml | 58 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 -------- .github/ISSUE_TEMPLATE/feature_request.yml | 25 ++++++++++ 6 files changed, 137 insertions(+), 82 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/error-report.md create mode 100644 .github/ISSUE_TEMPLATE/error-report.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 27a5303..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Bug report -about: Report an issue with the bot that didn't result in an error file -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Self-hosted instance?** -Did the error occur on a self-hosted instance (e.g. not the main esmBot or esmBot Dev instances)? - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..85bfc0a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,54 @@ +name: Bug Report +description: Report an issue with the bot that didn't result in an error file +labels: [bug] +body: + - type: textarea + id: describe + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce + description: Steps to reproduce the behavior. + value: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: false + - type: textarea + id: expected + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: false + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem. + validations: + required: false + - type: dropdown + id: self-hosted + attributes: + label: Self-hosted instance? + description: Did the error occur on a self-hosted instance (e.g. not the main esmBot or esmBot Dev instances)? + options: + - Yes + - No + validations: + required: true + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context about the problem here. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/error-report.md b/.github/ISSUE_TEMPLATE/error-report.md deleted file mode 100644 index 3965faf..0000000 --- a/.github/ISSUE_TEMPLATE/error-report.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: Error report -about: Report an error that the bot posted in chat -title: '' -labels: '' -assignees: '' - ---- - -**Command that caused the error** -Post the exact command that caused the error. - -**Image that caused the error** -If the error is regarding an image command, please post a direct link to the image here. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Self-hosted instance?** -Did the error occur on a self-hosted instance (e.g. not the main esmBot or esmBot Dev instances)? - -**Error file** -``` -Post the contents of the error file here. -``` - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/error-report.yml b/.github/ISSUE_TEMPLATE/error-report.yml new file mode 100644 index 0000000..367c67f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/error-report.yml @@ -0,0 +1,58 @@ +name: Error Report +description: Report an error that the bot posted in chat +labels: [bug] +body: + - type: textarea + id: command + attributes: + label: Command that caused the error + description: Post the exact command that caused the error. + validations: + required: true + - type: input + id: image + attributes: + label: Image that caused the error + description: If the error is regarding an image command, please post a direct link to the image here. + validations: + required: false + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce + description: Steps to reproduce the behavior. + value: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: false + - type: dropdown + id: self-hosted + attributes: + label: Self-hosted instance? + description: Did the error occur on a self-hosted instance (e.g. not the main esmBot or esmBot Dev instances)? + options: + - Yes + - No + validations: + required: true + - type: textarea + id: error + attributes: + label: Error file + description: Post the contents of the error file in between the backticks. + value: | + ``` + + ``` + validations: + required: true + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context about the problem here. + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bbcbbe7..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -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 0000000..063c59a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,25 @@ +name: Feature Request +description: Suggest an idea for this project +labels: [enhancement] +body: + - type: textarea + id: describe + attributes: + label: Describe the request + description: What do you want to be added to the bot? + validations: + required: true + - type: textarea + id: problem + attributes: + label: Is your feature request related to a problem? Please describe. + description: A clear and concise description of what the problem is (if applicable). Ex. I'm always frustrated when [...] + validations: + required: false + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + validations: + required: false \ No newline at end of file