mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-23 11:57:40 +08:00
chore(gh): update GitHub templates
This commit is contained in:
8
.github/CONTRIBUTING.md
vendored
8
.github/CONTRIBUTING.md
vendored
@@ -43,11 +43,15 @@ At any time, you think it's ok, you can start the following steps to submit your
|
||||
|
||||
### Q & A
|
||||
|
||||
> I added a new document page, but it was not displayed locally?
|
||||
> How to choose the target branch of PR ?
|
||||
|
||||
- If this is a `feature`, set to `rc` branch. All the others are set to `master` branch.
|
||||
|
||||
> I added a new document page, but it was not displayed locally ?
|
||||
|
||||
- Run `yarn dev` agian.
|
||||
|
||||
> How can I update remote origin?
|
||||
> How can I update remote origin ?
|
||||
|
||||
- refer to [here](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes).
|
||||
|
||||
|
||||
11
.github/ISSUE_TEMPLATE/1-bug-report.md
vendored
11
.github/ISSUE_TEMPLATE/1-bug-report.md
vendored
@@ -3,14 +3,25 @@ name: "Bug report 🐞"
|
||||
about: "If something isn't working as expected 🤔."
|
||||
---
|
||||
|
||||
<!-- Please do NOT DELETE the template. -->
|
||||
<!-- No template issues will be closed. -->
|
||||
|
||||
# Bug report 🐞
|
||||
|
||||
## Version & Environment
|
||||
|
||||
- Version of browser
|
||||
- Version of `zeit-ui/react`
|
||||
|
||||
## Expection
|
||||
|
||||
The behavior I expect is ...
|
||||
|
||||
## Actual results (or Errors)
|
||||
|
||||
I got an error:
|
||||
|
||||
```
|
||||
code
|
||||
```
|
||||
|
||||
|
||||
24
.github/ISSUE_TEMPLATE/2-feature-request.md
vendored
24
.github/ISSUE_TEMPLATE/2-feature-request.md
vendored
@@ -3,19 +3,23 @@ name: "Feature request 🚀"
|
||||
about: "I have a suggestion!"
|
||||
---
|
||||
|
||||
<!-- Please do NOT DELETE the template. -->
|
||||
<!-- No template issues will be closed. -->
|
||||
|
||||
# Feature request 🚀
|
||||
|
||||
### Expected:
|
||||
- No breaking changes
|
||||
- [ ] I will create Pull Request
|
||||
- [x] It's just a suggestion
|
||||
|
||||
### Examples:
|
||||
```js
|
||||
### Expected
|
||||
|
||||
- Component or something else
|
||||
|
||||
### Examples
|
||||
|
||||
```jsx
|
||||
```
|
||||
|
||||
### Programme:
|
||||
|
||||
### Others:
|
||||
|
||||
|
||||
|
||||
### Programme (Optional)
|
||||
|
||||
### Others (Optional)
|
||||
|
||||
22
.github/ISSUE_TEMPLATE/3-docs.md
vendored
Normal file
22
.github/ISSUE_TEMPLATE/3-docs.md
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: "About `docs` 🛠️"
|
||||
about: "Issues and feature requests for docs"
|
||||
---
|
||||
|
||||
<!-- Please do NOT DELETE the template. -->
|
||||
<!-- No template issues will be closed. -->
|
||||
|
||||
# About `docs`
|
||||
|
||||
This is a document site related issue.
|
||||
|
||||
### Languages
|
||||
|
||||
- [x] English
|
||||
- [ ] Chinese
|
||||
|
||||
### Description
|
||||
|
||||
|
||||
### Page Links (Optional)
|
||||
|
||||
8
.github/ISSUE_TEMPLATE/3-styles.md
vendored
8
.github/ISSUE_TEMPLATE/3-styles.md
vendored
@@ -1,8 +0,0 @@
|
||||
---
|
||||
name: "About `styles` 🛠️"
|
||||
about: "Issues and feature requests for styles"
|
||||
---
|
||||
|
||||
# About `styles` 🛠️
|
||||
|
||||
|
||||
7
.github/ISSUE_TEMPLATE/4-docs.md
vendored
7
.github/ISSUE_TEMPLATE/4-docs.md
vendored
@@ -1,7 +0,0 @@
|
||||
---
|
||||
name: "About `docs` 🛠️"
|
||||
about: "Issues and feature requests for docs"
|
||||
---
|
||||
|
||||
# About `docs`
|
||||
|
||||
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,9 +1,7 @@
|
||||
## PR Checklist
|
||||
## Checklist
|
||||
|
||||
- [ ] Fix linting errors
|
||||
- [ ] Label has been added
|
||||
|
||||
|
||||
## Change information
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user