Skip to content

Commit cd150cd

Browse files
authored
feat: issue template 添加官方版引用 (PCL-Community#213)
* feat: issue template 添加官方版引用 * fix: typo in issue templates
1 parent b5d097a commit cd150cd

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/ISSUE_TEMPLATE/ch.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,21 @@ body:
1414
required: true
1515
- label: "我仍想要提交,是因为我确认这个 Issue 是从官方版转交过来,或是希望由社区版处理的。"
1616
required: true
17-
- type: textarea
17+
- type: input
1818
id: "yml-2"
19+
attributes:
20+
label: "官方版原 Issue 编号"
21+
description: "如果这个 Issue 是从官方版转交过来的,请将原 Issue 标题旁的**编号**输入到下方预设文本的`#`后,不要输入任何其他非数字字符。"
22+
value: "- Hex-Dragon/PCL2#"
23+
- type: textarea
24+
id: "yml-3"
1925
attributes:
2026
label: 描述
2127
description: "详细描述具体需要优化哪些地方,要改成怎样的。"
2228
validations:
2329
required: true
2430
- type: textarea
25-
id: "yml-3"
31+
id: "yml-4"
2632
attributes:
2733
label: 原因
2834
description: "详细描述你为什么需要这项优化,这有助于开发者评估它的优先度。"

.github/ISSUE_TEMPLATE/feature.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ body:
1313
required: true
1414
- label: "我仍想要提交,是因为我确认这个 Issue 是官方版转交过来,或是希望由社区版处理的。"
1515
required: true
16-
- type: textarea
16+
- type: input
1717
id: "yml-2"
18+
attributes:
19+
label: "官方版原 Issue 编号"
20+
description: "如果这个 Issue 是从官方版转交过来的,请将原 Issue 标题旁的**编号**输入到下方预设文本的`#`后,不要输入任何其他非数字字符。"
21+
value: "- Hex-Dragon/PCL2#"
22+
- type: textarea
23+
id: "yml-3"
1824
attributes:
1925
label: 描述
2026
description: "详细描述你想添加的功能具体是怎样的。"
2127
validations:
2228
required: true
2329
- type: textarea
24-
id: "yml-3"
30+
id: "yml-4"
2531
attributes:
2632
label: 原因
2733
description: "详细描述你为什么需要这项功能,这有助于开发者评估它的优先度。"

0 commit comments

Comments
 (0)