From 99c20c60546673dbb1ce3da0ebf2986ced61bb77 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 4 May 2024 10:06:26 -0400 Subject: [PATCH] feat(repo): Transitioning to issue forms --- .forgejo/ISSUE_TEMPLATE/bug-report.md | 23 ----------- .forgejo/ISSUE_TEMPLATE/bug_report.yaml | 55 +++++++++++++++++++++++++ .forgejo/ISSUE_TEMPLATE/config.yaml | 5 +++ .forgejo/ISSUE_TEMPLATE/suggestion.md | 26 ------------ .forgejo/ISSUE_TEMPLATE/suggestion.yaml | 55 +++++++++++++++++++++++++ .forgejo/pull_request_template.md | 6 +++ 6 files changed, 121 insertions(+), 49 deletions(-) delete mode 100644 .forgejo/ISSUE_TEMPLATE/bug-report.md create mode 100644 .forgejo/ISSUE_TEMPLATE/bug_report.yaml create mode 100644 .forgejo/ISSUE_TEMPLATE/config.yaml delete mode 100644 .forgejo/ISSUE_TEMPLATE/suggestion.md create mode 100644 .forgejo/ISSUE_TEMPLATE/suggestion.yaml create mode 100644 .forgejo/pull_request_template.md diff --git a/.forgejo/ISSUE_TEMPLATE/bug-report.md b/.forgejo/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 92c144c..0000000 --- a/.forgejo/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: Bug Report -about: Got an issue with a cog from SeaCogs? Use this. -title: "[BUG]" -labels: bug -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -What caused the error? - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Additional context** -Add any other context about the problem here. diff --git a/.forgejo/ISSUE_TEMPLATE/bug_report.yaml b/.forgejo/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 0000000..d603128 --- /dev/null +++ b/.forgejo/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,55 @@ +name: Bug Report +about: File a bug report +title: "[Cog Name] " +labels: [bug] +ref: master +body: + - type: markdown + attributes: + value: | + Thank you for taking the time to fill out this bug report! + - type: checkboxes + id: confirmation + attributes: + label: Please confirm that; + options: + - label: I have checked that this bug does not already have an opened/closed [issue](https://www.coastalcommits.com/SeaswimmerTheFsh/SeaCogs/issues) or [pull request](https://www.coastalcommits.com/SeaswimmerTheFsh/SeaCogs/pulls) associated with it. + required: true + - label: I have checked that I am on the latest version of [Red-DiscordBot](https://github.com/CogCreators/Red-DiscordBot), and SeaCogs. + required: true + - type: input + id: hosting + attributes: + label: Hosting + description: How is your bot hosted? + placeholder: Local, Docker, etc. + validations: + required: true + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also, what did you expect to happen? + placeholder: A bug happened! + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Reproduction steps + description: Please provide detailed steps to reproduce the bug. + placeholder: | + 1. Do this + 2. Do that + 3. Do this other thing + 4. Bug happens! + validations: + required: false + - type: textarea + id: logs + attributes: + label: Relevant traceback or logs + description: Please copy and paste any relevant tracebacks or log output. This will be automatically formatted into code, so no need for backticks. + render: py + validations: + required: false diff --git a/.forgejo/ISSUE_TEMPLATE/config.yaml b/.forgejo/ISSUE_TEMPLATE/config.yaml new file mode 100644 index 0000000..2d0a481 --- /dev/null +++ b/.forgejo/ISSUE_TEMPLATE/config.yaml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Other Concerns? + url: https://discord.gg/eMUMe77Yb8 + about: Ask in our Discord server! diff --git a/.forgejo/ISSUE_TEMPLATE/suggestion.md b/.forgejo/ISSUE_TEMPLATE/suggestion.md deleted file mode 100644 index b63159a..0000000 --- a/.forgejo/ISSUE_TEMPLATE/suggestion.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Suggestion -about: Trying to suggest something for SeaCogs? Use this. -title: "[SUGGESTION]" -labels: enhancement -assignees: '' - ---- - -**What cog is your feature request for?** -A cog in this repository. - -**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. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Additional context** -Add any other context about the problem here. diff --git a/.forgejo/ISSUE_TEMPLATE/suggestion.yaml b/.forgejo/ISSUE_TEMPLATE/suggestion.yaml new file mode 100644 index 0000000..7c70ad3 --- /dev/null +++ b/.forgejo/ISSUE_TEMPLATE/suggestion.yaml @@ -0,0 +1,55 @@ +name: Suggestion +about: Trying to suggest something for SeaCogs? Use this. +title: "[Cog Name] " +labels: enhancement +ref: master +body: + - type: markdown + attributes: + value: | + Thank you for taking the time to suggest an enhancement! + - type: input + id: cog + attributes: + label: What cog is your feature request for? + description: Specify the cog within the repository. + placeholder: E.g., ModerationCog + validations: + required: true + - type: textarea + id: problem-description + attributes: + label: Is your feature request related to a problem? Please describe. + placeholder: A clear and concise description of what the problem is. + validations: + required: true + - type: textarea + id: solution-description + attributes: + label: Describe the solution you'd like + placeholder: A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered + placeholder: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem. + placeholder: Paste image links here. + validations: + required: false + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context about the problem here. + placeholder: Any extra information you think might be useful. + validations: + required: false diff --git a/.forgejo/pull_request_template.md b/.forgejo/pull_request_template.md new file mode 100644 index 0000000..2813cd5 --- /dev/null +++ b/.forgejo/pull_request_template.md @@ -0,0 +1,6 @@ +# Describe what your pull request does and which issue you're targeting + + + +- [ ] By submitting this pull request, I permit SeaswimmerTheFsh to license my work under + the [Mozilla Public License Version 2.0](https://www.coastalcommits.com/SeaswimmerTheFsh/SeaCogs/src/branch/main/LICENSE).