From bad1b0b1054701b89320ee51123641d1bf0a0226 Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Tue, 19 Nov 2024 18:08:58 +0800 Subject: [PATCH] perf: Update related workflows --- .github/ISSUE_TEMPLATE/1_bug_report.yml | 50 +++++++++++++++++++ .../{bug.yml => 1_bug_report_cn.yml} | 19 ++----- .github/ISSUE_TEMPLATE/2_feature_request.yml | 29 +++++++++++ .../{feature.yml => 2_feature_request_cn.yml} | 13 ++--- .github/ISSUE_TEMPLATE/3_config.yml | 8 +++ .github/ISSUE_TEMPLATE/config.yml | 8 --- 6 files changed, 94 insertions(+), 33 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/1_bug_report.yml rename .github/ISSUE_TEMPLATE/{bug.yml => 1_bug_report_cn.yml} (78%) create mode 100644 .github/ISSUE_TEMPLATE/2_feature_request.yml rename .github/ISSUE_TEMPLATE/{feature.yml => 2_feature_request_cn.yml} (70%) create mode 100644 .github/ISSUE_TEMPLATE/3_config.yml delete mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/1_bug_report.yml b/.github/ISSUE_TEMPLATE/1_bug_report.yml new file mode 100644 index 000000000..e924ddccf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_bug_report.yml @@ -0,0 +1,50 @@ +name: 'Bug Report' +description: 'Report an Bug' +title: '[Bug] ' +assignees: wanghe-fit2cloud +body: + - type: markdown + attributes: + value: "## Contact Information" + - type: input + validations: + required: false + attributes: + label: "Contact Information" + description: "The ways to quickly contact you: WeChat group number and nickname, email, etc." + - type: markdown + attributes: + value: "## Environment Information" + - type: input + validations: + required: true + attributes: + label: "1Panel Version" + description: "Log in to the 1Panel Web console and check the current version at the bottom right of the page." + - type: markdown + attributes: + value: "## Detailed information" + - type: textarea + attributes: + label: "Problem Description" + description: "Briefly describe the issue you’ve encountered." + validations: + required: true + - type: textarea + attributes: + label: "Steps to Reproduce" + description: "How can this issue be reproduced." + validations: + required: true + - type: textarea + attributes: + label: "The expected correct result" + - type: textarea + attributes: + label: "Related log output" + description: "Please paste any relevant log output here. It will automatically be formatted as code, so no backticks are necessary." + render: shell + - type: textarea + attributes: + label: "Additional Information" + description: "If you have any additional information to provide, you can include it here (screenshots, videos, etc., are welcome)." diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/1_bug_report_cn.yml similarity index 78% rename from .github/ISSUE_TEMPLATE/bug.yml rename to .github/ISSUE_TEMPLATE/1_bug_report_cn.yml index e4c56a326..6a7e2ee08 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/1_bug_report_cn.yml @@ -1,61 +1,50 @@ -name: BUG 提交 -description: 提交产品缺陷帮助我们更好的改进 -title: "[BUG]" -labels: "类型: 缺陷" +name: '反馈缺陷' +description: '反馈一个缺陷' +title: '[Bug] ' assignees: wanghe-fit2cloud body: - type: markdown - id: contacts_title attributes: value: "## 联系方式" - type: input - id: contacts validations: required: false attributes: label: "联系方式" description: "可以快速联系到您的方式:交流群号及昵称、邮箱等" - type: markdown - id: environment attributes: value: "## 环境信息" - type: input - id: version validations: required: true attributes: label: "1Panel 版本" description: "登录 1Panel Web 控制台,在页面右下角查看当前版本。" - type: markdown - id: details attributes: value: "## 详细信息" - type: textarea - id: what-happened attributes: label: "问题描述" description: "简要描述您碰到的问题" validations: required: true - type: textarea - id: how-happened attributes: label: "重现步骤" - description: "如果操作可以重现该问题" + description: "如何操作可以重现该问题" validations: required: true - type: textarea - id: expect attributes: label: "期待的正确结果" - type: textarea - id: logs attributes: label: "相关日志输出" description: "请复制并粘贴任何相关的日志输出。 这将自动格式化为代码,因此无需反引号。" render: shell - type: textarea - id: additional-information attributes: label: "附加信息" description: "如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。" diff --git a/.github/ISSUE_TEMPLATE/2_feature_request.yml b/.github/ISSUE_TEMPLATE/2_feature_request.yml new file mode 100644 index 000000000..d99c016bd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_feature_request.yml @@ -0,0 +1,29 @@ +name: 'Feature Request' +description: 'Suggest an idea' +title: '[Feature] ' +assignees: wanghe-fit2cloud +body: + - type: markdown + attributes: + value: "## Environment Information" + - type: input + validations: + required: true + attributes: + label: "1Panel Version" + description: "Log in to the 1Panel Web console and check the current version at the bottom right of the page." + - type: markdown + attributes: + value: "## Detailed information" + - type: textarea + attributes: + label: "Please describe your needs or suggestions for improvements" + validations: + required: true + - type: textarea + attributes: + label: "Please describe the solution you suggest" + - type: textarea + attributes: + label: "Additional Information" + description: "If you have any additional information to provide, you can include it here (screenshots, videos, etc., are welcome)." \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/2_feature_request_cn.yml similarity index 70% rename from .github/ISSUE_TEMPLATE/feature.yml rename to .github/ISSUE_TEMPLATE/2_feature_request_cn.yml index 90b0a2d55..e315dde16 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/2_feature_request_cn.yml @@ -1,36 +1,29 @@ -name: 需求建议 -description: 提出针对本项目的想法和建议 -title: "[FEATURE]" -labels: enhancement +name: '功能需求' +description: '提出需求或建议' +title: '[Feature] ' assignees: wanghe-fit2cloud body: - type: markdown - id: environment attributes: value: "## 环境信息" - type: input - id: version validations: required: true attributes: label: "1Panel 版本" description: "登录 1Panel Web 控制台,在页面右下角查看当前版本。" - type: markdown - id: details attributes: value: "## 详细信息" - type: textarea - id: description attributes: label: "请描述您的需求或者改进建议" validations: required: true - type: textarea - id: solution attributes: label: "请描述你建议的实现方案" - type: textarea - id: additional-information attributes: label: "附加信息" description: "如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。" \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/3_config.yml b/.github/ISSUE_TEMPLATE/3_config.yml new file mode 100644 index 000000000..2991c6d95 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3_config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Questions & Discussions + url: https://github.com/1Panel-dev/1Panel/discussions + about: Raise questions about the installation, deployment, use and other aspects of the project. + - name: 问题与讨论 + url: https://bbs.fit2cloud.com/c/1p/7 + about: 提出针对本项目安装部署、使用及其他方面的相关问题。 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 07367b3da..000000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: 问题与讨论 / Questions & Discussions - url: https://github.com/1Panel-dev/1Panel/discussions - about: 提出针对本项目安装部署、使用及其他方面的相关问题 / Raise questions about the installation, deployment, use and other aspects of the project. - - name: 对 1Panel 项目有其他问题 - url: https://bbs.fit2cloud.com/c/1p/7 - about: 如果你对 1Panel 有其他想要提问的,我们欢迎到我们的官方社区进行提问。 \ No newline at end of file