chore: 增加 gitee issues 模板功能

This commit is contained in:
Luke 2025-06-18 10:42:48 +08:00
parent bfc04f53ee
commit 5cd4c41e01
3 changed files with 158 additions and 0 deletions

View File

@ -0,0 +1,86 @@
name: "Bug 报告"
description: "提交代码中发现的缺陷报告"
title: "[Bug] "
labels:
- bug
assignees: []
body:
- type: markdown
attributes:
value: |
## 问题概述
<!-- 清晰、简短地描述问题现象 & 出现场景 -->
- type: textarea
id: problem_summary
attributes:
label: 问题概述
description: 清晰、简短地描述问题现象 & 出现场景
validations:
required: true
- type: markdown
attributes:
value: |
## 重现步骤
1. 在项目中执行…
2. 输入…
3. 观察到…
> 如有多种触发场景,可分别列出
- type: textarea
id: reproduction_steps
attributes:
label: 重现步骤
description: 列出重现流程
validations:
required: true
- type: markdown
attributes:
value: |
## 期望结果
<!-- 描述理想情况下的行为或输出 -->
- type: textarea
id: expected_result
attributes:
label: 期望结果
description: 描述理想情况下的行为或输出
validations:
required: true
- type: markdown
attributes:
value: |
## 实际结果
<!-- 描述当前的行为或输出,与预期的差异 -->
- type: textarea
id: actual_result
attributes:
label: 实际结果
description: 描述当前的行为或输出,与预期的差异
validations:
required: true
- type: markdown
attributes:
value: |
## 环境信息
* 操作系统:
* 软件版本/分支:
- type: input
id: environment_info
attributes:
label: 环境信息
description: 填写操作系统、软件版本/分支等信息
validations:
required: false
- type: markdown
attributes:
value: |
## 附加信息(可选)
* 错误日志
* 调试输出
* 屏幕截图或录屏
* 相关链接/配置文件
- type: textarea
id: additional_info
attributes:
label: 附加信息(可选)
description: 可提供错误日志、截图、链接等
validations:
required: false

View File

@ -0,0 +1,5 @@
blank_issues_enabled: false # 禁用空白 Issue强制选择模板
contact_links: # 外部文档或反馈链接
- name: Snow 项目 Git 管理规范
url: https://gitee.com/jcnc-org/snow/blob/main/doc/Git-Management/Git-Management.md
about: 分支管理与提交规范

View File

@ -0,0 +1,67 @@
name: "新功能请求"
description: "提出新的功能或改进建议"
title: "[Feature] "
labels:
- enhancement
assignees: []
body:
- type: markdown
attributes:
value: |
## 功能概述
<!-- 简要描述希望实现的功能及其场景 -->
- type: textarea
id: feature_summary
attributes:
label: 功能概述
description: 简要描述希望实现的功能及其场景
validations:
required: true
- type: markdown
attributes:
value: |
## 设计方案
<!-- 描述功能的具体实现方案与技术细节 -->
- type: textarea
id: design_solution
attributes:
label: 设计方案
description: 描述功能的具体实现方案与技术细节
validations:
required: true
- type: markdown
attributes:
value: |
## 可选方案
<!-- 列出已考虑的其他方案及其优缺点 -->
- type: textarea
id: alternatives
attributes:
label: 可选方案
description: 列出已考虑的其他方案及其优缺点
validations:
required: false
- type: markdown
attributes:
value: |
## 影响范围
<!-- 描述该功能对现有系统或用户的影响 -->
- type: textarea
id: impact_scope
attributes:
label: 影响范围
description: 描述该功能对现有系统或用户的影响
validations:
required: false
- type: markdown
attributes:
value: |
## 附加信息(可选)
<!-- 如原型图、参考链接、截图等 -->
- type: textarea
id: additional_info
attributes:
label: 附加信息(可选)
description: 如原型图、参考链接、截图等
validations:
required: false