From 7e2448655ea51a060a723552267c74e9ad5b638f Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Tue, 20 May 2025 09:11:47 +0800 Subject: [PATCH] chore: add english issue templates --- .github/ISSUE_TEMPLATE/bug-report.yml | 6 ++-- .github/ISSUE_TEMPLATE/bug-report_.yml | 30 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- .github/ISSUE_TEMPLATE/feature-request_en.yml | 21 +++++++++++++ .github/ISSUE_TEMPLATE/submit-plugin_en.yml | 24 +++++++++++++++ 5 files changed, 79 insertions(+), 4 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report_.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request_en.yml create mode 100644 .github/ISSUE_TEMPLATE/submit-plugin_en.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 3695a3fb..8a0b834b 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -19,12 +19,12 @@ body: - type: textarea attributes: label: 复现步骤 - description: 如何重现这个问题,越详细越好;请贴上所有相关的配置文件和元数据文件(注意隐去敏感信息) + description: 如何重现这个问题,越详细越好;提供越多信息,我们会越快解决问题。 validations: - required: true + required: false - type: textarea attributes: label: 启用的插件 - description: 有些情况可能和插件功能有关,建议提供插件启用情况。可以使用`!plugin`命令查看已启用的插件 + description: 有些情况可能和插件功能有关,建议提供插件启用情况。 validations: required: false diff --git a/.github/ISSUE_TEMPLATE/bug-report_.yml b/.github/ISSUE_TEMPLATE/bug-report_.yml new file mode 100644 index 00000000..705dd0f5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report_.yml @@ -0,0 +1,30 @@ +name: Bug report +description: Report bugs or vulnerabilities using this template, issues that do not match will be closed directly. Due to improper operation or lack of understanding of the technology stack, network connection issues are not supported, please do not create issues. For container network connection issues, refer to the documentation https://docs.langbot.app/zh/workshop/network-details.html +title: "[Bug]: " +labels: ["bug?"] +body: + - type: input + attributes: + label: Runtime environment + description: LangBot version, operating system, system architecture, **Python version**, **host location** + placeholder: For example: v3.3.0, CentOS x64 Python 3.10.3, Docker system directly write Docker + validations: + required: true + - type: textarea + attributes: + label: Exception + description: Describe the exception in detail, what happened and when it happened. **Please include log information.** + validations: + required: true + - type: textarea + attributes: + label: Reproduction steps + description: How to reproduce this problem, the more detailed the better; the more information you provide, the faster we will solve the problem. + validations: + required: false + - type: textarea + attributes: + label: Enabled plugins + description: Some cases may be related to plugin functionality, so please provide the plugin enablement status. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 40d93ba0..3d6a9842 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,6 +1,6 @@ name: 需求建议 title: "[Feature]: " -labels: ["改进"] +labels: [] description: "新功能或现有功能优化请使用这个模板;不符合类别的issue将被直接关闭" body: - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/feature-request_en.yml b/.github/ISSUE_TEMPLATE/feature-request_en.yml new file mode 100644 index 00000000..5590162d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request_en.yml @@ -0,0 +1,21 @@ +name: Feature request +title: "[Feature]: " +labels: [] +description: "New features or existing feature improvements should use this template; issues that do not match will be closed directly" +body: + - type: dropdown + attributes: + label: This is a? + description: New feature request or existing feature improvement + options: + - New feature + - Existing feature improvement + validations: + required: true + - type: textarea + attributes: + label: Detailed description + description: Detailed description, the more detailed the better + validations: + required: true + diff --git a/.github/ISSUE_TEMPLATE/submit-plugin_en.yml b/.github/ISSUE_TEMPLATE/submit-plugin_en.yml new file mode 100644 index 00000000..51b9b613 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/submit-plugin_en.yml @@ -0,0 +1,24 @@ +name: Submit a new plugin +title: "[Plugin]: Request to register a new plugin" +labels: ["Independent Plugin"] +description: "This template is only for submitting new plugins" +body: + - type: input + attributes: + label: Plugin name + description: Fill in the name of the plugin + validations: + required: true + - type: textarea + attributes: + label: Plugin code repository address + description: Only support Github + validations: + required: true + - type: textarea + attributes: + label: Plugin description + description: The description of the plugin + validations: + required: true +