From c5cc1454ca1d8c65600132edd93b337e1eaec501 Mon Sep 17 00:00:00 2001 From: Luke Date: Wed, 18 Jun 2025 11:03:15 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=A2=9E=E5=8A=A0=20gitee=20issues=20?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitee/ISSUE_TEMPLATE/bug.yml | 55 ++++++++------------------- .gitee/ISSUE_TEMPLATE/chore.yml | 25 ++++++++++++ .gitee/ISSUE_TEMPLATE/docs.yml | 25 ++++++++++++ .gitee/ISSUE_TEMPLATE/enhancement.yml | 34 +++++++++++++++++ .gitee/ISSUE_TEMPLATE/feature.yml | 41 +++++++------------- .gitee/ISSUE_TEMPLATE/hotfix.yml | 37 ++++++++++++++++++ .gitee/ISSUE_TEMPLATE/question.yml | 34 +++++++++++++++++ .gitee/ISSUE_TEMPLATE/refactor.yml | 34 +++++++++++++++++ 8 files changed, 217 insertions(+), 68 deletions(-) create mode 100644 .gitee/ISSUE_TEMPLATE/chore.yml create mode 100644 .gitee/ISSUE_TEMPLATE/docs.yml create mode 100644 .gitee/ISSUE_TEMPLATE/enhancement.yml create mode 100644 .gitee/ISSUE_TEMPLATE/hotfix.yml create mode 100644 .gitee/ISSUE_TEMPLATE/question.yml create mode 100644 .gitee/ISSUE_TEMPLATE/refactor.yml diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml index 113dbca..917a5f7 100644 --- a/.gitee/ISSUE_TEMPLATE/bug.yml +++ b/.gitee/ISSUE_TEMPLATE/bug.yml @@ -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 diff --git a/.gitee/ISSUE_TEMPLATE/chore.yml b/.gitee/ISSUE_TEMPLATE/chore.yml new file mode 100644 index 0000000..50f2a1f --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/chore.yml @@ -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 diff --git a/.gitee/ISSUE_TEMPLATE/docs.yml b/.gitee/ISSUE_TEMPLATE/docs.yml new file mode 100644 index 0000000..7b33299 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/docs.yml @@ -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 diff --git a/.gitee/ISSUE_TEMPLATE/enhancement.yml b/.gitee/ISSUE_TEMPLATE/enhancement.yml new file mode 100644 index 0000000..498eda1 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/enhancement.yml @@ -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 diff --git a/.gitee/ISSUE_TEMPLATE/feature.yml b/.gitee/ISSUE_TEMPLATE/feature.yml index 61a382d..16b413b 100644 --- a/.gitee/ISSUE_TEMPLATE/feature.yml +++ b/.gitee/ISSUE_TEMPLATE/feature.yml @@ -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 diff --git a/.gitee/ISSUE_TEMPLATE/hotfix.yml b/.gitee/ISSUE_TEMPLATE/hotfix.yml new file mode 100644 index 0000000..eb98fc4 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/hotfix.yml @@ -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 diff --git a/.gitee/ISSUE_TEMPLATE/question.yml b/.gitee/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..fdbed9a --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/question.yml @@ -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 diff --git a/.gitee/ISSUE_TEMPLATE/refactor.yml b/.gitee/ISSUE_TEMPLATE/refactor.yml new file mode 100644 index 0000000..fb575fd --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/refactor.yml @@ -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