mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
chore: using new issue template (#9822)
This commit is contained in:
parent
71c51030ec
commit
8c7d301526
11
.github/ISSUE_TEMPLATE.md
vendored
11
.github/ISSUE_TEMPLATE.md
vendored
@ -1,11 +0,0 @@
|
||||
请使用下面的链接创建 issue 以帮助我们更快的排查问题,不规范的 issue 会被关闭,感谢配合。
|
||||
|
||||
http://vant-contrib.gitee.io/vant-issue-generater
|
||||
|
||||
如果遇到了用法上的问题或想法,建议在 [Discussions 讨论区](https://github.com/youzan/vant/discussions) 发帖进行讨论。
|
||||
|
||||
---
|
||||
|
||||
Please use the link below to create a new issue, the non-standard issue will be closed.
|
||||
|
||||
https://youzan.github.io/vant-issue-generater
|
1
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
1
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@ -0,0 +1 @@
|
||||
blank_issues_enabled: true
|
56
.github/ISSUE_TEMPLATE/template-1-bug-report-vant.zh-CN.yml
vendored
Normal file
56
.github/ISSUE_TEMPLATE/template-1-bug-report-vant.zh-CN.yml
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
name: 我要反馈 Vant 的 Bug
|
||||
description: 通过标准模板进行 Bug 反馈。
|
||||
title: "[Bug Report] 在此填写标题"
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
在提交 Bug 报告前,请注意:
|
||||
|
||||
- 确认你的问题无法通过官方文档得到解决。
|
||||
- 确认你搜索过 [历史 issue](https://github.com/youzan/vant/issues),并且没有发现同样的问题。
|
||||
- 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/youzan/vant/discussions) 发帖。
|
||||
|
||||
- type: input
|
||||
id: reproduce
|
||||
attributes:
|
||||
label: 重现链接
|
||||
description: 请提供一个尽可能简单的 [codesandbox](https://codesandbox.io/s/m5v3f) 或 GitHub 仓库链接。不要填写无效的链接,这会导致你的 issue 被直接关闭。
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Vant 版本
|
||||
description: 你正在使用的 Vant 版本是多少?(请填写 node_modules/vant/package.json 里实际安装的版本)
|
||||
placeholder: 比如 3.2.0
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: 描述一下你遇到的问题。
|
||||
placeholder: 比如:弹窗无法展示、日历组件报错
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: reproduce-steps
|
||||
attributes:
|
||||
label: 重现步骤
|
||||
description: 请提供一个最简单的操作步骤,方便我们快速重现问题。
|
||||
placeholder: |
|
||||
比如:
|
||||
1. 点击按钮
|
||||
2. 弹窗无法展示
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: browsers
|
||||
attributes:
|
||||
label: 设备/浏览器
|
||||
description: 在哪些设备/浏览器上能重现这个问题?
|
51
.github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml
vendored
Normal file
51
.github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
name: 我要反馈 Vant Cli 的 Bug
|
||||
description: 通过标准模板进行 Bug 反馈。
|
||||
title: "[Bug Report] 在此填写标题"
|
||||
labels: ["bug", "cli"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
在提交 Bug 报告前,请注意:
|
||||
|
||||
- 确认你的问题无法通过官方文档得到解决。
|
||||
- 确认你搜索过 [历史 issue](https://github.com/youzan/vant/issues),并且没有发现同样的问题。
|
||||
- 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/youzan/vant/discussions) 发帖。
|
||||
|
||||
- type: input
|
||||
id: reproduce
|
||||
attributes:
|
||||
label: 重现链接
|
||||
description: 请提供一个尽可能简单的 [codesandbox](https://codesandbox.io/s/m5v3f) 或 GitHub 仓库链接。不要填写无效的链接,这会导致你的 issue 被直接关闭。
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Vant Cli 版本
|
||||
description: 你正在使用的 Vant Cli 版本是多少?(请填写 node_modules/@vant/cli/package.json 里实际安装的版本)
|
||||
placeholder: 比如 3.2.0
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: 描述一下你遇到的问题。
|
||||
placeholder: 比如:组件构建失败
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: reproduce-steps
|
||||
attributes:
|
||||
label: 重现步骤
|
||||
description: 请提供一个最简单的操作步骤,方便我们快速重现问题。
|
||||
placeholder: |
|
||||
比如:
|
||||
1. 克隆仓库
|
||||
2. 运行 yarn build
|
||||
3. 组件构建失败
|
||||
validations:
|
||||
required: true
|
33
.github/ISSUE_TEMPLATE/template-3-feature-request-vant.zh-CN.yml
vendored
Normal file
33
.github/ISSUE_TEMPLATE/template-3-feature-request-vant.zh-CN.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
name: 我想要一个 Vant 的新功能
|
||||
description: 通过标准模板描述一下你的功能需求。
|
||||
title: "[Feature Request] 在此填写标题"
|
||||
labels: ["feature"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
在提交功能需求前,请注意:
|
||||
|
||||
- 确认这是一个通用功能,并且无法通过现有的 API 或 Slot 实现。
|
||||
- 确认你搜索过 [历史 issue](https://github.com/youzan/vant/issues),并且没有发现同样的需求。
|
||||
- 可以先到 [Discussions 讨论区](https://github.com/youzan/vant/discussions) 发帖,讨论一下需求是否合理。
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: 这个功能解决了什么问题?
|
||||
description: 请尽可能详细地说明这个功能的使用场景。
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: api
|
||||
attributes:
|
||||
label: 你期望的 API 是什么样子的?
|
||||
description: 描述一下这个新功能的 API,并提供一些代码示例。
|
||||
placeholder: |
|
||||
```xml
|
||||
<van-button some-prop="xxx" />
|
||||
```
|
||||
validations:
|
||||
required: true
|
29
.github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml
vendored
Normal file
29
.github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: 我想要一个 Vant Cli 的新功能
|
||||
description: 通过标准模板描述一下你的功能需求。
|
||||
title: "[Feature Request] 在此填写标题"
|
||||
labels: ["feature", "cli"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
在提交功能需求前,请注意:
|
||||
|
||||
- 确认这是一个通用功能,并且无法通过现有的 API 实现。
|
||||
- 确认你搜索过 [历史 issue](https://github.com/youzan/vant/issues),并且没有发现同样的需求。
|
||||
- 可以先到 [Discussions 讨论区](https://github.com/youzan/vant/discussions) 发帖,讨论一下需求是否合理。
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: 这个功能解决了什么问题?
|
||||
description: 请尽可能详细地说明这个功能的使用场景。
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: api
|
||||
attributes:
|
||||
label: 你期望的 API 是什么样子的?
|
||||
description: 描述一下这个新功能的 API,并提供一些代码示例。
|
||||
validations:
|
||||
required: true
|
40
.github/ISSUE_TEMPLATE/template-5-bug-report-vant.en-US.yml
vendored
Normal file
40
.github/ISSUE_TEMPLATE/template-5-bug-report-vant.en-US.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: Bug Report
|
||||
description: Use issue template to report a bug.
|
||||
title: "[Bug Report] Title"
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: input
|
||||
id: reproduce
|
||||
attributes:
|
||||
label: Reproduction Link
|
||||
description: Please provide a simple [codesandbox](https://codesandbox.io/s/m5v3f) or GitHub repository link. Do not fill in invalid links, this will cause your issue to be closed directly.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Vant Version
|
||||
description: Please fill in the version actually installed in node_modules/vant/package.json
|
||||
placeholder: E.g. 3.2.0
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Describe the Bug
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: reproduce-steps
|
||||
attributes:
|
||||
label: Reproduce Steps
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: browsers
|
||||
attributes:
|
||||
label: Device / Browser
|
23
.github/ISSUE_TEMPLATE/template-6-feature-request-vant.en-US.yml
vendored
Normal file
23
.github/ISSUE_TEMPLATE/template-6-feature-request-vant.en-US.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Feature Request
|
||||
description: Use issue template to request a new feature.
|
||||
title: "[Feature Request] Title"
|
||||
labels: ["feature"]
|
||||
body:
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: What problem does this feature solve?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: api
|
||||
attributes:
|
||||
label: What does the proposed API look like?
|
||||
description: Describe the new API, provide some code examples.
|
||||
placeholder: |
|
||||
```xml
|
||||
<van-button some-prop="xxx" />
|
||||
```
|
||||
validations:
|
||||
required: true
|
Loading…
x
Reference in New Issue
Block a user