Skip to content

Commit 5c8c031

Browse files
ianzonetutuxxx
andauthored
chore: issue template (#17477)
Co-authored-by: Shijie Yu <[email protected]>
1 parent 55457e3 commit 5c8c031

File tree

3 files changed

+87
-3
lines changed

3 files changed

+87
-3
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: 错误报告 🐞
2+
description: >-
3+
创建一个新的错误报告。对于一般性问题,请在 GitHub Discussion 中发布。
4+
title: "[Bug]: "
5+
labels:
6+
- 待分类
7+
- bug
8+
body:
9+
- type: input
10+
id: platform
11+
attributes:
12+
label: 相关平台
13+
validations:
14+
required: true
15+
- type: input
16+
id: library
17+
attributes:
18+
label: 小程序基础库版本
19+
description: 你可以在小程序开发者工具的「详情」中找到小程序基础库版本。
20+
validations:
21+
required: true
22+
- type: dropdown
23+
id: framework
24+
attributes:
25+
label: 使用框架
26+
options:
27+
- React
28+
- Preact
29+
- Vue 3
30+
- Vue 2
31+
validations:
32+
required: true
33+
- type: textarea
34+
id: description
35+
attributes:
36+
label: 问题描述
37+
validations:
38+
required: true
39+
- type: input
40+
id: repro-link
41+
attributes:
42+
label: 复现链接
43+
description: 请提供一个 GitHub 或其它代码托管平台仓库的链接。
44+
validations:
45+
required: true
46+
- type: textarea
47+
id: repro-steps
48+
attributes:
49+
label: 复现步骤
50+
description: 请提供复现问题的步骤。
51+
placeholder: >-
52+
1. Go to above link
53+
2. Click on '....'
54+
3. ...
55+
- type: textarea
56+
id: system
57+
attributes:
58+
label: 环境信息
59+
description: 运行 `npx taro info` 并将输出粘贴在下面。
60+
render: bash
61+
validations:
62+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: 新建一个新的 Issue
4-
url: https://taro-issue-pro.pf.jd.com
5-
about: 请点击 「Open」 按钮打开新链接创建 Issue
3+
- name: 社区支持
4+
url: https://github.com/orgs/community/discussions
5+
about: 其他问题请在 GitHub Discussion 中发布。
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 功能请求 🚀
2+
description: >-
3+
创建一个新的功能请求。对于一般性问题,请在 GitHub Discussion 中发布。
4+
title: "[Feat]: "
5+
labels:
6+
- 待分类
7+
- feature
8+
body:
9+
- type: textarea
10+
id: feature
11+
attributes:
12+
label: 功能描述
13+
description: 这个功能解决了什么问题?
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: details
18+
attributes:
19+
label: 实现细节
20+
description: 你希望如何实现这个功能?
21+
validations:
22+
required: true

0 commit comments

Comments
 (0)