Skip to content

Commit 6d5b432

Browse files
committed
feat:issue模板添加
1 parent dfa225e commit 6d5b432

File tree

4 files changed

+263
-0
lines changed

4 files changed

+263
-0
lines changed
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
name: 🐛 Bug 报告
2+
description: 报告一个错误或问题
3+
title: "[Bug] "
4+
labels: ["bug", "需要调查"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
感谢您花时间填写错误报告!请详细描述遇到的问题,这将帮助我们更快地定位和解决问题。
10+
11+
- type: textarea
12+
id: problem-description
13+
attributes:
14+
label: 问题描述
15+
description: 请详细描述您遇到的问题
16+
placeholder: |
17+
例如:在文件传输过程中,当传输大文件时连接会意外断开...
18+
validations:
19+
required: true
20+
21+
- type: dropdown
22+
id: deployment-environment
23+
attributes:
24+
label: 部署环境
25+
description: 您使用的是什么部署方式?
26+
options:
27+
- 二进制部署(下载发布的可执行文件)
28+
- 自行构建(从源码编译)
29+
- Docker 部署
30+
- 官方演示站
31+
- 其他(请在详细信息中说明)
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
id: environment-details
37+
attributes:
38+
label: 环境详细信息
39+
description: 请提供环境相关信息
40+
placeholder: |
41+
- 操作系统:Linux Ubuntu 20.04 / Windows 10 / macOS 12.x
42+
- 浏览器:Chrome 120.x / Firefox 121.x / Safari 17.x
43+
- 网络环境:局域网 / 公网 / NAT环境
44+
- 设备类型:PC / 移动设备
45+
- 其他相关信息...
46+
validations:
47+
required: true
48+
49+
- type: textarea
50+
id: steps-to-reproduce
51+
attributes:
52+
label: 复现步骤
53+
description: 请描述如何复现这个问题
54+
placeholder: |
55+
1. 打开应用
56+
2. 点击 '文件传输'
57+
3. 选择一个大文件 (>100MB)
58+
4. 点击发送
59+
5. 观察到连接断开...
60+
validations:
61+
required: true
62+
63+
- type: textarea
64+
id: expected-behavior
65+
attributes:
66+
label: 预期行为
67+
description: 您期望发生什么?
68+
placeholder: 文件应该能够正常传输完成
69+
validations:
70+
required: true
71+
72+
- type: textarea
73+
id: actual-behavior
74+
attributes:
75+
label: 实际行为
76+
description: 实际发生了什么?
77+
placeholder: 传输进度到50%时连接突然断开,显示"连接失败"错误
78+
validations:
79+
required: true
80+
81+
- type: textarea
82+
id: logs
83+
attributes:
84+
label: 相关日志
85+
description: |
86+
请提供相关的错误日志、控制台输出或服务器日志
87+
提示:您可以在浏览器开发者工具的控制台中查看客户端日志
88+
render: text
89+
placeholder: |
90+
[2024-01-15 10:30:45] [ERROR] WebRTC连接失败: ICE连接超时
91+
[2024-01-15 10:30:45] [INFO] 尝试重新连接...
92+
93+
或者粘贴浏览器控制台的错误信息...
94+
95+
- type: textarea
96+
id: screenshots
97+
attributes:
98+
label: 截图或录屏
99+
description: |
100+
如果适用,请添加截图或录屏来帮助解释您的问题
101+
您可以直接拖拽图片到这个文本框中
102+
placeholder: 拖拽图片文件到这里,或者粘贴图片链接
103+
104+
- type: textarea
105+
id: additional-context
106+
attributes:
107+
label: 其他信息
108+
description: 任何其他可能有助于解决问题的信息
109+
placeholder: |
110+
- 问题发生的频率:每次 / 偶尔 / 特定条件下
111+
- 是否在多个设备上都出现
112+
- 最近是否有环境变化
113+
- 其他可能相关的信息...
114+
115+
- type: checkboxes
116+
id: terms
117+
attributes:
118+
label: 确认事项
119+
description: 在提交前,请确认以下事项
120+
options:
121+
- label: 我已经搜索了现有的 Issues,确认这不是重复问题
122+
required: true
123+
- label: 我已经提供了足够的信息来复现和诊断问题
124+
required: true
125+
- label: 我理解维护者可能需要更多信息来解决问题
126+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: 📚 项目文档
4+
url: https://github.com/MatrixSeven/file-transfer-go/blob/main/README.md
5+
about: 查看项目使用文档和部署指南
6+
- name: 💬 讨论区
7+
url: https://github.com/MatrixSeven/file-transfer-go/discussions
8+
about: 参与社区讨论,分享使用经验和想法
9+
- name: 🌐 官方演示
10+
url: https://transfer.52python.cn/
11+
about: 访问官方演示站点体验功能(如果可用)
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: ✨ 功能请求
2+
description: 建议一个新功能或改进
3+
title: "[Feature] "
4+
labels: ["enhancement", "功能请求"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
感谢您提出功能建议!您的想法对改进项目非常重要。请详细描述您的建议。
10+
11+
- type: textarea
12+
id: feature-description
13+
attributes:
14+
label: 建议功能
15+
description: 请清楚简洁地描述您希望实现的功能
16+
placeholder: |
17+
例如:希望添加文件加密传输功能,在传输过程中对文件进行端到端加密...
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: motivation
23+
attributes:
24+
label: 需求原因
25+
description: 请解释为什么需要这个功能,它解决了什么问题?
26+
placeholder: |
27+
例如:
28+
- 当前在传输敏感文件时缺乏安全保障
29+
- 在公网环境下传输文件可能被第三方截获
30+
- 企业用户需要确保数据传输的安全性
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
id: use-cases
36+
attributes:
37+
label: 使用场景
38+
description: 请描述这个功能的具体使用场景和出发点
39+
placeholder: |
40+
例如:
41+
- 医疗机构传输患者档案时需要加密保护
42+
- 企业内部传输财务报表等敏感文档
43+
- 个人用户传输私人照片和视频时希望保护隐私
44+
- 在不受信任的网络环境下进行文件传输
45+
validations:
46+
required: true
47+
48+
- type: dropdown
49+
id: priority
50+
attributes:
51+
label: 优先级
52+
description: 您认为这个功能的优先级如何?
53+
options:
54+
- 低(Nice to have)
55+
- 中(重要但不紧急)
56+
- 高(对用户体验很重要)
57+
- 关键(阻碍正常使用)
58+
validations:
59+
required: true
60+
61+
62+
- type: textarea
63+
id: additional-context
64+
attributes:
65+
label: 其他信息
66+
description: 任何其他可能有助于理解和实现这个功能的信息
67+
placeholder: |
68+
- 类似功能的参考应用或网站
69+
- 相关技术文档或标准
70+
- 社区讨论链接
71+
- 其他补充说明
72+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: 💬 问题咨询
2+
description: 使用问题、配置疑问或一般性讨论
3+
title: "[Question] "
4+
labels: ["question", "需要回复"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
如果您有使用问题、配置疑问或想要讨论项目相关话题,请使用这个模板。
10+
11+
- type: dropdown
12+
id: question-type
13+
attributes:
14+
label: 问题类型
15+
description: 请选择您的问题类型
16+
options:
17+
- 使用问题(如何使用某个功能)
18+
- 配置问题(部署和设置相关)
19+
- 技术咨询(技术实现相关)
20+
- 功能理解(不确定某个功能如何工作)
21+
- 其他
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
id: question
27+
attributes:
28+
label: 具体问题
29+
description: 请详细描述您的问题
30+
placeholder: |
31+
例如:我想在内网环境下部署这个应用,但是不知道如何配置STUN服务器...
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
id: environment
37+
attributes:
38+
label: 环境信息
39+
description: 如果相关,请提供环境信息
40+
placeholder: |
41+
- 操作系统:
42+
- 部署方式:
43+
- 网络环境:
44+
- 浏览器版本:
45+
46+
- type: checkboxes
47+
id: checklist
48+
attributes:
49+
label: 确认事项
50+
options:
51+
- label: 我已经查看了项目文档和README
52+
required: true
53+
- label: 我已经搜索了现有的Issues
54+
required: true

0 commit comments

Comments
 (0)