From 53d41593e5c793d26d3b09c29bcdd82271bcb6f6 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Sun, 13 Jul 2025 20:11:28 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=B9=B6=E8=BF=81=E7=A7=BBissue=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将issue模板从markdown格式迁移为yaml格式 - 更新config.php中的敏感配置信息 --- .github/ISSUE_TEMPLATE/bug_report.md | 36 ------------ .github/ISSUE_TEMPLATE/bug_report.yml | 65 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 23 -------- .github/ISSUE_TEMPLATE/feature_request.yml | 42 ++++++++++++++ 4 files changed, 107 insertions(+), 59 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.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 6a26889..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: Bug 报告 -about: 创建一个 bug 报告以帮助我们改进 -title: '[BUG] ' -labels: 'bug' -assignees: '' - ---- - -## 描述问题 -清晰简洁地描述这个 bug 是什么。 - -## 复现步骤 -复现这个 bug 的步骤: -1. 打开页面 '...' -2. 点击 '....' -3. 滚动到 '....' -4. 看到错误 - -## 预期行为 -清晰简洁地描述您期望发生的事情。 - -## 实际行为 -清晰简洁地描述实际发生了什么。 - -## 截图 -如果适用,添加截图以帮助解释您的问题。 - -## 环境信息 - - 设备: [例如 iPhone6] - - 操作系统: [例如 iOS] - - 浏览器: [例如 chrome, safari] - - 版本: [例如 22] - -## 其他信息 -在此处添加有关问题的任何其他上下文。 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..d65aed1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,65 @@ +name: Bug报告 +about: 创建一个Bug报告以帮助我们改进 +title: '[BUG] ' +labels: bug +assignees: '' + +body: + - type: textarea + id: description + attributes: + label: 问题描述 + description: 请清晰简洁地描述这个Bug是什么 + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: 复现步骤 + description: 复现这个Bug的步骤 + placeholder: | + 1. 打开页面 '...' + 2. 点击 '....' + 3. 滚动到 '....' + 4. 看到错误 + validations: + required: true + - type: textarea + id: expected + attributes: + label: 预期行为 + description: 清晰简洁地描述你期望发生的事情 + validations: + required: true + - type: textarea + id: actual + attributes: + label: 实际行为 + description: 清晰简洁地描述实际发生的事情 + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: 截图 + description: 如果适用,添加截图以帮助解释你的问题 + validations: + required: false + - type: textarea + id: environment + attributes: + label: 环境信息 + description: 请提供你的环境信息 + placeholder: | + 操作系统: Windows 10 + 浏览器: Chrome 90.0.4430.212 + 设备: 桌面 + validations: + required: false + - type: textarea + id: additional + attributes: + label: 其他信息 + description: 在此处添加有关问题的任何其他上下文 + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 038f33b..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: 功能请求 -about: 为这个项目提出一个想法 - title: '[FEATURE] ' - labels: 'enhancement' - assignees: '' - ---- - -## 功能描述 -清晰简洁地描述您想要的功能是什么。 - -## 使用场景 -描述这个功能将如何被使用,以及它解决了什么问题。 - -## 可能的实现方式 -如果您有想法,描述您希望如何实现这个功能。 - -## 替代方案 -描述您考虑过的任何替代解决方案或功能。 - -## 其他信息 -添加有关功能请求的任何其他上下文或截图。 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..572cccf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,42 @@ +name: 功能请求 +about: 为这个项目提出一个想法 +title: '[FEATURE] ' +labels: enhancement +assignees: '' + +body: + - type: textarea + id: feature_description + attributes: + label: 功能描述 + description: 清晰简洁地描述你想要的功能是什么 + validations: + required: true + - type: textarea + id: use_case + attributes: + label: 使用场景 + description: 描述这个功能将如何被使用,以及它解决了什么问题 + validations: + required: true + - type: textarea + id: implementation + attributes: + label: 可能的实现方式 + description: 如果你有想法,描述你希望这个功能如何实现 + validations: + required: false + - type: textarea + id: alternatives + attributes: + label: 替代方案 + description: 描述你考虑过的任何替代解决方案或功能 + validations: + required: false + - type: textarea + id: additional + attributes: + label: 其他信息 + description: 在此处添加有关功能请求的任何其他上下文或截图 + validations: + required: false \ No newline at end of file