From ce291d3a774a6a529e0b5e44df2ade56a9a90bd1 Mon Sep 17 00:00:00 2001 From: CreeperAWA Date: Mon, 30 Jun 2025 19:02:32 +0800 Subject: [PATCH] =?UTF-8?q?improve:=E5=88=A0=E9=99=A4=E6=97=A7=E7=9A=84=20?= =?UTF-8?q?Bug=20=E6=8A=A5=E5=91=8A=E5=92=8C=E5=8A=9F=E8=83=BD=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E6=A8=A1=E6=9D=BF=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=96=B0?= =?UTF-8?q?=E7=9A=84=20.yml=20=E6=A0=BC=E5=BC=8F=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E4=BB=A5=E6=96=B9=E4=BE=BF=E7=94=A8=E6=88=B7=E5=A1=AB=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.md | 23 --------- .github/ISSUE_TEMPLATE/bug_report.yml | 56 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.md | 10 ---- .github/ISSUE_TEMPLATE/feature_request.yml | 37 ++++++++++++++ 5 files changed, 94 insertions(+), 33 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 3f6c1b0a..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- -## Version(or version link) - -## Description - - -## Reproduction - - -## Expected behavior - - -## Screenshots - - -## Additional context diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..f6c695cc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,56 @@ +name: Bug 报告 | Bug Report +description: 反馈软件缺陷或异常 | Report a bug to help us improve +labels: [bug] +body: + - type: markdown + attributes: + value: | + 感谢你的反馈!请详细填写以下内容,便于我们定位问题。 + Thank you for your feedback! Please fill out the following information to help us locate the issue. + - type: input + id: version + attributes: + label: 软件版本 | App Version + description: 可在设置中的“关于”界面查看 | You can find it on the "About" interface in the settings + placeholder: 例如 v1.2.3 | e.g. v1.2.3 + validations: + required: true + - type: input + id: os + attributes: + label: 操作系统及版本 | OS & Version + placeholder: 例如 Windows 10 22H2 64位 | e.g. Windows 10 22H2 64bit + validations: + required: true + - type: textarea + id: description + attributes: + label: 问题描述 | Description + description: 简要描述遇到的问题 | Briefly describe the problem + validations: + required: true + - type: textarea + id: steps + attributes: + label: 复现步骤 | Steps to Reproduce + description: 如何复现该问题?如有必要可附截图/录屏 | How to reproduce this bug? Screenshots/recordings if needed + placeholder: | + 1. + 2. + 3. + validations: + required: false + - type: textarea + id: expected + attributes: + label: 期望结果 | Expected Behavior + description: 你期望的正确行为或结果 | What did you expect to happen? + validations: + required: false + - type: textarea + id: extra + attributes: + label: 其他补充信息 | Additional Info + description: 其他相关信息(如日志、配置、特殊环境等)| Any other context, logs, configs, special environment, etc. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index f909f8a7..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: enhancement -assignees: '' - ---- - -## Description diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..ac8291f1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,37 @@ +name: 功能请求 | Feature Request +description: 提出你对本项目的功能建议 | Suggest an idea for this project +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + 感谢你的建议!请详细描述你的需求。 + Thank you for your suggestion! Please describe your needs in detail. + - type: textarea + id: description + attributes: + label: 功能描述 | Description + description: 请描述你希望添加的功能 | Describe the feature you want + validations: + required: true + - type: textarea + id: motivation + attributes: + label: 需求动机 | Motivation + description: 为什么需要这个功能?| Why do you need this feature? + validations: + required: false + - type: textarea + id: design + attributes: + label: 期望设计 | Expected Design + description: (可选)描述或画出你期望的界面或交互 | (Optional) Describe or sketch the expected UI/UX + validations: + required: false + - type: textarea + id: extra + attributes: + label: 其他补充信息 | Additional Info + description: 其他补充说明或建议 | Any other context or suggestions + validations: + required: false