From a7dac95468e4a6bc90e9a5df33c35aff6cc7affe Mon Sep 17 00:00:00 2001 From: ddaodan <40017293+ddaodan@users.noreply.github.com> Date: Sat, 11 Apr 2026 18:47:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20GitHub=20Issue=20=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=20(#3030)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug.yml | 49 ++++++++++++++++++++++----- .github/ISSUE_TEMPLATE/config.yml | 4 +-- .github/ISSUE_TEMPLATE/feature.yml | 28 +++++++++++++-- .github/ISSUE_TEMPLATE/normal.yml | 12 ++++++- .github/ISSUE_TEMPLATE/question.yml | 14 ++++++-- .github/ISSUE_TEMPLATE/suggestion.yml | 14 ++++++-- 6 files changed, 103 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index aee9294e..366581bd 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -4,12 +4,23 @@ title: "[bug] " labels: - BUG body: + - type: checkboxes + id: checks + attributes: + label: 提交确认 / Checklist + description: Checklist before submitting + options: + - label: 我已经搜索过现有 issue,确认这不是重复问题 / I have searched existing issues and confirmed this is not a duplicate + required: true + - label: "我已阅读过[文档](https://www.bettergi.com/doc.html),确认文档的内容无法解决我的问题 / I have read the [documentation](https://www.bettergi.com/doc.html) and confirmed it does not solve my problem" + required: true + - label: 我愿意为了解决这个问题尽自己所能 / I am willing to do my part to help resolve this issue - type: textarea id: environment attributes: label: 系统环境 - description: System Environment,例如系统版本、运行环境 - placeholder: Win11 / BetterGI 0.58.0 / .NET 8 + description: System environment,例如操作系统版本、运行时版本、显卡驱动版本 + placeholder: Windows 11 24H2 (26100.3775) / .NET Desktop Runtime 8.0.15 / NVIDIA 572.83 validations: required: true - type: input @@ -17,15 +28,23 @@ body: attributes: label: BetterGI 版本号 description: BetterGI Version - placeholder: 0.58.0 + placeholder: e.g. 0.58.0 validations: required: true - type: textarea id: description attributes: label: 问题描述 - description: Description of the issue - placeholder: 请详细描述你遇到的问题,可直接粘贴日志并附带截图 + description: Describe the actual behavior and impact + placeholder: 请描述实际出现的问题,以及这个问题对使用造成了什么影响 / Describe the actual behavior and impact + validations: + required: true + - type: textarea + id: expected + attributes: + label: 期望结果 + description: Expected behavior + placeholder: 请描述你期望出现的正确行为或结果 / Describe the expected behavior or result validations: required: true - type: textarea @@ -34,8 +53,22 @@ body: label: 复现步骤 description: Reproduction steps placeholder: |- - 1. 打开…… - 2. 点击…… - 3. 出现…… + 1. 打开…… / Open ... + 2. 点击…… / Click ... + 3. 出现…… / Observe ... validations: required: true + - type: textarea + id: logs + attributes: + label: 日志与附件 + description: Logs and attachments,可直接拖拽上传日志文件、压缩包、截图或视频 + placeholder: |- + 可在这里补充日志和附件说明 / Add logs and attachment notes here: + - 可直接粘贴关键日志片段 / Paste key log snippets directly + - 可拖拽上传日志文件或压缩包 / Drag and drop log files or archives + - 可拖拽上传截图、录屏或演示视频 / Drag and drop screenshots or videos + - 若附件较多,请说明对应的时间点、任务名称或异常现象 / If there are many files, explain the relevant timestamps or symptoms + - 提交前请注意移除账号、路径等隐私信息 / Remove private information before submitting + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 7c010ea0..409a345e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,9 +1,9 @@ blank_issues_enabled: false contact_links: - name: 官方文档 / Document - url: https://bgi.huiyadan.com/doc.html + url: https://www.bettergi.com/doc.html about: 请在提出问题前阅读文档 / Read the document before submit the issue - name: 常见问题 / FAQ - url: https://bgi.huiyadan.com/faq.html + url: https://www.bettergi.com/faq.html about: 常见的用户提出的问题 / Common questions asked by users diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index 35820331..36db45ce 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -4,12 +4,26 @@ title: "[feature] " labels: - 功能建议 body: + - type: checkboxes + id: checks + attributes: + label: 提交确认 / Checklist + description: Please confirm the following before submitting + options: + - label: 我已经搜索过现有 issue,确认这不是重复建议 / I have searched existing issues and confirmed this is not a duplicate request + required: true + - label: 我已确认当前版本中尚未提供该功能,或至少没有等价实现 / I have confirmed this feature, or an equivalent one, is not already available in the current version + required: true + - label: 我认为这个需求能为更多用户带来明确收益,而不仅仅是个人偏好 / I believe this request provides clear value to a broader group of users, not just my personal preference + required: true + - label: 我理解这个需求可能因实现成本、维护成本或项目方向而暂不采纳 / I understand this request may not be accepted due to implementation cost, maintenance cost, or project direction + required: true - type: textarea id: request attributes: label: 功能请求 description: Feature Request - placeholder: 请简要说明你希望新增什么能力 + placeholder: 请简要说明你希望新增什么能力 / Briefly describe the capability you want to add validations: required: true - type: textarea @@ -17,7 +31,15 @@ body: attributes: label: 使用场景 description: Use Case - placeholder: 这个功能要解决什么问题?在哪些场景下使用? + placeholder: 这个功能要解决什么问题?在哪些场景下使用? / What problem does this feature solve, and when would it be used? + validations: + required: true + - type: textarea + id: impact + attributes: + label: 潜在影响 + description: Potential Impact + placeholder: 请说明这个功能是否可能带来新的问题、维护成本、使用门槛或兼容性影响;如果没有,请填写“无” / Describe any potential downsides such as new issues, maintenance cost, usability barriers, or compatibility impact. Write "None" if there are no obvious downsides. validations: required: true - type: textarea @@ -25,6 +47,6 @@ body: attributes: label: 补充信息 description: Optional - placeholder: 可选,补充示意图、参考方案或限制条件 + placeholder: "可选,补充示意图、交互草图、参考链接或相关背景信息 / Optional: add mockups, interaction sketches, reference links, or other background information" validations: required: false diff --git a/.github/ISSUE_TEMPLATE/normal.yml b/.github/ISSUE_TEMPLATE/normal.yml index ad71e485..b6c095a2 100644 --- a/.github/ISSUE_TEMPLATE/normal.yml +++ b/.github/ISSUE_TEMPLATE/normal.yml @@ -2,11 +2,21 @@ name: Feel free to express / 自由描述 description: 记录你想反馈的内容 / Share general feedback title: "[feedback] " body: + - type: checkboxes + id: checks + attributes: + label: 提交确认 / Checklist + description: Please confirm the following before submitting + options: + - label: 我已经搜索过现有 issue,确认这不是重复反馈 / I have searched existing issues and confirmed this is not duplicate feedback + required: true + - label: "我已阅读过[文档](https://www.bettergi.com/doc.html),确认文档的内容无法解决我的问题或覆盖我的反馈 / I have read the [documentation](https://www.bettergi.com/doc.html) and confirmed it does not solve my problem or cover my feedback" + required: true - type: textarea id: description attributes: label: 描述 description: Description - placeholder: 请描述你想反馈的内容 + placeholder: 请描述你想反馈的内容 / Describe what you want to share validations: required: true diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index 81c97c14..f64f0325 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -4,12 +4,22 @@ title: "[question] " labels: - 问题咨询 body: + - type: checkboxes + id: checks + attributes: + label: 提交确认 / Checklist + description: Please confirm the following before submitting + options: + - label: 我已经搜索过现有 issue,确认这不是重复问题 / I have searched existing issues and confirmed this is not a duplicate question + required: true + - label: "我已阅读过[文档](https://www.bettergi.com/doc.html),确认文档的内容无法解决我的问题 / I have read the [documentation](https://www.bettergi.com/doc.html) and confirmed it does not solve my problem" + required: true - type: textarea id: question attributes: label: 问题描述 description: Problem Description - placeholder: 请清楚描述你的问题 + placeholder: 请清楚描述你的问题 / Clearly describe your question validations: required: true - type: textarea @@ -17,6 +27,6 @@ body: attributes: label: 已尝试内容 description: Screenshots / logs / what you already tried - placeholder: 可附上截图、日志,以及你已经尝试过的排查过程 + placeholder: 可附上截图、日志,以及你已经尝试过的排查过程 / Add screenshots, logs, and what you have already tried validations: required: true diff --git a/.github/ISSUE_TEMPLATE/suggestion.yml b/.github/ISSUE_TEMPLATE/suggestion.yml index 8d24b45e..96d1e66d 100644 --- a/.github/ISSUE_TEMPLATE/suggestion.yml +++ b/.github/ISSUE_TEMPLATE/suggestion.yml @@ -4,12 +4,22 @@ title: "[suggestion] " labels: - 功能建议 body: + - type: checkboxes + id: checks + attributes: + label: 提交确认 / Checklist + description: Please confirm the following before submitting + options: + - label: 我已经搜索过现有 issue,确认这不是重复建议 / I have searched existing issues and confirmed this is not a duplicate suggestion + required: true + - label: "我已阅读过[文档](https://www.bettergi.com/doc.html),确认文档的内容无法解决我的问题或覆盖我的建议 / I have read the [documentation](https://www.bettergi.com/doc.html) and confirmed it does not solve my problem or cover my suggestion" + required: true - type: textarea id: suggestion attributes: label: 建议内容 description: Suggestion - placeholder: 请描述你的建议内容 + placeholder: 请描述你的建议内容 / Describe your suggestion validations: required: true - type: textarea @@ -17,6 +27,6 @@ body: attributes: label: 预期收益 description: Expected Benefit - placeholder: 这个建议会给用户或项目带来什么帮助? + placeholder: 这个建议会给用户或项目带来什么帮助? / What benefits would this suggestion bring to users or the project? validations: required: true