From b61aa1b75ab30d1ddcb662e70cc071b5d746abc5 Mon Sep 17 00:00:00 2001 From: Xiaokang2022 <2951256653@qq.com> Date: Fri, 24 Jan 2025 14:13:51 +0800 Subject: [PATCH] chore: Update issue and pull request templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 15 ++++++--------- .github/ISSUE_TEMPLATE/documentation.yml | 4 ++-- .github/ISSUE_TEMPLATE/feature_request.yml | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 3 --- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 2978022e..35186e7e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -11,18 +11,14 @@ body: Please read our [Contribution Guideline](https://xiaokang2022.github.io/maliang/en/CONTRIBUTING/) before completing this report. 请在填写此报告前先阅读我们的[贡献指南](https://xiaokang2022.github.io/maliang/CONTRIBUTING/)。 - - type: dropdown + - type: input id: version attributes: label: Version description: | Which version of the project are you using? 您使用的是本项目的哪个版本? - options: - - Latest stable version (Default) - - Latest development version - - Other version (Please add later) - default: 0 + placeholder: e.g. 3.0.0 validations: required: true - type: dropdown @@ -36,9 +32,10 @@ body: options: - Windows 11 - Windows 10 - - Linux + - Linux (GNOME) + - Linux (KDE Plasma) - macOS - - Other (Please add later) + - Other validations: required: true - type: textarea @@ -75,7 +72,7 @@ body: description: | How can we get in touch with you if we need more info? 如果需要更多信息,我们如何与您取得联系? - placeholder: ex. email@example.com + placeholder: e.g. email@example.com validations: required: false - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index 6d47339c..3c864b32 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -15,7 +15,7 @@ body: description: | Link to any documentation or examples that you are referencing. 链接到您正在引用的任何文档或示例。 - placeholder: ex. https://example.com + placeholder: e.g. https://example.com validations: required: false - type: textarea @@ -42,7 +42,7 @@ body: description: | How can we get in touch with you if we need more info? 如果需要更多信息,我们如何与您取得联系? - placeholder: ex. email@example.com + placeholder: e.g. email@example.com validations: required: false - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index bf8a10bd..4179f694 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -32,7 +32,7 @@ body: description: | How can we get in touch with you if we need more info? 如果需要更多信息,我们如何与您取得联系? - placeholder: ex. email@example.com + placeholder: e.g. email@example.com validations: required: false - type: checkboxes diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index adfb04af..d8cdd747 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -39,9 +39,6 @@ checkboxes and mark it with "[ ]" as "[X]". - [ ] The PR doesn't duplicate another PR which is already open -- [ ] `"closes #0000"` is in the body of the PR description to [link the related issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) - - - [ ] New or changed code has been tested