From 92acd8db54b9881b2ac016ea6b5f599dd8bc9935 Mon Sep 17 00:00:00 2001 From: ayang <473033518@qq.com> Date: Thu, 19 Dec 2024 20:08:00 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E7=89=88=E7=9A=84=20issue=20=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/01-bug.yml | 49 +++++++++++++++++++ .github/ISSUE_TEMPLATE/02-feature.yml | 33 +++++++++++++ .github/ISSUE_TEMPLATE/11-bug.en-US.yml | 49 +++++++++++++++++++ .github/ISSUE_TEMPLATE/12-feature.en-US.yml | 33 +++++++++++++ .github/ISSUE_TEMPLATE/bug_report.yml | 54 --------------------- .github/ISSUE_TEMPLATE/feature_request.yml | 35 ------------- 6 files changed, 164 insertions(+), 89 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/01-bug.yml create mode 100644 .github/ISSUE_TEMPLATE/02-feature.yml create mode 100644 .github/ISSUE_TEMPLATE/11-bug.en-US.yml create mode 100644 .github/ISSUE_TEMPLATE/12-feature.en-US.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/01-bug.yml b/.github/ISSUE_TEMPLATE/01-bug.yml new file mode 100644 index 0000000000..19bebfa011 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01-bug.yml @@ -0,0 +1,49 @@ +name: 🐞 Bug 报告 +title: "[bug] " +description: 报告一个 Bug +labels: ["type: bug", "status: needs triage"] + +body: + - type: markdown + attributes: + value: | + ## 温馨提示 + 1. 请先查阅[常见问题](https://ecopaste.cn/problem/macos/damage)或现有的 [issues](https://github.com/EcoPasteHub/EcoPaste/issues)。 + 2. 请确保你使用的是[最新版本](https://github.com/EcoPasteHub/EcoPaste/releases/latest)。 + 3. 请确保该问题不是由其他软件引起的。 + 4. 请始终保持友好与尊重,感谢你的理解与配合。 + + - type: textarea + id: description + attributes: + label: 描述 Bug + description: 请详细描述 Bug 并提供截图或视频以帮助我们更好地理解问题。 + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: 重现步骤 + description: 请详细列出重现问题的步骤,并附带截图或视频。 + + - type: textarea + id: expected-behavior + attributes: + label: 预期行为 + description: 请描述你期望发生的行为。 + + - type: textarea + id: info + attributes: + render: text + label: 软件信息 + description: 请复制`偏好设置 > 关于`页面中的软件信息。 + validations: + required: true + + - type: textarea + id: context + attributes: + label: 附加信息 + description: 请在此提供有关该问题的其他相关信息,帮助我们更全面地理解问题。 diff --git a/.github/ISSUE_TEMPLATE/02-feature.yml b/.github/ISSUE_TEMPLATE/02-feature.yml new file mode 100644 index 0000000000..cf21ab83f9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02-feature.yml @@ -0,0 +1,33 @@ +name: 💡 功能请求 +title: "[feat] " +description: 提出一个想法 +labels: "type: feature request" + +body: + - type: textarea + id: problem + attributes: + label: 描述问题 + description: 请清晰地描述此功能将解决的具体问题。 + validations: + required: true + + - type: textarea + id: solution + attributes: + label: 描述您希望的解决方案 + description: 请清晰地描述您期望的变更或改进。 + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: 考虑的替代方案 + description: 提供您考虑过的其他替代解决方案。 + + - type: textarea + id: context + attributes: + label: 附加信息 + description: 请在此提供有关该问题的其他相关信息,帮助我们更全面地理解问题。 diff --git a/.github/ISSUE_TEMPLATE/11-bug.en-US.yml b/.github/ISSUE_TEMPLATE/11-bug.en-US.yml new file mode 100644 index 0000000000..8c05ff947f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/11-bug.en-US.yml @@ -0,0 +1,49 @@ +name: 🐞 Bug Report +title: "[bug] " +description: Report a Bug +labels: ["type: bug", "status: needs triage"] + +body: + - type: markdown + attributes: + value: | + ## Friendly Reminder + 1. Please check the [FAQ](https://ecopaste.cn/problem/macos/damage) or existing [issues](https://github.com/EcoPasteHub/EcoPaste/issues) first. + 2. Make sure you're using the [latest version](https://github.com/EcoPasteHub/EcoPaste/releases/latest). + 3. Ensure the issue is not caused by other software. + 4. Please always remain friendly and respectful. Thank you for your understanding and cooperation. + + - type: textarea + id: description + attributes: + label: Describe the Bug + description: Please describe the bug in detail and provide screenshots or videos to help us better understand the issue. + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: Reproduction Steps + description: Please list the steps to reproduce the issue, and include screenshots or videos. + + - type: textarea + id: expected-behavior + attributes: + label: Expected Behavior + description: Please describe the behavior you expected to happen. + + - type: textarea + id: info + attributes: + render: text + label: Software Information + description: Please copy the software information from `Preferences > About` page. + validations: + required: true + + - type: textarea + id: context + attributes: + label: Additional context + description: Please provide any other relevant information that may help us better understand the issue. diff --git a/.github/ISSUE_TEMPLATE/12-feature.en-US.yml b/.github/ISSUE_TEMPLATE/12-feature.en-US.yml new file mode 100644 index 0000000000..4e10b0081b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/12-feature.en-US.yml @@ -0,0 +1,33 @@ +name: 💡 Feature Request +title: "[feat] " +description: Suggest an idea +labels: "type: feature request" + +body: + - type: textarea + id: problem + attributes: + label: Describe the Problem + description: Please clearly describe the problem this feature will solve. + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Describe Your Desired Solution + description: Please clearly describe the changes or improvements you expect. + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Considered Alternatives + description: Provide any alternative solutions you have considered. + + - type: textarea + id: context + attributes: + label: Additional context + description: Please provide any other relevant information that may help us better understand the issue. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index 217fdd331e..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: 🐞 Bug Report -title: "[bug] " -description: Report a bug -labels: ["type: bug", "status: needs triage"] - -body: - - type: markdown - attributes: - value: | - ## First of all - 1. Please search for [existing issues](https://github.com/EcoPasteHub/EcoPaste/issues) about this problem first. - 2. Make sure the [EcoPaste](https://github.com/EcoPasteHub/EcoPaste/releases/latest) you download is up to date. - 3. Make sure it's an issue with EcoPaste and not something else you are using. - 4. Remember to follow our community guidelines and be friendly. - - - type: textarea - id: description - attributes: - label: Describe the bug - description: A clear description of what the bug is. Include screenshots if applicable. - placeholder: Bug description - validations: - required: true - - - type: textarea - id: reproduction - attributes: - label: Reproduction - description: A link to a reproduction repo or steps to reproduce the behaviour. - placeholder: | - Please provide a minimal reproduction or steps to reproduce, see this guide https://stackoverflow.com/help/minimal-reproducible-example - Why reproduction is required? see this article https://antfu.me/posts/why-reproductions-are-required - - - type: textarea - id: expected-behavior - attributes: - label: Expected behavior - description: A clear description of what you expected to happen. - - - type: textarea - id: info - attributes: - label: Software Information - description: Copy the software information from the About page - render: text - placeholder: Copy the software information from the About page - validations: - required: true - - - type: textarea - id: context - attributes: - label: Additional context - description: Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml deleted file mode 100644 index 5f33080b27..0000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: 💡 Feature Request -title: "[feat] " -description: Suggest an idea -labels: "type: feature request" - -body: - - type: textarea - id: problem - attributes: - label: Describe the problem - description: A clear description of the problem this feature would solve - placeholder: "I'm always frustrated when..." - validations: - required: true - - - type: textarea - id: solution - attributes: - label: "Describe the solution you'd like" - description: A clear description of what change you would like - placeholder: "I would like to..." - validations: - required: true - - - type: textarea - id: alternatives - attributes: - label: Alternatives considered - description: "Any alternative solutions you've considered" - - - type: textarea - id: context - attributes: - label: Additional context - description: Add any other context about the problem here.