-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from VisActor/feat-github-actions
feat: add pr and issue template
- Loading branch information
Showing
6 changed files
with
322 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
name: Bug Report | ||
description: Report a bug to @VisActor/VChart | ||
title: '[Bug] ' | ||
labels: [bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
The issue list is reserved exclusively for bug reports and feature requests. | ||
For usage questions, please use the following resources: | ||
- Read the [docs](https://www.visactor.io/) | ||
- Find in [examples](https://www.visactor.io/) | ||
- Look for / ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/visactor) | ||
For non-technical support or general questions, you can email [xuanhun521@126.com](mailto:xuanhun521@126.com). | ||
Also try to search for your issue - it may have already been answered or even fixed in the development branch. However, if you find that an old, closed issue still persists in the latest version, you should open a new issue using the form below instead of commenting on the old issue. | ||
# - type: checkboxes | ||
# attributes: | ||
# label: Is there an existing issue for this? | ||
# description: Please search to see if an issue already exists for the bug you encountered. | ||
# options: | ||
# - label: I have searched the existing issues | ||
# required: true | ||
|
||
- type: input | ||
attributes: | ||
label: Version | ||
description: | | ||
Check if the issue is reproducible with the latest stable version of @VisActor/VChart. | ||
placeholder: | | ||
e.g. 1.0.0 | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: Link to Minimal Reproduction | ||
description: | | ||
If the reproduction does not need a build setup, please provide a link to [JSFiddle](https://jsfiddle.net/pfv0azuc/4/),[CodePen](https://codepen.io/kkxxkk2019/pen/KKrMRqa) or [CodeSandbox](https://codesandbox.io/s/the-template-of-visactor-vchart-vl84ww). If it requires a build setup, you can use [CodeSandbox](https://codesandbox.io/s/the-template-of-visactor-vchart-vl84ww) or provide a GitHub repo. | ||
The reproduction should be **minimal** - i.e. it should contain only the bare minimum amount of code needed to show the bug. | ||
Please do not just fill in a random link. The issue will be closed if no valid reproduction is provided. [Why?](https://antfu.me/posts/why-reproductions-are-required) | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Steps to Reproduce | ||
description: | | ||
What do we need to do after opening your repo in order to make the bug happen? Clear and concise reproduction instructions are important for us to be able to triage your issue in a timely manner. Note that you can use [Markdown](https://guides.github.com/features/mastering-markdown/) to format lists and code. | ||
placeholder: | | ||
1. How do you create the view | ||
2. What's the spec of view | ||
3. User interactions before the error happens. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Current Behavior | ||
description: A concise description of what you're experiencing. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: A concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Environment | ||
description: | | ||
e.g. | ||
- **OS**: macOS Monterey | ||
- **Browser**: Chrome 96.0.4664.55 | ||
- **Framework** Vue@3 | ||
value: | | ||
- OS: | ||
- Browser: | ||
- Framework: | ||
render: markdown | ||
|
||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: Any additional comments? | ||
description: | | ||
e.g. some background/context of how you ran into this bug. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
# contact_links: | ||
# - name: @VisaActor/VChart | ||
# url: https://www.visactor.io/ | ||
# about: Please search question here before opening a new issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Feature Request | ||
description: Request a new feature from @VisActor/VChart | ||
title: '[Feature] ' | ||
labels: [new-feature] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
The issue list is reserved exclusively for bug reports and feature requests. | ||
For usage questions, please use the following resources: | ||
- Read the [docs](https://www.visactor.io/) | ||
- Find in [examples](https://www.visactor.io//) | ||
- Look for / ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/visactors) | ||
For non-technical support or general questions, you can email [xuanhun521@126.com](mailto:xuanhun521@126.com). | ||
Also try to search for your issue - it may have already been answered or even fixed in the development branch. However, if you find that an old, closed issue still persists in the latest version, you should open a new issue using the form below instead of commenting on the old issue. | ||
- type: textarea | ||
attributes: | ||
label: What problem does this feature solve? | ||
description: | | ||
Explain your use case, context, and rationale behind this feature request. More importantly, what is the end user experience you are trying to build that led to the need for this feature? | ||
An important design goal of @VisActor/VChart is keeping the API surface small and straightforward. In general, we only consider adding new features that solve a problem that cannot be easily dealt with using existing APIs (i.e. not just an alternative way of doing things that can already be done). The problem should also be common enough to justify the addition. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: What does the proposed API look like? | ||
description: Describe how you propose to solve the problem and provide code samples of how the API would work once implemented. Note that you can use [Markdown](https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) to format your code blocks. | ||
|
||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
name: Others | ||
about: Describe this issue's purpose here. | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<!-- | ||
First of all, thank you for your contribution! 😄 | ||
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `main` branch. | ||
Before submitting your pull request, please make sure the checklist below is confirmed. | ||
Your pull requests will be merged after one of the collaborators approve. | ||
Thank you! | ||
--> | ||
|
||
[[中文版模板 / Chinese template](https://github.com/VisActor/VChart/blob/main/.github/PULL_REQUEST_TEMPLATE/pr_cn.md?plain=1)] | ||
|
||
### 🤔 This is a ... | ||
|
||
- [ ] New feature | ||
- [ ] Bug fix | ||
- [ ] TypeScript definition update | ||
- [ ] Bundle size optimization | ||
- [ ] Performance optimization | ||
- [ ] Enhancement feature | ||
- [ ] Refactoring | ||
- [ ] Update dependency | ||
- [ ] Code style optimization | ||
- [ ] Test Case | ||
- [ ] Branch merge | ||
- [ ] Release | ||
- [ ] Site / documentation update | ||
- [ ] Demo update | ||
- [ ] Workflow | ||
- [ ] Other (about what?) | ||
|
||
### 🔗 Related issue link | ||
|
||
<!-- | ||
1. Put the related issue or discussion links here. | ||
2. close #xxxx or fix #xxxx for instance. | ||
--> | ||
|
||
### 🔗 Related PR link | ||
|
||
<!-- Put the related PR links here. --> | ||
|
||
### 🐞 Bugserver case id | ||
|
||
<!-- paste the `fileid` field in the bugserver case url --> | ||
|
||
### 💡 Background and solution | ||
|
||
<!-- | ||
1. Describe the problem and the scenario. | ||
2. GIF or snapshot should be provided if includes UI/interactive modification. | ||
3. How to fix the problem, and list the final API implementation and usage sample if that is a new feature. | ||
--> | ||
|
||
### 📝 Changelog | ||
|
||
<!-- | ||
Describe changes from the user side, and list all potential break changes or other risks. | ||
---> | ||
|
||
| Language | Changelog | | ||
| ---------- | --------- | | ||
| 🇺🇸 English | | | ||
| 🇨🇳 Chinese | | | ||
|
||
### ☑️ Self-Check before Merge | ||
|
||
⚠️ Please check all items below before requesting a reviewing. ⚠️ | ||
|
||
- [ ] Doc is updated/provided or not needed | ||
- [ ] Demo is updated/provided or not needed | ||
- [ ] TypeScript definition is updated/provided or not needed | ||
- [ ] Changelog is provided or not needed | ||
|
||
--- | ||
|
||
<!-- | ||
Below are template for copilot to generate CR message. | ||
Please DO NOT modify it. | ||
--> | ||
|
||
### 🚀 Summary | ||
|
||
copilot:summary | ||
|
||
### 🔍 Walkthrough | ||
|
||
copilot:walkthrough |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<!-- | ||
首先,感谢您参与代码贡献! 😄 | ||
为了提交新的功能或修改,请在主分支`main`分支上拉取开发分支 。 | ||
在提交PR 之前,请确认下面列到的一些内容 | ||
你的PR在核心成员review后,合并到主分支 | ||
谢谢! | ||
--> | ||
|
||
### 🤔 这个分支是... | ||
|
||
- [ ] 新功能 | ||
- [ ] Bug fix | ||
- [ ] Ts 类型更新 | ||
- [ ] 打包优化 | ||
- [ ] 性能优化 | ||
- [ ] 功能增强 | ||
- [ ] 重构 | ||
- [ ] 依赖版本更新 | ||
- [ ] 代码优化 | ||
- [ ] 测试 case 更新 | ||
- [ ] 分支合并 | ||
- [ ] 发布 | ||
- [ ] 网站/文档更新 | ||
- [ ] demo 更新 | ||
- [ ] Workflow | ||
- [ ] 其他 (具体是什么,请补充?) | ||
|
||
### 🔗 相关 issue 链接 | ||
|
||
<!-- | ||
1. 相关的issue或者讨论,请贴在这里. | ||
2. close #xxxx or fix #xxxx for instance. | ||
--> | ||
|
||
### 🔗 相关的 PR 链接 | ||
|
||
<!-- 如果有关联的其他项目 PR,请贴在这里 --> | ||
|
||
### 🐞 Bugserver 用例 id | ||
|
||
<!-- 将 bugserver case 上的 `fileid` 字段值黏贴过来 --> | ||
|
||
### 💡 问题的背景&解决方案 | ||
|
||
<!-- | ||
1. 描述问题和场景 | ||
2. 如果包含UI/交互相关的修改,请提供GIF或者截图 | ||
3. 提供如何解决问题的,如果是开发新的功能,请提供最终的API实现和使用案例 | ||
--> | ||
|
||
### 📝 Changelog | ||
|
||
<!-- | ||
描述用户侧的修改,并列出所有可能的新功能、修改、以及风险 | ||
---> | ||
|
||
| Language | Changelog | | ||
| ---------- | --------- | | ||
| 🇺🇸 English | | | ||
| 🇨🇳 Chinese | | | ||
|
||
### ☑️ 自测 | ||
|
||
⚠️ 在提交 PR 之前,请检查一下内容. ⚠️ | ||
|
||
- [ ] 文档提供了,或者更新,或者不需要 | ||
- [ ] Demo 提供了,或者更新,或者不需要 | ||
- [ ] Ts 类型定义提供了,或者更新,或者不需要 | ||
- [ ] Changelog 提供了,或者不需要 | ||
|
||
--- | ||
|
||
<!-- | ||
Below are template for copilot to generate CR message. | ||
Please DO NOT modify it. | ||
--> | ||
|
||
### 🚀 Summary | ||
|
||
copilot:summary | ||
|
||
### 🔍 Walkthrough | ||
|
||
copilot:walkthrough |