Skip to content

Commit f216b38

Browse files
Craun718fu050409
authored andcommitted
Co-authored-by: Craun718<[email protected]>
1 parent 53244a8 commit f216b38

File tree

2 files changed

+154
-0
lines changed

2 files changed

+154
-0
lines changed

.gitcode/ISSUE_TEMPLATE/bug_cn.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: Bug 报告
2+
description: 为前端 UI 库提交 Bug 报告。
3+
title: "[Bug] 问题的简要标题"
4+
body:
5+
- type: dropdown
6+
id: will-contribute
7+
attributes:
8+
label: 愿意为修复做出贡献吗?
9+
description: 如果您计划协助修复此问题,请告知我们,以避免重复工作。
10+
options:
11+
- ""
12+
- ""
13+
- 可能
14+
default: 0
15+
validations:
16+
required: true
17+
- type: markdown
18+
attributes:
19+
value: |
20+
感谢您花时间提交此 UI Bug 报告!请提供尽可能详细的信息,以帮助我们快速解决问题。
21+
- type: input
22+
id: contact
23+
attributes:
24+
label: 联系方式
25+
description: 如果我们需要更多信息,如何联系您?
26+
placeholder: 例如:[email protected]
27+
validations:
28+
required: false
29+
- type: textarea
30+
id: what-happened
31+
attributes:
32+
label: 发生了什么问题?
33+
description: 您遇到了什么 UI 问题?请描述具体行为。
34+
placeholder: 例如:按钮无响应、文本溢出等
35+
value: " UI 出问题了!"
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: expected-behavior
40+
attributes:
41+
label: 预期行为
42+
description: UI 元素应该如何显示或行为?
43+
placeholder: 请描述预期的 UI 行为。
44+
value: "按钮应该是可点击的,文本应该适合容器。"
45+
validations:
46+
required: true
47+
- type: dropdown
48+
id: browsers
49+
attributes:
50+
label: 在哪些浏览器中观察到此问题?
51+
multiple: true
52+
options:
53+
- Firefox
54+
- Chrome
55+
- Safari
56+
- Microsoft Edge
57+
description: 请选择出现问题的浏览器。
58+
validations:
59+
required: false
60+
- type: textarea
61+
id: steps-to-reproduce
62+
attributes:
63+
label: 重现步骤
64+
description: 请提供重现此问题的具体步骤。
65+
placeholder: 例如:1. 点击按钮 2. 出现错误信息
66+
validations:
67+
required: true
68+
- type: textarea
69+
id: logs
70+
attributes:
71+
label: 浏览器控制台日志(如有)
72+
description: 如果您在浏览器控制台中看到任何错误,请在此处粘贴相关日志。
73+
placeholder: 请复制并粘贴相关的控制台日志。
74+
render: shell
75+
- type: checkboxes
76+
id: terms
77+
attributes:
78+
label: 行为准则
79+
description: 通过提交此问题,您同意遵守项目的行为准则。
80+
options:
81+
- label: 我同意遵守项目的行为准则
82+
required: true
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+
body:
5+
- type: dropdown
6+
id: will-contribute
7+
attributes:
8+
label: 是否愿意协助开发?
9+
description: 如果您计划协助开发此功能,请告诉我们以便协调工作。
10+
options:
11+
- ""
12+
- ""
13+
- 可能
14+
default: 0
15+
validations:
16+
required: true
17+
- type: markdown
18+
attributes:
19+
value: |
20+
感谢您提交此功能请求!请提供尽可能多的详细信息,以帮助我们了解您的需求。
21+
- type: input
22+
id: contact
23+
attributes:
24+
label: 联系方式
25+
description: 如果我们需要更多信息,如何联系您?
26+
placeholder: 例如:[email protected]
27+
validations:
28+
required: false
29+
- type: textarea
30+
id: feature-description
31+
attributes:
32+
label: 功能描述
33+
description: 请描述您想要请求的功能或建议的改进。
34+
placeholder: 例如:希望添加对特定API集成的支持或新的设置选项。
35+
value: "我想添加一个新功能..."
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: use-case
40+
attributes:
41+
label: 使用场景
42+
description: 请提供此功能将被使用的上下文或场景,帮助我们了解其需求。
43+
placeholder: 例如:用于自动化报告或增强可访问性的功能。
44+
validations:
45+
required: true
46+
- type: dropdown
47+
id: priority
48+
attributes:
49+
label: 功能优先级
50+
options:
51+
-
52+
-
53+
-
54+
description: 请指定此功能的优先级。
55+
validations:
56+
required: true
57+
- type: textarea
58+
id: additional-info
59+
attributes:
60+
label: 附加信息
61+
description: 如果您有任何额外的详细信息或资源,请在此处提供。
62+
placeholder: 提供相关链接或文档。
63+
validations:
64+
required: false
65+
- type: checkboxes
66+
id: terms
67+
attributes:
68+
label: 行为准则
69+
description: 通过提交此功能请求,您同意遵守项目的行为准则。
70+
options:
71+
- label: 我同意遵守项目的行为准则
72+
required: true

0 commit comments

Comments
 (0)