chore: update github templates
This commit is contained in:
50
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
50
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -1,61 +1,59 @@
|
|||||||
name: Bug Report
|
name: Bug Report
|
||||||
description: Report a bug
|
description: Report a bug
|
||||||
title: '[Bug] '
|
title: '[Bug] '
|
||||||
labels: ['bug']
|
type: Bug
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for your interest in improving the project! Before submitting, please read our guidelines.
|
Thanks for your interest in improving the project! Before submitting, please search for existing issues.
|
||||||
感谢您对改进项目的兴趣!提交前请阅读我们的指南。
|
感谢参与我们的社区!请先搜索现有 Issue,避免重复提交。
|
||||||
|
|
||||||
- [Code of Conduct](https://github.com/alibaba/page-agent/blob/main/docs/CODE_OF_CONDUCT.md)
|
- [Code of Conduct](https://github.com/alibaba/page-agent/blob/main/docs/CODE_OF_CONDUCT.md)
|
||||||
- [Contributing Guide](https://github.com/alibaba/page-agent/blob/main/CONTRIBUTING.md)
|
- [Contributing Guide](https://github.com/alibaba/page-agent/blob/main/CONTRIBUTING.md)
|
||||||
|
|
||||||
|
> 为了让更多人参与讨论,请尽量使用英文提交 Issue,感谢理解 🙏
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
label: What happened?
|
label: What happened? / 问题描述
|
||||||
placeholder: Describe the bug and expected behavior
|
description: Describe what you expected vs what actually happened.
|
||||||
|
placeholder: 'A clear description of the bug.'
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: code
|
id: reproduction
|
||||||
attributes:
|
attributes:
|
||||||
label: Code
|
label: How to reproduce / 如何复现
|
||||||
render: typescript
|
description: Provide steps, URL, config or code snippet to reproduce the bug.
|
||||||
placeholder: Minimal reproduction code
|
placeholder: '1. Open URL: https://...'
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: true
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: Version
|
||||||
|
placeholder: '0.0.0'
|
||||||
|
|
||||||
- type: input
|
- type: input
|
||||||
id: browser
|
id: browser
|
||||||
attributes:
|
attributes:
|
||||||
label: Browser
|
label: Browser
|
||||||
placeholder: 'Chrome 120, Firefox 119, etc.'
|
placeholder: 'e.g. Chrome 130'
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: version
|
|
||||||
attributes:
|
|
||||||
label: version
|
|
||||||
placeholder: '0.0.0'
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
id: community
|
id: checklist
|
||||||
attributes:
|
attributes:
|
||||||
label: Community Communication / 社区沟通
|
label: Before submitting
|
||||||
description: Confirm you will communicate respectfully and constructively / 确认将以礼貌、建设性的方式沟通
|
|
||||||
options:
|
options:
|
||||||
- label: I will be polite and respectful. / 我会保持礼貌与尊重。
|
- label: I will be polite and respectful. / 我会保持礼貌与尊重。
|
||||||
required: true
|
required: true
|
||||||
- label: I will share constructive, actionable suggestions. / 我会提供建设性、可行动的建议。
|
|
||||||
required: true
|
|
||||||
- label: I have read the Code of Conduct. / 我已阅读行为准则。
|
- label: I have read the Code of Conduct. / 我已阅读行为准则。
|
||||||
required: true
|
required: true
|
||||||
|
- label: I have searched existing issues and this is not a duplicate.
|
||||||
|
required: true
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
23
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
23
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@@ -1,32 +1,28 @@
|
|||||||
name: Feature Request
|
name: Feature Request
|
||||||
description: Suggest a feature
|
description: Suggest a feature
|
||||||
title: '[Feature] '
|
title: '[Feature] '
|
||||||
labels: ['enhancement']
|
type: Feature
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for your interest in improving the project! Before submitting, please read our guidelines.
|
Thanks for your interest in improving the project! Before submitting, please search for existing issues.
|
||||||
感谢您对改进项目的兴趣!提交前请阅读我们的指南。
|
感谢参与我们的社区!请先搜索现有 Issue,避免重复提交。
|
||||||
|
|
||||||
- [Code of Conduct](https://github.com/alibaba/page-agent/blob/main/docs/CODE_OF_CONDUCT.md)
|
- [Code of Conduct](https://github.com/alibaba/page-agent/blob/main/docs/CODE_OF_CONDUCT.md)
|
||||||
- [Contributing Guide](https://github.com/alibaba/page-agent/blob/main/CONTRIBUTING.md)
|
- [Contributing Guide](https://github.com/alibaba/page-agent/blob/main/CONTRIBUTING.md)
|
||||||
|
|
||||||
|
> 为了让更多人参与讨论,请尽量使用英文提交 Issue,感谢理解 🙏
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
label: Feature Description / 功能描述
|
label: Feature Description / 功能描述
|
||||||
description: Describe the problem, solution, and any API changes. / 描述问题、解决方案以及 API 变更。
|
description: Describe the problem, solution, and any API changes.
|
||||||
placeholder: |
|
placeholder: |
|
||||||
**Problem**:
|
**Problem**:
|
||||||
What problem does this solve?
|
|
||||||
|
|
||||||
**Solution**:
|
**Solution**:
|
||||||
How should this work?
|
|
||||||
|
|
||||||
**Proposed API**:
|
**Proposed API**:
|
||||||
```typescript
|
|
||||||
// code here
|
|
||||||
```
|
```
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
@@ -34,14 +30,13 @@ body:
|
|||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
id: community
|
id: community
|
||||||
attributes:
|
attributes:
|
||||||
label: Community Communication / 社区沟通
|
label: Before submitting
|
||||||
description: Confirm you will communicate respectfully and constructively / 确认将以礼貌、建设性的方式沟通
|
|
||||||
options:
|
options:
|
||||||
- label: I will be polite and respectful. / 我会保持礼貌与尊重。
|
- label: I will be polite and respectful. / 我会保持礼貌与尊重。
|
||||||
required: true
|
required: true
|
||||||
- label: I will share constructive, actionable suggestions. / 我会提供建设性、可行动的建议。
|
|
||||||
required: true
|
|
||||||
- label: I have read the CODE_OF_CONDUCT.md and CONTRIBUTING.md. / 我已阅读行为准则。
|
- label: I have read the CODE_OF_CONDUCT.md and CONTRIBUTING.md. / 我已阅读行为准则。
|
||||||
required: true
|
required: true
|
||||||
|
- label: I have searched existing issues and this is not a duplicate.
|
||||||
|
required: true
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
12
.github/PULL_REQUEST_TEMPLATE.md
vendored
12
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
Brief description of changes.
|
Brief description of changes.
|
||||||
|
|
||||||
|
Closes #(issue)
|
||||||
|
|
||||||
## Type
|
## Type
|
||||||
|
|
||||||
|
- [ ] Breaking change
|
||||||
- [ ] Bug fix
|
- [ ] Bug fix
|
||||||
- [ ] Feature / Improvement
|
- [ ] Feature / Improvement
|
||||||
- [ ] Refactor
|
- [ ] Refactor / Chores
|
||||||
- [ ] Documentation
|
- [ ] Documentation / Website / Demo / Testing
|
||||||
- [ ] Website
|
|
||||||
- [ ] Demo / Testing
|
|
||||||
- [ ] Breaking change
|
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
@@ -18,8 +18,6 @@ Brief description of changes.
|
|||||||
- [ ] No console errors
|
- [ ] No console errors
|
||||||
- [ ] Types/doc added
|
- [ ] Types/doc added
|
||||||
|
|
||||||
Closes #(issue)
|
|
||||||
|
|
||||||
## Requirements / 要求
|
## Requirements / 要求
|
||||||
|
|
||||||
- [ ] I have read and follow the [Code of Conduct](../docs/CODE_OF_CONDUCT.md) and [Contributing Guide](../CONTRIBUTING.md) . / 我已阅读并遵守行为准则。
|
- [ ] I have read and follow the [Code of Conduct](../docs/CODE_OF_CONDUCT.md) and [Contributing Guide](../CONTRIBUTING.md) . / 我已阅读并遵守行为准则。
|
||||||
|
|||||||
Reference in New Issue
Block a user