Skip to content

Commit 0e390b4

Browse files
authored
chore: update issue template (#17655)
* chore: update issue template * chore: update discussion link [skip ci] * chore: check duplication [no ci] * chore: docs site issue [no ci] * chore: bug description [no ci]
1 parent 1e02c67 commit 0e390b4

File tree

4 files changed

+85
-34
lines changed

4 files changed

+85
-34
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,34 @@
11
name: 错误报告 🐞
2-
description: >-
3-
创建一个新的错误报告。对于一般性问题,请在 GitHub Discussion 中发布。
2+
description: 报告新 Bug。一般性问题请在 GitHub Discussion 中发布。
43
title: "[Bug]: "
54
labels:
6-
- 待分类
5+
- triage
76
- bug
87
body:
9-
- type: input
10-
id: platform
8+
- type: checkboxes
9+
id: duplication
1110
attributes:
12-
label: 相关平台
11+
label: 请先搜索是否存在类似提交
12+
options:
13+
- label: 我确定这个提交不是重复的
1314
validations:
1415
required: true
16+
- type: checkboxes
17+
id: platform
18+
attributes:
19+
label: 相关平台
20+
options:
21+
- label: 所有小程序
22+
- label: 微信小程序
23+
- label: 支付宝小程序
24+
- label: 百度小程序
25+
- label: 字节跳动小程序
26+
- label: QQ 轻应用
27+
- label: 京东小程序
28+
- label: 快应用平台(QuickApp)
29+
- label: Web 平台(H5)
30+
- label: 移动端(React-Native)
31+
- label: 鸿蒙(harmony)
1532
- type: input
1633
id: library
1734
attributes:
@@ -50,7 +67,9 @@ body:
5067
description: 请提供复现问题的步骤。
5168
placeholder: >-
5269
1. Go to above link
70+
5371
2. Click on '....'
72+
5473
3. ...
5574
- type: textarea
5675
id: system
@@ -60,3 +79,9 @@ body:
6079
render: bash
6180
validations:
6281
required: true
82+
- type: checkboxes
83+
id: contribute
84+
attributes:
85+
label: 贡献代码
86+
options:
87+
- label: 我愿意修复这个错误

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: 社区支持
4-
url: https://github.com/orgs/community/discussions
5-
about: 其他问题请在 GitHub Discussion 中发布。
3+
- name: 📖文档问题 Docs issue
4+
url: https://github.com/NervJS/taro-docs/issues
5+
about: 文档相关问题请在这里提交
6+
- name: 📑创建提案 Proposal
7+
url: https://github.com/NervJS/taro/discussions/categories/rfc
8+
about: 制定 Taro 下一步的更新计划
9+
- name: 🙋🏻‍♂️发起投票 Vote
10+
url: https://github.com/NervJS/taro/discussions/categories/polls
11+
about: 投票决定 Taro 的未来
12+
- name: 🙌🏼社区支持 General Question
13+
url: https://github.com/NervJS/taro/discussions/categories/q-a
14+
about: 发布一般性问题
15+
- name: 🏗生态建设 Ecosystem
16+
url: https://github.com/NervJS/taro/discussions/categories/%E7%94%9F%E6%80%81
17+
about: 工具库?组件库?快来丰富 Taro 生态
Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,40 @@
11
name: 功能请求 🚀
2-
description: >-
3-
创建一个新的功能请求。对于一般性问题,请在 GitHub Discussion 中发布。
2+
description: 提出新特性
43
title: "[Feat]: "
54
labels:
6-
- 待分类
7-
- feature
5+
- triage
6+
- feat
87
body:
8+
- type: checkboxes
9+
id: duplication
10+
attributes:
11+
label: 请先搜索是否存在类似提交
12+
options:
13+
- label: 我确定这个提交不是重复的
14+
validations:
15+
required: true
916
- type: textarea
1017
id: feature
1118
attributes:
1219
label: 功能描述
13-
description: 这个功能解决了什么问题
20+
description: 这个功能增加了什么特性?解决了什么问题
1421
validations:
1522
required: true
1623
- type: textarea
17-
id: details
24+
id: design
1825
attributes:
19-
label: 实现细节
20-
description: 你希望如何实现这个功能?
26+
label: 功能设计
27+
description: 这个功能如何使用?(API / CLI ...)
2128
validations:
2229
required: true
30+
- type: textarea
31+
id: details
32+
attributes:
33+
label: 实现细节
34+
description: 这个功能该如何实现?(具体的实现思路)
35+
- type: checkboxes
36+
id: contribute
37+
attributes:
38+
label: 贡献代码
39+
options:
40+
- label: 我愿意实现这个功能

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
<!--
2-
请务必阅读贡献者指南:
3-
https://github.com/NervJS/taro/blob/master/CONTRIBUTING.md
2+
请务必阅读贡献者指南:https://github.com/NervJS/taro/blob/master/CONTRIBUTING.md
3+
Update "[ ]" to "[x]" to check a box
44
-->
5+
**这个 PR 做了什么?** (简要描述所做更改)
56

6-
<!-- PULL REQUEST TEMPLATE -->
7-
<!-- (Update "[ ]" to "[x]" to check a box) -->
87

9-
**这个 PR 做了什么?** (简要描述所做更改)
8+
**这个 PR 是什么类型?** (至少选择一个)
109

10+
- [ ] 错误修复 (Bugfix) issue: fix #
11+
- [ ] 新功能 (Feature)
12+
- [ ] 代码重构 (Refactor)
13+
- [ ] TypeScript 类型定义修改 (Types)
14+
- [ ] 文档修改 (Docs)
15+
- [ ] 代码风格更新 (Code style update)
16+
- [ ] 构建优化 (Chore)
17+
- [ ] 其他,请描述 (Other, please describe):
1118

12-
13-
**这个 PR 是什么类型?** (至少选择一个)
14-
15-
- [ ] 错误修复(Bugfix) issue: fix #
16-
- [ ] 新功能(Feature)
17-
- [ ] 代码重构(Refactor)
18-
- [ ] TypeScript 类型定义修改(Typings)
19-
- [ ] 文档修改(Docs)
20-
- [ ] 代码风格更新(Code style update)
21-
- [ ] 其他,请描述(Other, please describe):
22-
23-
**这个 PR 涉及以下平台:**
19+
**这个 PR 涉及以下平台:**
2420

2521
- [ ] 所有小程序
2622
- [ ] 微信小程序

0 commit comments

Comments
 (0)