From a3ab2b52b61754042cc2568273965581a9e55d3b Mon Sep 17 00:00:00 2001 From: Glavo Date: Fri, 19 Dec 2025 21:39:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20CNB=20Issue=20=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=20(#5009)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cnb/ISSUE_TEMPLATE/bug-report.yml | 37 ++++++++++++++++++++++++++++++ .cnb/ISSUE_TEMPLATE/config.yml | 8 +++++++ .cnb/ISSUE_TEMPLATE/feature.yml | 31 +++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 .cnb/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .cnb/ISSUE_TEMPLATE/config.yml create mode 100644 .cnb/ISSUE_TEMPLATE/feature.yml diff --git a/.cnb/ISSUE_TEMPLATE/bug-report.yml b/.cnb/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 000000000..dc1f33d70 --- /dev/null +++ b/.cnb/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,37 @@ +name: Bug 反馈 +description: + 反馈一个 HMCL 错误。 +title: "[Bug] " +labels: bug +body: + - type: markdown + attributes: + value: | + 提交前请确认: + + * 该问题确实是 **HMCL 的错误**,而**不是 Minecraft 非正常退出**,如果你的 Minecraft 非正常退出,请前往 [QQ 群](https://docs.hmcl.net/groups.html)/[Discord 服务器](https://discord.gg/jVvC7HfM6U) 获取帮助。 + * 你的启动器版本是**最新的预览版本**,可以点击 [此处](https://zkitefly.github.io/HMCL-Snapshot-Update/) 下载最新预览版本。 + + 如果你的问题并不属于上述两类,你可以选取另一种 Issue 类型,或者直接前往 [QQ 群](https://docs.hmcl.net/groups.html)/[Discord 服务器](https://discord.gg/jVvC7HfM6U) 获取帮助。 + - type: textarea + id: bug-report + attributes: + label: 问题描述 + description: | + 请尽可能地详细描述你所遇到的问题,并描述如何重新触发这个问题。 + placeholder: | + 1. 点击 HMCL 上的某个按钮 + 2. 向下翻页 + 3. ... + validations: + required: true + - type: textarea + id: hmcl-crash-report-or-logs + attributes: + label: 启动器崩溃报告 / 启动器日志文件 + description: | + 如果你的启动器崩溃了,请将崩溃报告填入(或将文件拖入)下方。 + 如果你的启动器没有崩溃,请在遇到问题后**不要退出启动器**,在启动器的 “设置 → 通用 → 调试” 一栏中点击 “导出启动器日志”,并将导出的日志拖到下方的输入栏中。 + **请注意:启动器崩溃报告或日志文件是诊断问题的重要依据,请务必上传!** + validations: + required: true diff --git a/.cnb/ISSUE_TEMPLATE/config.yml b/.cnb/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..d717cd1af --- /dev/null +++ b/.cnb/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: QQ 群 | QQ Group + url: https://docs.hmcl.net/groups.html + about: Hello Minecraft! Launcher 的官方 QQ 交流群。 + - name: Discord 服务器 | Discord Server + url: https://discord.gg/jVvC7HfM6U + about: Hello Minecraft! Launcher 的官方 Discord 服务器。 diff --git a/.cnb/ISSUE_TEMPLATE/feature.yml b/.cnb/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 000000000..5ceba2399 --- /dev/null +++ b/.cnb/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,31 @@ +name: 新功能 +description: 为 HMCL 提出新功能。 +title: "[Feature] " +labels: enhancement +body: +- type: markdown + attributes: + value: | + 请确认 Issues 列表无重复的项目。 +- type: textarea + id: summary + attributes: + label: 概述 + description: | + 请介绍你想加入的新功能。 + validations: + required: true +- type: textarea + id: reason + attributes: + label: 原因 + description: | + 请描述该功能带来的好处及原因。 + validations: + required: true +- type: textarea + id: description + attributes: + label: 详情 + description: | + 在这里可以补充描述该功能的具体实现方式或建议。(可选)