diff --git a/.gitea/ISSUE_TEMPLATE/bug_report.yaml b/.gitea/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 00000000..70bb1273 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,76 @@ +--- +name: Bug 反馈 +about: Report a bug to help us improve +title: '[bug]:简单说明' +body: + - type: textarea + id: content + attributes: + label: 问题描述 + description: 请详细描述您遇到的问题 + placeholder: 填写遇到的问题 + validations: + required: true + + - type: input + id: system + attributes: + label: 操作系统环境 + description: 请提供操作系统环境 + placeholder: Linux、MacOS、Windows、Other + validations: + required: true + + - type: input + id: net_version + attributes: + label: .NET版本 + description: 请提供 .NET版本 + placeholder: .net6.0、.net7.0、.net8.0、.net9.0 + validations: + required: true + + - type: input + id: node_version + attributes: + label: Node 版本 + description: 请提供 Node 版本 + placeholder: 18.18.0、20.20.4 + validations: + required: true + + - type: textarea + id: steps + attributes: + label: 重现步骤 + description: 请列出重现问题的步骤 + validations: + required: true + + - type: textarea + id: expect + attributes: + label: 预期结果 + description: 请描述您期望的结果 + validations: + required: true + + - type: textarea + id: result + attributes: + label: 实际结果 + description: 请描述实际发生的情况 + validations: + required: true + + - type: dropdown + id: level + attributes: + label: 严重性 + description: 请选择问题的严重性 + options: + - 低 + - 中 + - 高 + validations: + required: true \ No newline at end of file diff --git a/.gitea/ISSUE_TEMPLATE/feature_request.yaml b/.gitea/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 00000000..f986c333 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,33 @@ +--- +name: 功能请求 +about: Suggest an idea for this project +title: '[feature]:简单说明' +body: + - type: textarea + id: feature + attributes: + label: 功能描述 + description: 请详细描述您希望的功能 + validations: + required: true + + - type: dropdown + id: level + attributes: + label: 优先级 + description: 请选择功能的优先级 + options: + - 高 + - 中 + - 低 + validations: + required: true + + - type: checkboxes + id: design + attributes: + label: 是否需要设计? + description: 是否需要设计团队参与? + options: + - label: 需要 + - label: 不需要 \ No newline at end of file diff --git a/.gitea/pull_request_template.md b/.gitea/pull_request_template.md new file mode 100644 index 00000000..8e744fe2 --- /dev/null +++ b/.gitea/pull_request_template.md @@ -0,0 +1,28 @@ +## 标题 +[功能/修复] 简要描述更改内容 + +## 描述 +### 问题背景 +简要描述为什么要进行这些更改。 + +### 解决方案 +详细说明你做了哪些更改,以及这些更改如何解决问题。 + +### 测试情况 +描述测试结果和测试范围。 + +## 相关分支 +- 目标分支:`main` +- 源分支:`feature/new-feature` + +## 相关链接 +- 相关 Issue:[#123](https://code.adminnet.top/Admin.NET/Admin.NET.Pro/issues/123) +- 相关 PR:[#456](https://code.adminnet.top/Admin.NET/Admin.NET.Pro/issues/456) + +## 待办事项 +- [ ] 完成功能 X 的实现 +- [ ] 修复已知问题 Y +- [ ] 添加测试用例 + +## 注意事项 +如果有任何需要注意的地方,请在这里说明。 \ No newline at end of file