From c2ee2209fd3031317b9518ac8a3be77e890733d6 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Tue, 14 Apr 2026 13:10:57 +0800 Subject: [PATCH] =?UTF-8?q?docs(community):=20=E6=B7=BB=E5=8A=A0=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=A8=A1=E6=9D=BF=E5=92=8C=E7=BC=BA=E9=99=B7=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 创建了 Bug Report 模板,支持中英双语,包含模块选择、版本信息、复现步骤等字段 - 添加了 Question 模板,用于使用咨询和技术问答 - 配置了预提交检查项,确保提交前完成必要验证 - 设计了结构化的表单字段,便于收集准确的问题信息 - 实现了多语言支持,提升社区协作体验 --- .github/ISSUE_TEMPLATE/01-bug-report.yml | 12 ++++++++++++ .github/ISSUE_TEMPLATE/04-question.yml | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/01-bug-report.yml b/.github/ISSUE_TEMPLATE/01-bug-report.yml index cf1156ad..ea785e10 100644 --- a/.github/ISSUE_TEMPLATE/01-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/01-bug-report.yml @@ -84,7 +84,19 @@ body: attributes: label: "Minimal Repro / 最小复现" description: "Share a repository, gist, code snippet, or explain why a minimal repro is not yet available. / 提供仓库、gist、代码片段,或说明暂时无法提供的原因。" + placeholder: | + Please provide one of the following: + - A GitHub repository or sample project + - A gist or focused code snippet + - Or explain why a minimal repro is not yet available + + 请提供以下任一内容: + - GitHub 仓库或示例项目 + - Gist 或聚焦代码片段 + - 或说明暂时无法提供最小复现的原因 render: shell + validations: + required: true - type: textarea id: logs attributes: diff --git a/.github/ISSUE_TEMPLATE/04-question.yml b/.github/ISSUE_TEMPLATE/04-question.yml index f9980881..01dba19c 100644 --- a/.github/ISSUE_TEMPLATE/04-question.yml +++ b/.github/ISSUE_TEMPLATE/04-question.yml @@ -61,4 +61,6 @@ body: id: environment attributes: label: "Relevant Environment / 相关环境" - description: "Include versions or project context if that changes the answer. / 如果版本或项目上下文会影响答案,请补充。" + description: "Include the framework version, runtime, engine version, or project context. If not applicable, write N/A. / 请补充框架版本、运行时、引擎版本或项目上下文;如不适用请填写 N/A。" + validations: + required: true