chore: update issue templates

This commit is contained in:
Simon
2025-11-25 19:46:18 +08:00
parent 6e7619760f
commit a1dfe879c1
3 changed files with 28 additions and 48 deletions

View File

@@ -6,19 +6,11 @@ body:
- type: markdown - type: markdown
attributes: attributes:
value: | value: |
Please follow our community communication guidelines when filing issues. Thanks for your interest in improving the project! Before submitting, please read our guidelines.
- Be polite and respectful. 感谢您对改进项目的兴趣!提交前请阅读我们的指南。
- Prefer constructive, actionable feedback over venting.
- Include clear reproduction steps and environment details.
- Consider contributing a fix if possible — PRs are welcome.
提交 Issue 时请遵守社区沟通规范: - [Code of Conduct](https://github.com/alibaba/page-agent/blob/main/CODE_OF_CONDUCT.md)
- 保持礼貌与尊重。 - [Contributing Guide](https://github.com/alibaba/page-agent/blob/main/CONTRIBUTING.md)
- 提供建设性、可行动的反馈,避免情绪化表达。
- 请包含清晰的复现步骤与环境信息。
- 如果可以,欢迎直接提交修复 PR。
See: CODE_OF_CONDUCT.md / CODE_OF_CONDUCT_zh.md, CONTRIBUTING.md
- type: checkboxes - type: checkboxes
id: community id: community
@@ -28,10 +20,12 @@ body:
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 details. / 我会提供建设性、可行动的细节 - label: I will share constructive, actionable suggestions. / 我会提供建设性、可行动的建议
required: true required: true
- label: I have read the Code of Conduct. / 我已阅读行为准则。 - label: I have read the Code of Conduct. / 我已阅读行为准则。
required: true required: true
validations:
required: true
- type: textarea - type: textarea
id: description id: description
@@ -48,7 +42,7 @@ body:
render: typescript render: typescript
placeholder: Minimal reproduction code placeholder: Minimal reproduction code
validations: validations:
required: true required: false
- type: input - type: input
id: browser id: browser
@@ -56,7 +50,7 @@ body:
label: Browser label: Browser
placeholder: 'Chrome 120, Firefox 119, etc.' placeholder: 'Chrome 120, Firefox 119, etc.'
validations: validations:
required: true required: false
- type: input - type: input
id: version id: version
@@ -64,4 +58,4 @@ body:
label: version label: version
placeholder: '0.0.0' placeholder: '0.0.0'
validations: validations:
required: true required: false

View File

@@ -12,6 +12,3 @@ contact_links:
- name: Code of Conduct / 行为准则 - name: Code of Conduct / 行为准则
url: https://github.com/alibaba/page-agent/blob/main/CODE_OF_CONDUCT.md url: https://github.com/alibaba/page-agent/blob/main/CODE_OF_CONDUCT.md
about: Community expectations and standards. 社区行为期望与标准。 about: Community expectations and standards. 社区行为期望与标准。
- name: 行为准则(中文)
url: https://github.com/alibaba/page-agent/blob/main/CODE_OF_CONDUCT_zh.md
about: 中文版社区行为准则。

View File

@@ -6,19 +6,11 @@ body:
- type: markdown - type: markdown
attributes: attributes:
value: | value: |
Please follow our community communication guidelines when proposing features. Thanks for your interest in improving the project! Before submitting, please read our guidelines.
- Be polite and respectful. 感谢您对改进项目的兴趣!提交前请阅读我们的指南。
- Explain the problem first, then propose solutions.
- Prefer constructive, actionable suggestions.
- Contributions are encouraged — consider opening a PR.
提交功能建议时请遵守社区沟通规范: - [Code of Conduct](https://github.com/alibaba/page-agent/blob/main/CODE_OF_CONDUCT.md)
- 保持礼貌与尊重。 - [Contributing Guide](https://github.com/alibaba/page-agent/blob/main/CONTRIBUTING.md)
- 先阐述问题,再提出解决方案。
- 提供建设性、可行动的建议。
- 鼓励代码贡献,欢迎直接提交 PR。
See: CODE_OF_CONDUCT.md / CODE_OF_CONDUCT_zh.md, CONTRIBUTING.md
- type: checkboxes - type: checkboxes
id: community id: community
@@ -32,27 +24,24 @@ body:
required: true 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
- type: textarea
id: problem
attributes:
label: Problem
placeholder: What problem does this solve?
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: solution id: description
attributes: attributes:
label: Solution label: Feature Description / 功能描述
placeholder: How should this work? description: Describe the problem, solution, and any API changes. / 描述问题、解决方案以及 API 变更。
placeholder: |
**Problem**:
What problem does this solve?
**Solution**:
How should this work?
**Proposed API**:
```typescript
// code here
```
validations: validations:
required: true required: true
- type: textarea
id: api
attributes:
label: Proposed API
render: typescript
validations:
required: false