From a1dfe879c1750b5c46df041e830702ca18d2b98c Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Tue, 25 Nov 2025 19:46:18 +0800 Subject: [PATCH] chore: update issue templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 26 +++++------- .github/ISSUE_TEMPLATE/config.yml | 3 -- .github/ISSUE_TEMPLATE/feature_request.yml | 47 +++++++++------------- 3 files changed, 28 insertions(+), 48 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 28476ec..0faeeac 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -6,19 +6,11 @@ body: - type: markdown attributes: value: | - Please follow our community communication guidelines when filing issues. - - 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. + Thanks for your interest in improving the project! Before submitting, please read our guidelines. + 感谢您对改进项目的兴趣!提交前请阅读我们的指南。 - 提交 Issue 时请遵守社区沟通规范: - - 保持礼貌与尊重。 - - 提供建设性、可行动的反馈,避免情绪化表达。 - - 请包含清晰的复现步骤与环境信息。 - - 如果可以,欢迎直接提交修复 PR。 - - See: CODE_OF_CONDUCT.md / CODE_OF_CONDUCT_zh.md, CONTRIBUTING.md + - [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) - type: checkboxes id: community @@ -28,10 +20,12 @@ body: options: - label: I will be polite and respectful. / 我会保持礼貌与尊重。 required: true - - label: I will share constructive, actionable details. / 我会提供建设性、可行动的细节。 + - label: I will share constructive, actionable suggestions. / 我会提供建设性、可行动的建议。 required: true - label: I have read the Code of Conduct. / 我已阅读行为准则。 required: true + validations: + required: true - type: textarea id: description @@ -48,7 +42,7 @@ body: render: typescript placeholder: Minimal reproduction code validations: - required: true + required: false - type: input id: browser @@ -56,7 +50,7 @@ body: label: Browser placeholder: 'Chrome 120, Firefox 119, etc.' validations: - required: true + required: false - type: input id: version @@ -64,4 +58,4 @@ body: label: version placeholder: '0.0.0' validations: - required: true + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 5b75fba..d13818c 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -12,6 +12,3 @@ contact_links: - name: Code of Conduct / 行为准则 url: https://github.com/alibaba/page-agent/blob/main/CODE_OF_CONDUCT.md about: Community expectations and standards. 社区行为期望与标准。 - - name: 行为准则(中文) - url: https://github.com/alibaba/page-agent/blob/main/CODE_OF_CONDUCT_zh.md - about: 中文版社区行为准则。 diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 98811a2..cb57389 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -6,19 +6,11 @@ body: - type: markdown attributes: value: | - Please follow our community communication guidelines when proposing features. - - Be polite and respectful. - - Explain the problem first, then propose solutions. - - Prefer constructive, actionable suggestions. - - Contributions are encouraged — consider opening a PR. + Thanks for your interest in improving the project! Before submitting, please read our guidelines. + 感谢您对改进项目的兴趣!提交前请阅读我们的指南。 - 提交功能建议时请遵守社区沟通规范: - - 保持礼貌与尊重。 - - 先阐述问题,再提出解决方案。 - - 提供建设性、可行动的建议。 - - 鼓励代码贡献,欢迎直接提交 PR。 - - See: CODE_OF_CONDUCT.md / CODE_OF_CONDUCT_zh.md, CONTRIBUTING.md + - [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) - type: checkboxes id: community @@ -32,27 +24,24 @@ body: required: true - label: I have read the CODE_OF_CONDUCT.md and CONTRIBUTING.md. / 我已阅读行为准则。 required: true - - - type: textarea - id: problem - attributes: - label: Problem - placeholder: What problem does this solve? validations: required: true - type: textarea - id: solution + id: description attributes: - label: Solution - placeholder: How should this work? + label: Feature Description / 功能描述 + 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: required: true - - - type: textarea - id: api - attributes: - label: Proposed API - render: typescript - validations: - required: false