chore: add issue forms

This commit is contained in:
Justineo
2021-06-29 12:02:25 +08:00
parent 86c22186cc
commit 454e9056fa
5 changed files with 135 additions and 0 deletions

View File

@ -0,0 +1,45 @@
name: "🐞 Bug Report"
description: Create a bug report for Vue-ECharts
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to report this issue!
- type: checkboxes
id: confirmation
attributes:
description: Before submitting the issue, please make sure you did the following check.
options:
- label: I can confirm this problem is not reproducible with ECharts itself.
required: true
- type: dropdown
id: integration
attributes:
label: How are you introducing Vue-ECharts into your project?
options:
- label: ES Module imports
- label: "<script> tag"
validations:
required: true
- type: textarea
id: versions
attributes:
label: Versions
description: The output of `npm ls vue echarts vue-echarts`.
render: sh
validations:
required: true
- type: textarea
id: details
attributes:
label: Details
description: A clear description about the bug.
validations:
required: true
- type: input
id: repro
attributes:
label: Reproduction
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))"
validations:
required: true

View File

@ -0,0 +1,45 @@
name: "🐞 Bug 报告"
description: 给 Vue-ECharts 报告 bug
body:
- type: markdown
attributes:
value: |
感谢您花时间报告这个问题!
- type: checkboxes
id: confirmation
attributes:
description: 在提交此问题前,请确认下述情况。
options:
- label: 我可以确认这个问题无法在 ECharts 项目本身中复现。
required: true
- type: dropdown
id: integration
attributes:
label: 您是如何将 Vue-ECharts 引入项目的?
options:
- label: 通过 ES 模块 import
- label: "<script> 标签"
validations:
required: true
- type: textarea
id: versions
attributes:
label: 版本信息
description: 在命令行执行 `npm ls vue echarts vue-echarts` 的输出。
render: sh
validations:
required: true
- type: textarea
id: details
attributes:
label: 问题详情
description: 请清晰地描述您遇到的问题。
validations:
required: true
- type: input
id: repro
attributes:
label: 问题复现
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)"
validations:
required: true

1
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1 @@
blank_issues_enabled: false

View File

@ -0,0 +1,22 @@
name: "✨ Feature Request"
description: Create a feature request for Vue-ECharts
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to report this issue!
- type: checkboxes
id: confirmation
attributes:
label: Confirmation
description: Before submitting the issue, please make sure you did the following check.
options:
- label: I can confirm this is a feature request for the Vue component instead of ECharts itself.
required: true
- type: textarea
id: desc
attributes:
label: Details
description: A clear description about the use case of the new feature and its potential API.
validations:
required: true

View File

@ -0,0 +1,22 @@
name: "✨ 新功能建议"
description: 给 Vue-ECharts 提交新功能建议
body:
- type: markdown
attributes:
value: |
感谢您花时间报告这个问题!
- type: checkboxes
id: confirmation
attributes:
label: 提前确认
description: 在提交此建议前,请确认下述情况。
options:
- label: 我可以确认这个新功能建议是提交给此 Vue 组件的,而不应该提交到 ECharts 项目本身。
required: true
- type: textarea
id: details
attributes:
label: 新功能详情
description: 请清晰地描述此功能的适用场景,以及可能的相关 API 的设想。
validations:
required: true