Skip to content

Commit 454e905

Browse files
committed
chore: add issue forms
1 parent 86c2218 commit 454e905

File tree

5 files changed

+135
-0
lines changed

5 files changed

+135
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: "🐞 Bug Report"
2+
description: Create a bug report for Vue-ECharts
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thank you for taking the time to report this issue!
8+
- type: checkboxes
9+
id: confirmation
10+
attributes:
11+
description: Before submitting the issue, please make sure you did the following check.
12+
options:
13+
- label: I can confirm this problem is not reproducible with ECharts itself.
14+
required: true
15+
- type: dropdown
16+
id: integration
17+
attributes:
18+
label: How are you introducing Vue-ECharts into your project?
19+
options:
20+
- label: ES Module imports
21+
- label: "<script> tag"
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: versions
26+
attributes:
27+
label: Versions
28+
description: The output of `npm ls vue echarts vue-echarts`.
29+
render: sh
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: details
34+
attributes:
35+
label: Details
36+
description: A clear description about the bug.
37+
validations:
38+
required: true
39+
- type: input
40+
id: repro
41+
attributes:
42+
label: Reproduction
43+
description: "A link to a boiled-down reproduction (a minimal but runnable demo with unnecessary dependencies pruned). Please paste the link to your CodeSandbox demo below: ([Vue 3 template](https://codesandbox.io/s/charming-night-2y6m6?file=/src/App.vue) / [Vue 2 template](https://codesandbox.io/s/suspicious-glitter-mk66j?file=/src/App.vue))"
44+
validations:
45+
required: true
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: "🐞 Bug 报告"
2+
description: 给 Vue-ECharts 报告 bug
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
感谢您花时间报告这个问题!
8+
- type: checkboxes
9+
id: confirmation
10+
attributes:
11+
description: 在提交此问题前,请确认下述情况。
12+
options:
13+
- label: 我可以确认这个问题无法在 ECharts 项目本身中复现。
14+
required: true
15+
- type: dropdown
16+
id: integration
17+
attributes:
18+
label: 您是如何将 Vue-ECharts 引入项目的?
19+
options:
20+
- label: 通过 ES 模块 import
21+
- label: "<script> 标签"
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: versions
26+
attributes:
27+
label: 版本信息
28+
description: 在命令行执行 `npm ls vue echarts vue-echarts` 的输出。
29+
render: sh
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: details
34+
attributes:
35+
label: 问题详情
36+
description: 请清晰地描述您遇到的问题。
37+
validations:
38+
required: true
39+
- type: input
40+
id: repro
41+
attributes:
42+
label: 问题复现
43+
description: "请提供一个精炼的问题复现(去除无关依赖的最小化可运行 demo)。 Plea请在下方贴入在 CodeSandbox 上 demo 的链接:([Vue 3 模板](https://codesandbox.io/s/charming-night-2y6m6?file=/src/App.vue) / [Vue 2 模板](https://codesandbox.io/s/suspicious-glitter-mk66j?file=/src/App.vue))"
44+
validations:
45+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "✨ Feature Request"
2+
description: Create a feature request for Vue-ECharts
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thank you for taking the time to report this issue!
8+
- type: checkboxes
9+
id: confirmation
10+
attributes:
11+
label: Confirmation
12+
description: Before submitting the issue, please make sure you did the following check.
13+
options:
14+
- label: I can confirm this is a feature request for the Vue component instead of ECharts itself.
15+
required: true
16+
- type: textarea
17+
id: desc
18+
attributes:
19+
label: Details
20+
description: A clear description about the use case of the new feature and its potential API.
21+
validations:
22+
required: true
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "✨ 新功能建议"
2+
description: 给 Vue-ECharts 提交新功能建议
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
感谢您花时间报告这个问题!
8+
- type: checkboxes
9+
id: confirmation
10+
attributes:
11+
label: 提前确认
12+
description: 在提交此建议前,请确认下述情况。
13+
options:
14+
- label: 我可以确认这个新功能建议是提交给此 Vue 组件的,而不应该提交到 ECharts 项目本身。
15+
required: true
16+
- type: textarea
17+
id: details
18+
attributes:
19+
label: 新功能详情
20+
description: 请清晰地描述此功能的适用场景,以及可能的相关 API 的设想。
21+
validations:
22+
required: true

0 commit comments

Comments
 (0)