From 40def3c9e43bfd53a50faf306fff3026492ee71b Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Fri, 13 Sep 2024 01:55:31 -0400 Subject: [PATCH] [ci skip] Add Chinese issue template --- .../{bug_report.yml => en_bug_report.yml} | 2 +- ...ure_request.yml => en_feature_request.yml} | 2 +- .github/ISSUE_TEMPLATE/zh_bug_report.yml | 68 +++++++++++++++++++ .github/ISSUE_TEMPLATE/zh_feature_request.yml | 16 +++++ 4 files changed, 86 insertions(+), 2 deletions(-) rename .github/ISSUE_TEMPLATE/{bug_report.yml => en_bug_report.yml} (98%) rename .github/ISSUE_TEMPLATE/{feature_request.yml => en_feature_request.yml} (95%) create mode 100644 .github/ISSUE_TEMPLATE/zh_bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/zh_feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/en_bug_report.yml similarity index 98% rename from .github/ISSUE_TEMPLATE/bug_report.yml rename to .github/ISSUE_TEMPLATE/en_bug_report.yml index 3bc4da1a..7ef1e047 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/en_bug_report.yml @@ -1,4 +1,4 @@ -name: Bug report +name: EN | Bug report description: Create a report to help us improve labels: 'bug' diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/en_feature_request.yml similarity index 95% rename from .github/ISSUE_TEMPLATE/feature_request.yml rename to .github/ISSUE_TEMPLATE/en_feature_request.yml index 55ec9623..0c03b687 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/en_feature_request.yml @@ -1,4 +1,4 @@ -name: Feature request +name: EN | Feature request description: Suggest an idea for Leaf labels: 'enhancement' diff --git a/.github/ISSUE_TEMPLATE/zh_bug_report.yml b/.github/ISSUE_TEMPLATE/zh_bug_report.yml new file mode 100644 index 00000000..45ef4e3b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/zh_bug_report.yml @@ -0,0 +1,68 @@ +name: CN | 问题反馈 +description: 创建一个问题反馈来帮助我们进步! +labels: 'bug' + +body: + - type: markdown + attributes: + value: | + 在反馈问题之前,请确保您正在使用最新版本的 Leaf,并浏览 [Issues](https://github.com/Winds-Studio/Leaf/issues),检查你的问题是否已被汇报! + + - type: checkboxes + attributes: + label: 是否已存在相关问题? + description: | + 请浏览 [Issues](https://github.com/Winds-Studio/Leaf/issues),并检查你的问题是否已被别人汇报! + options: + - label: 我已经浏览过Issue,并确保汇报的不是已知问题 + required: true + + - type: textarea + attributes: + label: 问题描述 + description: 清晰简洁地描述所观察到的行为。 + validations: + required: true + + - type: textarea + attributes: + label: 所期望的行为 + description: 清晰简洁地描述您预期发生的情况。 + validations: + required: true + + - type: textarea + attributes: + label: 如何复现? + description: 简单描述复现此问题的步骤 + placeholder: | + 1. 进入服务器 '...' + 2. 输入/example '...' + 3. 服务器崩溃 '...' + 4. 在控制台看到报错 + validations: + required: true + + - type: textarea + attributes: + label: 插件列表 + description: 使用 `/pl` 指令获取插件列表,并粘贴到此处 + validations: + required: true + + - type: input + attributes: + label: Leaf 版本 + description: 你当前所使用的 Leaf 版本? (使用 `/version` 获取完整的版本信息,并粘贴到此处) + validations: + required: true + + - type: input + attributes: + label: 错误日志 (如存在) + description: 请上传完整的报错信息或完整日志到 https://mclo.gs 或 https://gist.github.com ,并将链接粘贴在此处。 + + - type: input + attributes: + label: Leaf 和 Gale 配置 + description: 上传你的 Leaf 和 Gale 配置到 https://mclo.gs 或 https://gist.github.com ,并将链接粘贴在此处。 diff --git a/.github/ISSUE_TEMPLATE/zh_feature_request.yml b/.github/ISSUE_TEMPLATE/zh_feature_request.yml new file mode 100644 index 00000000..19d5d7ef --- /dev/null +++ b/.github/ISSUE_TEMPLATE/zh_feature_request.yml @@ -0,0 +1,16 @@ +name: CN | 功能建议 +description: 想要一个新功能或给 Leaf 提建议? +labels: 'enhancement' + +body: + - type: markdown + attributes: + value: | + 感谢您抽出宝贵的时间为 Leaf 提交功能请求!请尽您所能填写以下表格,以帮助我们理解您的功能请求,并大大提高其被添加的机会。 + + - type: textarea + attributes: + label: 你想加入什么功能? + description: 用几句话尽可能清晰,详细的描述你所需要的功能或者建议。 + validations: + required: true