diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml new file mode 100644 index 000000000..d293fee7b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml @@ -0,0 +1,46 @@ +name: Bug report +description: Create a issue to find help +title: "[Bug]:" +labels: ["bug"] + +body: + - type: textarea + attributes: + label: 复现步骤 + description: 请尽可能清晰地描述如何复现该问题 + placeholder: | + 1. 进入 xxxx 页面 + 2. 设置 xxx 为 xxx + 3. 出现 xxx 问题 + validations: + required: true + + - type: textarea + attributes: + label: 预期行为 + description: 正常情况下你期望发生的行为 + placeholder: 描述你认为应该发生的正确结果 + validations: + required: true + + - type: upload + id: screenshots + attributes: + label: 截图 + description: 如有必要,请上传截图以帮助我们更好地理解问题 + validations: + required: false + + - type: textarea + attributes: + label: 环境信息 + description: 请填写运行环境信息。敏感信息请用 xxxx 或其他方式脱敏处理 + placeholder: | + Cloudflare Worker: + - + - + GitHub Action: + - + - + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml new file mode 100644 index 000000000..b1c4abf48 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml @@ -0,0 +1,35 @@ +name: Feature Request +description: Suggest an idea for this project +title: "[Feature Request]: " +labels: ["enhancement"] +body: + - type: textarea + attributes: + label: 你的功能请求是否与某个问题相关?请描述 + description: 清晰、简洁地描述当前存在的问题 + placeholder: 例如:我在使用过程中经常遇到 [...问题...] + validations: + required: true + + - type: textarea + attributes: + label: 你考虑过的替代方案 + description: 描述你尝试过或思考过的其他解决方案或功能方案 + placeholder: 例如:我曾尝试 [...方法...],但效果不理想 + validations: + required: true + + - type: textarea + attributes: + label: 你期望的解决方案 + description: 清晰描述你希望系统实现的功能或行为 + placeholder: 例如:我希望可以增加一个功能,让 [...] + validations: + required: true + + - type: textarea + attributes: + label: 其他信息 + description: 任何补充信息、截图或相关背景内容 + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/NEED_HELP.yml b/.github/ISSUE_TEMPLATE/NEED_HELP.yml new file mode 100644 index 000000000..f77b9646a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/NEED_HELP.yml @@ -0,0 +1,47 @@ +name: Need Help +description: Create an issue to ask for help +title: "[Help]: " +labels: ["help wanted"] + +body: + - type: textarea + attributes: + label: 问题描述 + description: 请清晰、简洁地描述你遇到的问题 + placeholder: 请详细说明你遇到的具体问题 + validations: + required: true + + - type: textarea + attributes: + label: 复现步骤 + description: 请描述如何复现该问题 + placeholder: | + 1. 进入 xxxx 页面 + 2. 设置 xxx 为 xxx + 3. 出现 xxx 问题 + validations: + required: true + + - type: textarea + attributes: + label: 期望行为 + description: 正常情况下你希望发生的结果 + placeholder: 请描述你认为正确的行为 + validations: + required: true + + - type: upload + id: screenshots + attributes: + label: 截图 + description: 如有必要,请上传截图以帮助我们更好地理解问题 + validations: + required: false + + - type: textarea + attributes: + label: 额外信息 + description: 请提供任何额外信息以帮助我们更好地理解问题。敏感信息请用 xxxx 或其他方式脱敏处理 + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index f3ea4b6cd..000000000 --- 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: "[Bug] 清晰而简洁的描述" -labels: '' -assignees: '' - ---- - -**Bug 描述** - - -**复现步骤** - -1. 前往 xxxx -2. 设置 xxx 为 xxx -3. 出现 xxx - -**期望行为** - - -**截图** - - -**环境变量** - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..b084eeb37 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: 📘Rin Docs + url: https://docs.openrin.org/en + about: Please check the documentation for answers to common questions. + - name: 💬Discord + url: https://discord.gg/JWbSTHvAPN + about: Join the Discord server to ask questions and get help from the community. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 136606f3f..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: "[Feature Request] 清晰简洁的描述" -labels: '' -assignees: '' - ---- - -**您的功能请求是否与问题相关?请描述** - -例如,我总是遇到以下情况 [...] - -**描述您想要的解决方案** - - -**描述你考虑过的替代方案** - - -**其他信息** - diff --git a/.github/ISSUE_TEMPLATE/need-help.md b/.github/ISSUE_TEMPLATE/need-help.md deleted file mode 100644 index e895e76ff..000000000 --- a/.github/ISSUE_TEMPLATE/need-help.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: Need Help -about: Create a issue to find help -title: "[Help] 问题描述" -labels: help wanted -assignees: '' - ---- - -**描述你遇到的问题** - -**复现步骤** -1. xxxxx -2. xxx - - -**期望行为** - - -**截图** - - -**额外信息**