From 94d51fa03a1d61f6875282dadf814d2cd5f45cdc Mon Sep 17 00:00:00 2001 From: samanhappy Date: Tue, 13 May 2025 22:01:23 +0800 Subject: [PATCH] refactor: update issue templates for consistency and clarity (#91) --- .../ISSUE_TEMPLATE/bug-report---bug-报告.md | 35 +++++++++---------- .../feature-request---功能请求.md | 22 +++++------- 2 files changed, 25 insertions(+), 32 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report---bug-报告.md b/.github/ISSUE_TEMPLATE/bug-report---bug-报告.md index 92cc981..5928e2b 100644 --- a/.github/ISSUE_TEMPLATE/bug-report---bug-报告.md +++ b/.github/ISSUE_TEMPLATE/bug-report---bug-报告.md @@ -1,32 +1,29 @@ --- name: Bug Report / Bug 报告 -about: Create a report to help us improve / 创建一个报告来帮助我们改进 +about: Create a report to help us improve / 报告问题以帮助改进 title: '' labels: bug assignees: '' --- -**Describe the bug / 描述问题** -A clear and concise description of what the bug is. -请清晰简洁地描述这个 bug。 +**Bug Description / 问题描述** +What happened? / 发生了什么? -**To Reproduce / 复现步骤** -Steps to reproduce the behavior. -重现该问题的步骤。 +**Steps to Reproduce / 复现步骤** +1. +2. +3. -**Expected behavior / 预期行为** -A clear and concise description of what you expected to happen. -请清晰简洁地描述您期望发生的情况。 +**Expected Behavior / 预期行为** +What should happen? / 应该发生什么? + +**Environment / 运行环境** +- Running on / 运行方式: [docker/npx/local / docker/npx/本地] +- Version / 版本: [e.g. 1.0.0] **Screenshots / 截图** -If applicable, add screenshots to help explain your problem. -如果适用,请添加截图以帮助解释您的问题。 +If relevant, add screenshots / 如果有帮助的话,请添加截图 -**Version Information / 版本信息:** - - Environment / 运行环境: [e.g. docker, npx, local / 如 docker, npx, 本地] - - Version / 版本: [e.g. 1.0.0 / 如 1.0.0] - -**Additional context / 补充信息** -Add any other context about the problem here. -在此添加关于该问题的任何其他信息。 +**Additional Info / 补充信息** +Any other details? / 还有其他信息吗? diff --git a/.github/ISSUE_TEMPLATE/feature-request---功能请求.md b/.github/ISSUE_TEMPLATE/feature-request---功能请求.md index 159d2b6..bd5ef34 100644 --- a/.github/ISSUE_TEMPLATE/feature-request---功能请求.md +++ b/.github/ISSUE_TEMPLATE/feature-request---功能请求.md @@ -1,24 +1,20 @@ --- name: Feature request / 功能请求 -about: Suggest an idea for this project / 请提出一个关于这个项目的想法 +about: Suggest an idea for this project / 为项目提出新想法 title: '' labels: enhancement assignees: '' --- -**Is your feature request related to a problem? Please describe. / 您的功能请求是否与某个问题相关?请描述。** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -请清晰简洁地描述问题是什么。例如:我总是对 [...] 感到沮丧。 +**Current Problem / 当前问题** +What problem are you trying to solve? / 您想要解决什么问题? -**Describe the solution you'd like / 描述您期望的解决方案** -A clear and concise description of what you want to happen. -请清晰简洁地描述您希望发生的事情。 +**Proposed Solution / 建议方案** +How would you like this to work? / 您期望的解决方案是什么? -**Describe alternatives you've considered / 描述您考虑过的替代方案** -A clear and concise description of any alternative solutions or features you've considered. -请清晰简洁地描述您考虑过的任何替代解决方案或功能。 +**Alternatives / 替代方案** +Have you considered any alternatives? / 您是否考虑过其他解决方案? -**Additional context / 补充信息** -Add any other context or screenshots about the feature request here. -在此添加有关功能请求的任何其他上下文或屏幕截图。 +**Additional Context / 补充说明** +Any screenshots, mockups, or relevant information? / 有任何截图、设计图或相关信息吗?