update issue

This commit is contained in:
lutinglt
2025-11-06 10:10:40 +08:00
parent 1cf6252847
commit 687c7711ae
5 changed files with 69 additions and 79 deletions

View File

@@ -1,91 +1,90 @@
name: 样式错误报告 ( Style bug report ) name: Style bug report
description: 安装主题后出现颜色/位置错误等 ( Color/position errors occur after installing the theme ) description: Color/position errors occur after installing the theme.
labels: ["style bug"] labels: ["style bug"]
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: | value: |
1. 请使用最新的主题, 并使用 Ctrl+F5 刷新页面查看 Bug 是否消失 ( Please use the latest theme and refresh the page with Ctrl+F5 to see if the Bug has disappeared ) 1. 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 ) 2. 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 ) 3. If there are related descriptions, you can check if the Bug has been fixed by compiling the development version yourself in the README.md.
4. 请查看 Gitea 默认主题下是否有同样的错误, 确认非主题问题 ( Please check if there is the same error in the default Gitea theme, confirming that it is not a theme problem ) 4. Please check if there is the same error in the default Gitea theme, confirming that it is not a theme problem.
- type: input - type: input
id: theme-version id: theme-version
attributes: attributes:
label: 主题版本 ( Theme Version ) label: Theme Version
description: 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
( 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.
CSS file, or check the `package.json` file in the project root directory )
placeholder: ex. 1.24.5 placeholder: ex. 1.24.5
validations: validations:
required: true required: true
- type: input - type: input
id: gitea-version id: gitea-version
attributes: attributes:
label: Gitea 版本 ( Gitea Version ) label: Gitea Version
description: 应用主题的 Gitea 版本 ( What version of Gitea are you using? ) description: What version of Gitea are you using?
placeholder: ex. 1.24.5 placeholder: ex. 1.24.5
validations: validations:
required: true required: true
- type: input - type: input
id: page id: page
attributes: attributes:
label: 页面 ( Page ) label: Page
description: 错误出现的页面 ( The page where the error occurred ) description: The page where the error occurred.
placeholder: 工单列表页 ( Issue list page ) placeholder: Issue list page
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: actual-behavior id: actual-behavior
attributes: attributes:
label: 实际表现 ( Actual Behavior ) label: Actual Behavior
description: 请描述实际的错误表现 ( Please describe the actual error presentation ) description: Please describe the actual error presentation.
placeholder: 页面底部的颜色错误 ( The color of the bottom of the page is incorrect ) placeholder: The color of the bottom of the page is incorrect
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: expected-behavior id: expected-behavior
attributes: attributes:
label: 期望表现 ( Expected Behavior ) label: Expected Behavior
description: 请描述期望的正确表现 ( Please describe the expected correct presentation ) description: Please describe the expected correct presentation.
placeholder: 页面底部的颜色应该是白色 ( The color of the bottom of the page should be white ) placeholder: The color of the bottom of the page should be white
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: theme-screenshot id: theme-screenshot
attributes: attributes:
label: 应用主题后的截图 ( Screenshot of the theme applied ) label: Screenshot of the theme applied
description: 请上传应用主题后的截图 ( Please upload a screenshot of the theme applied ) description: Please upload a screenshot of the theme applied.
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: steps-to-reproduce id: steps-to-reproduce
attributes: attributes:
label: 复现步骤 ( Steps to reproduce ) label: Steps to reproduce
description: 请描述如何复现错误 ( Please describe how to reproduce the error ) description: Please describe how to reproduce the error.
placeholder: 1. 安装主题 2. 刷新页面 3. 查看错误 ( 1. Install the theme 2. Refresh the page 3. View the error ) placeholder: 1. Install the theme 2. Refresh the page 3. View the error
validations: validations:
required: false required: false
- type: textarea - type: textarea
id: bug-description id: bug-description
attributes: attributes:
label: 错误描述 ( Bug Description ) label: Bug Description
description: 请描述错误的具体表现 ( Please describe the specific presentation of the error ) description: Please describe the specific presentation of the error.
placeholder: 页面底部的颜色错误 ( The color of the bottom of the page is incorrect ) placeholder: The color of the bottom of the page is incorrect
validations: validations:
required: false required: false
- type: textarea - type: textarea
id: gitea-screenshot id: gitea-screenshot
attributes: attributes:
label: Gitea 默认主题下的截图 ( Screenshot of the default Gitea theme ) label: Screenshot of the default Gitea theme
description: 请上传 Gitea 默认主题下的截图 ( Please upload a screenshot of the default Gitea theme ) description: Please upload a screenshot of the default Gitea theme.
validations: validations:
required: false required: false
- type: textarea - type: textarea
id: github-screenshot id: github-screenshot
attributes: attributes:
label: 可供参考的 GitHub 页面对应的截图 ( Screenshot of the corresponding GitHub page ) label: Screenshot of the corresponding GitHub page
description: 请上传 GitHub 页面对应的截图 ( Please upload a screenshot of the corresponding GitHub page ) description: Please upload a screenshot of the corresponding GitHub page.
validations: validations:
required: false required: false

View File

@@ -1,39 +1,39 @@
name: 功能请求 ( Feature request ) name: Feature request
description: 提出新的功能建议 ( Suggest new features ) description: Suggest new features.
labels: ["enhancement"] labels: ["enhancement"]
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: | value: |
1. 不接受非 Gitea 和 GitHub 的样式需求 ( We do not accept style requests that are not Gitea or GitHub ) 1. We do not accept style requests that are not Gitea or GitHub.
2. 颜色需求最好自己实现 ( Color requests are best implemented by yourself ) 2. Color requests are best implemented by yourself.
- type: input - type: input
id: page id: page
attributes: attributes:
label: 页面 ( Page ) label: Page
description: 功能涉及的页面 ( The page the feature involves ) description: The page the feature involves.
placeholder: 首页 ( Home page ) placeholder: Home page
validations: validations:
required: false required: false
- type: textarea - type: textarea
id: feature-description id: feature-description
attributes: attributes:
label: 功能描述 ( Feature Description ) label: Feature Description
description: 请描述你想要的功能 ( Please describe the feature you want ) description: Please describe the feature you want.
placeholder: 菜单样式修改 ( Menu style modification ) placeholder: Menu style modification
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: screenshot id: screenshot
attributes: attributes:
label: 截图 ( Screenshot ) label: Screenshot
description: 预期的主题效果 ( Expected theme effect ) description: Expected theme effect.
validations: validations:
required: false required: false
- type: textarea - type: textarea
id: github-screenshot id: github-screenshot
attributes: attributes:
label: 可供参考的 GitHub 页面对应的截图 ( Screenshot of the corresponding GitHub page ) label: Screenshot of the corresponding GitHub page
description: 请上传 GitHub 页面对应的截图 ( Please upload a screenshot of the corresponding GitHub page ) description: Please upload a screenshot of the corresponding GitHub page.
validations: validations:
required: false required: false

View File

@@ -1,44 +1,43 @@
name: 框架错误报告 ( Core bug report ) name: Core bug report
description: 报告框架的错误 ( Report errors in the theme framework ) description: Report errors in the theme framework.
labels: ["core bug"] labels: ["core bug"]
body: body:
- type: textarea - type: textarea
id: actual-behavior id: actual-behavior
attributes: attributes:
label: 实际表现 ( Actual Behavior ) label: Actual Behavior
description: 请描述实际的错误表现 ( Please describe the actual error presentation ) description: Please describe the actual error presentation.
placeholder: 未生成自动颜色主题 ( No automatic color theme generated ) placeholder: No automatic color theme generated
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: expected-behavior id: expected-behavior
attributes: attributes:
label: 期望表现 ( Expected Behavior ) label: Expected Behavior
description: 请描述期望的正确表现 ( Please describe the expected correct presentation ) description: Please describe the expected correct presentation.
placeholder: 生成自动颜色主题 ( Generate automatic color theme ) placeholder: Generate automatic color theme
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: steps-to-reproduce id: steps-to-reproduce
attributes: attributes:
label: 复现步骤 ( Steps to reproduce ) label: Steps to reproduce
description: 请描述如何复现错误 ( Please describe how to reproduce the error ) description: Please describe how to reproduce the error.
placeholder: placeholder: 1. Create a color theme 2. Compile the theme 3. View the error
1. 新建颜色主题 2. 编译主题 3. 查看错误 ( 1. Create a color theme 2. Compile the theme 3. View the error )
validations: validations:
required: false required: false
- type: textarea - type: textarea
id: bug-description id: bug-description
attributes: attributes:
label: 错误描述 ( Bug Description ) label: Bug Description
description: 请描述错误的具体表现 ( Please describe the specific presentation of the error ) description: Please describe the specific presentation of the error.
placeholder: 未生成自动颜色主题 ( No automatic color theme generated ) placeholder: No automatic color theme generated
validations: validations:
required: false required: false
- type: textarea - type: textarea
id: screenshot id: screenshot
attributes: attributes:
label: 截图 ( Screenshot ) label: Screenshot
description: 请上传错误的截图 ( Please upload the screenshot of the error ) description: Please upload the screenshot of the error.
validations: validations:
required: false required: false

View File

@@ -1,12 +1,12 @@
name: 文档报告 ( Document report ) name: Document report
description: 改进或补充文档 ( Improve or supplement the document ) description: Improve or supplement the document.
labels: ["documentation"] labels: ["documentation"]
body: body:
- type: textarea - type: textarea
id: doc-description id: doc-description
attributes: attributes:
label: 文档描述 ( Document Description ) label: Document Description
description: 请描述文档的具体内容 ( Please describe the specific content of the document ) description: Please describe the specific content of the document.
placeholder: 文档内容有误 ( The document content is incorrect ) placeholder: The document content is incorrect
validations: validations:
required: true required: true

View File

@@ -1,15 +1,7 @@
### 🌈 Style ### 🌈 Style
##### 更符合 GitHub 风格
### 🐞 Fix
- 修复差异对比下当有 unicode 字符提示时丢失的背景颜色和宽度问题
## 📃 English
### 🌈 Style
##### More aligned with GitHub style ##### More aligned with GitHub style
### 🐞 Fix ### 🐞 Fix
- Fix the problem of missing background color and width when there is a unicode character in the diff