From 8058eed9ab891481738970b88a4a113e5d82bd1e Mon Sep 17 00:00:00 2001 From: harry Date: Fri, 6 Dec 2024 15:47:04 +0800 Subject: [PATCH] feat: add feature request template --- .github/ISSUE_TEMPLATE/bug_report.yml | 20 ++---------- .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.yml | 38 ++++++++++++++++++++++ 3 files changed, 42 insertions(+), 17 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5a5403d..1da9d8f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,5 +1,5 @@ name: 🐛 Bug -description: 出现错误或未按预期工作的问题 +description: 出现错误或未按预期工作 title: "请在此处填写标题" labels: - bug @@ -43,11 +43,6 @@ body: attributes: label: 重现步骤 description: 描述重现问题的步骤。描述的越详细,越有助于定位和修复问题。 - value: | -
- 重现步骤 - -
validations: required: true - type: textarea @@ -55,14 +50,6 @@ body: label: 堆栈追踪/日志 description: | 如果您有任何堆栈追踪或日志,请将它们粘贴在此处。(注意不要包含敏感信息) - value: | -
- 堆栈追踪/日志 - - ``` - <将此行替换为粘贴您的堆栈追踪或日志> - ``` -
validations: required: true - type: input @@ -72,11 +59,10 @@ body: placeholder: v3.13.0, v3.10.0 等 validations: required: true - - type: textarea + - type: input attributes: label: 操作系统 - description: | - 您使用 MoneyPrinterTurbo 遇到问题时的操作系统信息。 + description: 您使用 MoneyPrinterTurbo 遇到问题时的操作系统信息。 placeholder: macOS 14.1, Windows 11 等 validations: required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..ec4bb38 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..e0704e3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,38 @@ +name: ✨ 增加功能 +description: 为此项目提出一个新想法 +title: "请在此处填写标题" +labels: + - enhancement + +body: + - type: checkboxes + attributes: + label: 是否已存在类似的功能请求? + description: 请确保此功能请求是否重复。 + options: + - label: 我已搜索现有的功能请求 + required: true + - type: textarea + attributes: + label: 痛点 + description: 请解释您的功能请求。 + placeholder: 我希望可以实现这一点 + validations: + required: true + - type: textarea + attributes: + label: 建议的解决方案 + description: 请描述您能想到的解决方案。 + placeholder: 您可以添加这个功能 / 更改这个流程 / 使用某种方法 + validations: + required: true + - type: textarea + attributes: + label: 有用的资源 + description: 请提供一些有助于实现您建议的资源。 + - type: textarea + attributes: + label: 其他信息 + description: 您还有什么其他想补充的信息吗?例如问题的截图或视频记录。 + validations: + required: false \ No newline at end of file