diff --git a/.github/ISSUE_TEMPLATE/core-bug-report.yml b/.github/ISSUE_TEMPLATE/core-bug-report.yml new file mode 100644 index 0000000..1b80a9e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/core-bug-report.yml @@ -0,0 +1,12 @@ +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 diff --git a/.github/ISSUE_TEMPLATE/doc-report.yml b/.github/ISSUE_TEMPLATE/doc-report.yml new file mode 100644 index 0000000..ccf21f4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/doc-report.yml @@ -0,0 +1,12 @@ +name: 文档报告 ( Document report ) +description: 改进或补充文档 ( Improve or supplement the document ) +labels: ["documentation"] +body: + - type: textarea + id: doc-description + attributes: + label: 文档描述 ( Document Description ) + description: 请描述文档的具体内容 ( Please describe the specific content of the document ) + placeholder: 文档内容有误 ( The document content is incorrect ) + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..e65d74d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,32 @@ +name: 功能请求 ( Feature request ) +description: 提出新的功能建议 ( Suggest new features ) +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + 1. 不接受非 Gitea 和 GitHub 的样式需求 ( We do not accept style requests that are not Gitea or GitHub ) + 2. 颜色需求最好自己实现 ( Color requests are best implemented by yourself ) + - type: input + id: page + attributes: + label: 页面 ( Page ) + description: 功能涉及的页面 ( The page the feature involves ) + placeholder: 首页 ( Home page ) + validations: + required: false + - type: textarea + id: feature-description + attributes: + label: 功能描述 ( Feature Description ) + description: 请描述你想要的功能 ( Please describe the feature you want ) + placeholder: 菜单样式修改 ( Menu style modification ) + validations: + required: true + - type: textarea + id: screenshot + attributes: + label: 截图 ( Screenshot ) + description: 预期的主题效果 ( Expected theme effect ) + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/style-bug-report.yml b/.github/ISSUE_TEMPLATE/style-bug-report.yml index 77a8dc2..f7f5540 100644 --- a/.github/ISSUE_TEMPLATE/style-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/style-bug-report.yml @@ -7,11 +7,15 @@ body: value: | 1. 请使用最新的主题, 并使用 Ctrl+F5 刷新页面查看 Bug 是否消失 ( Please use the latest theme and refresh the page with Ctrl+F5 to see if the Bug has disappeared ) 2. 请查看项目根目录下的 CHANGELOG.md 文件, 查看是否有修复该 Bug 的相关描述 ( Please check the CHANGELOG.md file in the project root directory for descriptions of fixes related to this Bug ) + 3. 如果有相关描述, 可以查看 README.md 自己编译开发版本是否修复了该 Bug ( If there are related descriptions, you can check if the Bug has been fixed by compiling the development version yourself in the README.md ) - type: input id: theme-version attributes: label: 主题版本 ( Theme Version ) - description: 主题的版本 ( What version of the theme are you using? ) + description: + 主题的版本, 如果是开发版本可以查看 CSS 文件中 `--theme-version` 的值, 或者查看项目根目录下的 `package.json` 文件 + ( The version of the theme, if it is a development version, you can check the value of `--theme-version` in the + CSS file, or check the `package.json` file in the project root directory ) placeholder: ex. 1.24.5 validations: required: true