chore: 增加 gitee issues 模板功能
This commit is contained in:
parent
5cd4c41e01
commit
c5cc1454ca
@ -4,83 +4,58 @@ title: "[Bug] "
|
||||
labels:
|
||||
- bug
|
||||
assignees: []
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 问题概述
|
||||
<!-- 清晰、简短地描述问题现象 & 出现场景 -->
|
||||
- type: textarea
|
||||
id: problem_summary
|
||||
attributes:
|
||||
label: 问题概述
|
||||
description: 清晰、简短地描述问题现象 & 出现场景
|
||||
placeholder: "在此填写问题概述…"
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 重现步骤
|
||||
1. 在项目中执行…
|
||||
2. 输入…
|
||||
3. 观察到…
|
||||
> 如有多种触发场景,可分别列出
|
||||
|
||||
- type: textarea
|
||||
id: reproduction_steps
|
||||
attributes:
|
||||
label: 重现步骤
|
||||
description: 列出重现流程
|
||||
description: 请逐步列出重现流程
|
||||
placeholder: "1. 执行… 2. 输入… 3. 观察到…"
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 期望结果
|
||||
<!-- 描述理想情况下的行为或输出 -->
|
||||
|
||||
- type: textarea
|
||||
id: expected_result
|
||||
attributes:
|
||||
label: 期望结果
|
||||
description: 描述理想情况下的行为或输出
|
||||
placeholder: "在此填写期望结果…"
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 实际结果
|
||||
<!-- 描述当前的行为或输出,与预期的差异 -->
|
||||
|
||||
- type: textarea
|
||||
id: actual_result
|
||||
attributes:
|
||||
label: 实际结果
|
||||
description: 描述当前的行为或输出,与预期的差异
|
||||
placeholder: "在此填写实际观察到的结果…"
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 环境信息
|
||||
* 操作系统:
|
||||
* 软件版本/分支:
|
||||
|
||||
- type: input
|
||||
id: environment_info
|
||||
attributes:
|
||||
label: 环境信息
|
||||
description: 填写操作系统、软件版本/分支等信息
|
||||
description: 操作系统、软件版本/分支等
|
||||
placeholder: "例如:Windows 11 / v0.4.0"
|
||||
validations:
|
||||
required: false
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 附加信息(可选)
|
||||
* 错误日志
|
||||
* 调试输出
|
||||
* 屏幕截图或录屏
|
||||
* 相关链接/配置文件
|
||||
|
||||
- type: textarea
|
||||
id: additional_info
|
||||
attributes:
|
||||
label: 附加信息(可选)
|
||||
description: 可提供错误日志、截图、链接等
|
||||
description: 如错误日志、截图、链接等
|
||||
placeholder: "如有额外信息,可在此补充…"
|
||||
validations:
|
||||
required: false
|
||||
|
||||
25
.gitee/ISSUE_TEMPLATE/chore.yml
Normal file
25
.gitee/ISSUE_TEMPLATE/chore.yml
Normal file
@ -0,0 +1,25 @@
|
||||
name: "维护任务"
|
||||
description: "依赖升级、格式化、脚本运行等项目维护工作"
|
||||
title: "[Chore] "
|
||||
labels:
|
||||
- chore
|
||||
assignees: []
|
||||
|
||||
body:
|
||||
- type: input
|
||||
id: chore_title
|
||||
attributes:
|
||||
label: 任务标题
|
||||
description: 简要描述维护内容
|
||||
placeholder: "如:升级 JDK 版本"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: chore_description
|
||||
attributes:
|
||||
label: 任务详情
|
||||
description: 描述执行步骤或相关脚本命令
|
||||
placeholder: "如:修改 pom.xml…"
|
||||
validations:
|
||||
required: false
|
||||
25
.gitee/ISSUE_TEMPLATE/docs.yml
Normal file
25
.gitee/ISSUE_TEMPLATE/docs.yml
Normal file
@ -0,0 +1,25 @@
|
||||
name: "文档改进"
|
||||
description: "报告文档错误、更新需求或新增文档请求"
|
||||
title: "[Docs] "
|
||||
labels:
|
||||
- docs
|
||||
assignees: []
|
||||
|
||||
body:
|
||||
- type: textarea
|
||||
id: docs_summary
|
||||
attributes:
|
||||
label: 文档概述
|
||||
description: 简要说明需要更新或新增的文档部分
|
||||
placeholder: "在此填写文档改进或更新需求…"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: docs_details
|
||||
attributes:
|
||||
label: 详细说明
|
||||
description: 说明当前文档存在的问题或改进建议
|
||||
placeholder: "如有示例、截图或链接,请在此补充…"
|
||||
validations:
|
||||
required: false
|
||||
34
.gitee/ISSUE_TEMPLATE/enhancement.yml
Normal file
34
.gitee/ISSUE_TEMPLATE/enhancement.yml
Normal file
@ -0,0 +1,34 @@
|
||||
name: "功能优化"
|
||||
description: "对现有功能的改进或性能优化建议"
|
||||
title: "[Enhancement] "
|
||||
labels:
|
||||
- enhancement
|
||||
assignees: []
|
||||
|
||||
body:
|
||||
- type: textarea
|
||||
id: enhancement_summary
|
||||
attributes:
|
||||
label: 优化概述
|
||||
description: 简要说明希望改进的功能模块
|
||||
placeholder: "在此填写优化目标…"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: enhancement_details
|
||||
attributes:
|
||||
label: 优化方案
|
||||
description: 详细描述改进思路与实现方式
|
||||
placeholder: "如:缓存机制、算法优化…"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: enhancement_benefit
|
||||
attributes:
|
||||
label: 预期收益
|
||||
description: 描述优化后带来的效益或体验提升
|
||||
placeholder: "如:响应时间缩短 30%…"
|
||||
validations:
|
||||
required: false
|
||||
@ -2,66 +2,51 @@ name: "新功能请求"
|
||||
description: "提出新的功能或改进建议"
|
||||
title: "[Feature] "
|
||||
labels:
|
||||
- enhancement
|
||||
- feature
|
||||
assignees: []
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 功能概述
|
||||
<!-- 简要描述希望实现的功能及其场景 -->
|
||||
- type: textarea
|
||||
id: feature_summary
|
||||
attributes:
|
||||
label: 功能概述
|
||||
description: 简要描述希望实现的功能及其场景
|
||||
placeholder: "在此填写功能概述…"
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 设计方案
|
||||
<!-- 描述功能的具体实现方案与技术细节 -->
|
||||
|
||||
- type: textarea
|
||||
id: design_solution
|
||||
attributes:
|
||||
label: 设计方案
|
||||
description: 描述功能的具体实现方案与技术细节
|
||||
placeholder: "在此填写设计方案…"
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 可选方案
|
||||
<!-- 列出已考虑的其他方案及其优缺点 -->
|
||||
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: 可选方案
|
||||
label: 可选方案(可选)
|
||||
description: 列出已考虑的其他方案及其优缺点
|
||||
placeholder: "在此填写可选方案…"
|
||||
validations:
|
||||
required: false
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 影响范围
|
||||
<!-- 描述该功能对现有系统或用户的影响 -->
|
||||
|
||||
- type: textarea
|
||||
id: impact_scope
|
||||
attributes:
|
||||
label: 影响范围
|
||||
label: 影响范围(可选)
|
||||
description: 描述该功能对现有系统或用户的影响
|
||||
placeholder: "在此填写影响范围…"
|
||||
validations:
|
||||
required: false
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## 附加信息(可选)
|
||||
<!-- 如原型图、参考链接、截图等 -->
|
||||
|
||||
- type: textarea
|
||||
id: additional_info
|
||||
attributes:
|
||||
label: 附加信息(可选)
|
||||
description: 如原型图、参考链接、截图等
|
||||
placeholder: "在此补充额外信息…"
|
||||
validations:
|
||||
required: false
|
||||
|
||||
37
.gitee/ISSUE_TEMPLATE/hotfix.yml
Normal file
37
.gitee/ISSUE_TEMPLATE/hotfix.yml
Normal file
@ -0,0 +1,37 @@
|
||||
name: "紧急修复"
|
||||
description: "生产环境紧急问题的快速修复"
|
||||
title: "[Hotfix] "
|
||||
labels:
|
||||
- hotfix
|
||||
assignees: []
|
||||
|
||||
body:
|
||||
- type: textarea
|
||||
id: issue_summary
|
||||
attributes:
|
||||
label: 问题概述
|
||||
description: 简要描述需紧急修复的问题
|
||||
placeholder: "在此填写紧急问题描述…"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: priority
|
||||
attributes:
|
||||
label: 优先级
|
||||
description: 选择修复优先级
|
||||
options:
|
||||
- P0
|
||||
- P1
|
||||
- P2
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: deadline
|
||||
attributes:
|
||||
label: 修复截止日期
|
||||
description: 填写计划完成的日期 (YYYY-MM-DD)
|
||||
placeholder: "例如:2025-06-20"
|
||||
validations:
|
||||
required: false
|
||||
34
.gitee/ISSUE_TEMPLATE/question.yml
Normal file
34
.gitee/ISSUE_TEMPLATE/question.yml
Normal file
@ -0,0 +1,34 @@
|
||||
name: "疑问与讨论"
|
||||
description: "提交使用疑问或设计讨论话题"
|
||||
title: "[Question] "
|
||||
labels:
|
||||
- question
|
||||
assignees: []
|
||||
|
||||
body:
|
||||
- type: textarea
|
||||
id: question_details
|
||||
attributes:
|
||||
label: 问题描述
|
||||
description: 清晰说明遇到的问题或讨论主题
|
||||
placeholder: "在此填写问题或讨论点…"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: question_attempts
|
||||
attributes:
|
||||
label: 已尝试方法
|
||||
description: 列出已尝试过的解决方案或思路
|
||||
placeholder: "如:查阅文档、尝试示例代码…"
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: question_expectation
|
||||
attributes:
|
||||
label: 期望答案
|
||||
description: 描述希望获得的解答或帮助方向
|
||||
placeholder: "如:最佳实践、配置示例…"
|
||||
validations:
|
||||
required: false
|
||||
34
.gitee/ISSUE_TEMPLATE/refactor.yml
Normal file
34
.gitee/ISSUE_TEMPLATE/refactor.yml
Normal file
@ -0,0 +1,34 @@
|
||||
name: "代码重构"
|
||||
description: "优化现有代码结构、命名或逻辑的重构任务"
|
||||
title: "[Refactor] "
|
||||
labels:
|
||||
- refactor
|
||||
assignees: []
|
||||
|
||||
body:
|
||||
- type: textarea
|
||||
id: refactor_scope
|
||||
attributes:
|
||||
label: 重构范围
|
||||
description: 描述需要重构的模块或文件
|
||||
placeholder: "在此填写重构目标…"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: refactor_reason
|
||||
attributes:
|
||||
label: 重构原因
|
||||
description: 说明当前存在的痛点或待改进之处
|
||||
placeholder: "如:变量命名不规范、函数职责过多…"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: refactor_expectation
|
||||
attributes:
|
||||
label: 预期效果
|
||||
description: 说明重构后带来的好处或验证方式
|
||||
placeholder: "如:提高性能、增强可读性…"
|
||||
validations:
|
||||
required: false
|
||||
Loading…
x
Reference in New Issue
Block a user