From d573d00019f72a107ee29de99dda863c28ed734b Mon Sep 17 00:00:00 2001 From: lutinglt Date: Wed, 17 Sep 2025 16:20:51 +0800 Subject: [PATCH] bug issue template --- ...-bug-report.yml => 1-style-bug-report.yml} | 26 ++++++++++- ...ture-request.yml => 2-feature-request.yml} | 0 .github/ISSUE_TEMPLATE/3-core-bug-report.yml | 43 +++++++++++++++++++ .../{doc-report.yml => 4-doc-report.yml} | 0 .github/ISSUE_TEMPLATE/core-bug-report.yml | 12 ------ 5 files changed, 68 insertions(+), 13 deletions(-) rename .github/ISSUE_TEMPLATE/{style-bug-report.yml => 1-style-bug-report.yml} (67%) rename .github/ISSUE_TEMPLATE/{feature-request.yml => 2-feature-request.yml} (100%) create mode 100644 .github/ISSUE_TEMPLATE/3-core-bug-report.yml rename .github/ISSUE_TEMPLATE/{doc-report.yml => 4-doc-report.yml} (100%) delete mode 100644 .github/ISSUE_TEMPLATE/core-bug-report.yml diff --git a/.github/ISSUE_TEMPLATE/style-bug-report.yml b/.github/ISSUE_TEMPLATE/1-style-bug-report.yml similarity index 67% rename from .github/ISSUE_TEMPLATE/style-bug-report.yml rename to .github/ISSUE_TEMPLATE/1-style-bug-report.yml index f7f5540..e3f685b 100644 --- a/.github/ISSUE_TEMPLATE/style-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/1-style-bug-report.yml @@ -27,6 +27,30 @@ body: placeholder: ex. 1.24.5 validations: required: true + - type: textarea + id: actual-behavior + attributes: + label: 实际表现 ( Actual Behavior ) + description: 请描述实际的错误表现 ( Please describe the actual error presentation ) + placeholder: 页面底部的颜色错误 ( The color of the bottom of the page is incorrect ) + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: 期望表现 ( Expected Behavior ) + description: 请描述期望的正确表现 ( Please describe the expected correct presentation ) + placeholder: 页面底部的颜色应该是白色 ( The color of the bottom of the page should be white ) + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: 复现步骤 ( Steps to reproduce ) + description: 请描述如何复现错误 ( Please describe how to reproduce the error ) + placeholder: 1. 安装主题 2. 刷新页面 3. 查看错误 ( 1. Install the theme 2. Refresh the page 3. View the error ) + validations: + required: true - type: textarea id: bug-description attributes: @@ -41,4 +65,4 @@ body: label: 截图 ( Screenshot ) description: 请上传错误的截图 ( Please upload the screenshot of the error ) validations: - required: false + required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/2-feature-request.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/feature-request.yml rename to .github/ISSUE_TEMPLATE/2-feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/3-core-bug-report.yml b/.github/ISSUE_TEMPLATE/3-core-bug-report.yml new file mode 100644 index 0000000..9eacc5b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3-core-bug-report.yml @@ -0,0 +1,43 @@ +name: 框架错误报告 ( Core bug report ) +description: 报告框架的错误 ( Report errors in the theme framework ) +labels: ["core bug"] +body: + - type: textarea + id: actual-behavior + attributes: + label: 实际表现 ( Actual Behavior ) + description: 请描述实际的错误表现 ( Please describe the actual error presentation ) + placeholder: 未生成自动颜色主题 ( No automatic color theme generated ) + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: 期望表现 ( Expected Behavior ) + description: 请描述期望的正确表现 ( Please describe the expected correct presentation ) + placeholder: 生成自动颜色主题 ( Generate automatic color theme ) + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: 复现步骤 ( Steps to reproduce ) + description: 请描述如何复现错误 ( Please describe how to reproduce the error ) + placeholder: 1. 新建颜色主题 2. 编译主题 3. 查看错误 ( 1. Create a color theme 2. Compile the theme 3. View the error ) + validations: + required: true + - type: textarea + id: bug-description + attributes: + label: 错误描述 ( Bug Description ) + description: 请描述错误的具体表现 ( Please describe the specific presentation of the error ) + placeholder: 未生成自动颜色主题 ( No automatic color theme generated ) + validations: + required: true + - type: textarea + id: screenshot + attributes: + label: 截图 ( Screenshot ) + description: 请上传错误的截图 ( Please upload the screenshot of the error ) + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/doc-report.yml b/.github/ISSUE_TEMPLATE/4-doc-report.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/doc-report.yml rename to .github/ISSUE_TEMPLATE/4-doc-report.yml diff --git a/.github/ISSUE_TEMPLATE/core-bug-report.yml b/.github/ISSUE_TEMPLATE/core-bug-report.yml deleted file mode 100644 index 1b80a9e..0000000 --- a/.github/ISSUE_TEMPLATE/core-bug-report.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: 框架错误报告 ( Core bug report ) -description: 报告框架的错误 ( Report errors in the theme framework ) -labels: ["core bug"] -body: - - type: textarea - id: bug-description - attributes: - label: 错误描述 ( Bug Description ) - description: 请描述错误的具体表现 ( Please describe the specific presentation of the error ) - placeholder: 编译主题出错 ( Error compiling the theme ) - validations: - required: true