Skip to content

Commit 2f182d8

Browse files
authored
Merge pull request #565 from KamToHung/master
Optimize issue template
2 parents cd5b9bb + eb1d308 commit 2f182d8

File tree

6 files changed

+182
-66
lines changed

6 files changed

+182
-66
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
name: BUG 报告
2+
description: 'Report a bug'
3+
title: '[BUG]: '
4+
labels: ['bug']
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
**首先感谢您使用 DynamicTp,如果使用过程中有任何问题,请按照下述模板反馈问题,请使用 Markdown 语法**。
10+
11+
- type: dropdown
12+
id: platform
13+
attributes:
14+
label: 平台
15+
description: 您正在使用哪个平台?
16+
options:
17+
- Windows
18+
- macOS
19+
- Linux
20+
validations:
21+
required: true
22+
23+
- type: input
24+
id: jdk-version
25+
attributes:
26+
label: Jdk版本
27+
placeholder: 例如:JDK 8, JDK 11
28+
description: 您正在使用哪个 JDK 版本?
29+
validations:
30+
required: true
31+
32+
- type: input
33+
id: springboot-version
34+
attributes:
35+
label: SpringBoot版本
36+
placeholder: 例如:2.6.3
37+
description: 您正在使用哪个 SpringBoot 版本?
38+
validations:
39+
required: true
40+
41+
- type: input
42+
id: dynamictp-version
43+
attributes:
44+
label: DynamicTp版本
45+
placeholder: 例如:1.0.0
46+
description: 您正在使用哪个 dynamic-tp 版本?
47+
validations:
48+
required: true
49+
50+
- type: input
51+
id: config-center-type
52+
attributes:
53+
label: 配置中心类型
54+
placeholder: 例如:Nacos, Apollo
55+
description: 您正在使用哪个配置中心?
56+
validations:
57+
required: false
58+
59+
- type: input
60+
id: config-center-version
61+
attributes:
62+
label: 配置中心版本
63+
placeholder: 例如:2.0.0
64+
description: 您正在使用哪个配置中心版本?
65+
validations:
66+
required: false
67+
68+
- type: textarea
69+
id: problem-description
70+
attributes:
71+
label: 问题描述
72+
description: 文字描述、截图、粘代码方式
73+
placeholder: |
74+
文字描述、截图、粘代码方式
75+
76+
- 配置文件:
77+
- 引入的依赖:
78+
- 代码使用步骤:
79+
- 报错信息:
80+
- 猜测可能原因:
81+
validations:
82+
required: true
83+
84+
- type: textarea
85+
id: reproduction-steps
86+
attributes:
87+
label: 复现步骤
88+
description: 请详细描述如何复现此问题
89+
placeholder: |
90+
1. xxx
91+
2. xxx
92+
validations:
93+
required: true
94+
95+
- type: textarea
96+
id: additional-info
97+
attributes:
98+
label: 其他信息
99+
description: 其他有助于解决问题的信息
100+
validations:
101+
required: false

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: idea 建议
2+
description: 'Suggest an idea'
3+
title: '[FEATURE]: '
4+
labels: ['feature']
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
**首先感谢您使用 DynamicTp,如果对项目有好的想法建议,请按照下述模板提议讨论,请使用 Markdown 语法**。
10+
11+
- type: textarea
12+
id: solution-description
13+
attributes:
14+
label: 方案描述
15+
description: 请详细描述您的建议方案
16+
placeholder: 详细描述您的建议方案...
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: application-scenario
22+
attributes:
23+
label: 应用场景
24+
description: 此功能适用的场景
25+
placeholder: 描述此功能适用的场景...
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: difficulty-risk
31+
attributes:
32+
label: 难度风险
33+
description: 实现此功能可能的难度和风险
34+
placeholder: 描述实现此功能可能的难度和风险...
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: external-dependencies
40+
attributes:
41+
label: 外部依赖
42+
description: 实现此功能需要的外部依赖
43+
placeholder: 描述实现此功能需要的外部依赖...
44+
validations:
45+
required: true

.github/ISSUE_TEMPLATE/question-ask.md

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: 疑问解答
2+
description: 'Ask a question'
3+
title: '[QUESTION]: '
4+
labels: ['question']
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
**首先感谢您使用 DynamicTp,如果对项目有任何疑问需要解答,请按照下述模板提问,请使用 Markdown 语法**。
10+
11+
- type: textarea
12+
id: usage-questions
13+
attributes:
14+
label: 使用方面
15+
description: 关于项目使用方面的疑问
16+
placeholder: 描述您关于项目使用方面的疑问...
17+
validations:
18+
required: false
19+
20+
- type: textarea
21+
id: principle-questions
22+
attributes:
23+
label: 原理方面
24+
description: 关于项目原理方面的疑问
25+
placeholder: 描述您关于项目原理方面的疑问...
26+
validations:
27+
required: false
28+
29+
- type: textarea
30+
id: other-questions
31+
attributes:
32+
label: 其他
33+
description: 其他方面的疑问
34+
placeholder: 描述您的其他方面疑问...
35+
validations:
36+
required: false

0 commit comments

Comments
 (0)