diff --git a/.github/ISSUE_TEMPLATE/1-style-bug-report.yml b/.github/ISSUE_TEMPLATE/1-style-bug-report.yml index 5b27c8e..3f8491a 100644 --- a/.github/ISSUE_TEMPLATE/1-style-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/1-style-bug-report.yml @@ -44,6 +44,13 @@ body: placeholder: 页面底部的颜色应该是白色 ( The color of the bottom of the page should be white ) validations: required: true + - type: textarea + id: theme-screenshot + attributes: + label: 应用主题后的截图 ( Screenshot of the theme applied ) + description: 请上传应用主题后的截图 ( Please upload a screenshot of the theme applied ) + validations: + required: true - type: textarea id: steps-to-reproduce attributes: @@ -51,7 +58,7 @@ body: 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 + required: false - type: textarea id: bug-description attributes: @@ -59,18 +66,11 @@ body: description: 请描述错误的具体表现 ( Please describe the specific presentation of the error ) placeholder: 页面底部的颜色错误 ( The color of the bottom of the page is incorrect ) validations: - required: true + required: false - type: textarea id: gitea-screenshot attributes: label: Gitea 默认主题下的截图 ( Screenshot of the default Gitea theme ) description: 请上传 Gitea 默认主题下的截图 ( Please upload a screenshot of the default Gitea theme ) validations: - required: true - - type: textarea - id: theme-screenshot - attributes: - label: 应用主题后的截图 ( Screenshot of the theme applied ) - description: 请上传应用主题后的截图 ( Please upload a screenshot of the theme applied ) - validations: - required: true + required: false diff --git a/.github/ISSUE_TEMPLATE/3-core-bug-report.yml b/.github/ISSUE_TEMPLATE/3-core-bug-report.yml index 55bb02a..2cc6b7e 100644 --- a/.github/ISSUE_TEMPLATE/3-core-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/3-core-bug-report.yml @@ -26,7 +26,7 @@ body: placeholder: 1. 新建颜色主题 2. 编译主题 3. 查看错误 ( 1. Create a color theme 2. Compile the theme 3. View the error ) validations: - required: true + required: false - type: textarea id: bug-description attributes: @@ -34,11 +34,11 @@ body: description: 请描述错误的具体表现 ( Please describe the specific presentation of the error ) placeholder: 未生成自动颜色主题 ( No automatic color theme generated ) validations: - required: true + required: false - type: textarea id: screenshot attributes: label: 截图 ( Screenshot ) description: 请上传错误的截图 ( Please upload the screenshot of the error ) validations: - required: true + required: false