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