From 45c9a5caafa5a1886b9b080afdcf490cea103004 Mon Sep 17 00:00:00 2001 From: BugKing Date: Fri, 1 Apr 2022 14:29:34 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BD=BF=E7=94=A8=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E7=9A=84issue=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug.md | 31 --------------- .github/ISSUE_TEMPLATE/bug.yml | 60 +++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++++ .github/ISSUE_TEMPLATE/feature.md | 14 ------- .github/ISSUE_TEMPLATE/feature.yml | 36 +++++++++++++++++ .github/ISSUE_TEMPLATE/question.md | 10 ----- .github/ISSUE_TEMPLATE/question.yml | 12 ++++++ 7 files changed, 116 insertions(+), 55 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug.md create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature.md create mode 100644 .github/ISSUE_TEMPLATE/feature.yml delete mode 100644 .github/ISSUE_TEMPLATE/question.md create mode 100644 .github/ISSUE_TEMPLATE/question.yml diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md deleted file mode 100644 index fa044ac1ac..0000000000 --- a/.github/ISSUE_TEMPLATE/bug.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: BUG 提交 -about: 提交产品缺陷帮助我们更好的改进 -title: "[BUG]" -labels: "类型: 缺陷" -assignees: youliyuan-fit2cloud - ---- - -**MeterSphere 版本** - -您所使用的 MeterSphere 版本是? - -**Bug 描述** - -简要描述您碰到的问题 - -**Bug 重现步骤** - -1. -2. -3. -4. - -**期待的正确结果** - -正确情况下应该是什么样的? - -**截图** - -如果有截图,请附上截图. diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000000..f6ff85cf16 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,60 @@ +name: BUG 提交 +description: 提交产品缺陷帮助我们更好的改进 +title: "[BUG]" +labels: "类型: 缺陷" +assignees: youliyuan-fit2cloud +body: + - type: markdown + id: environment + attributes: + value: "## 环境信息" + - type: input + id: version + validations: + required: true + attributes: + label: "MeterSphere 版本" + description: "可通过系统右上角下拉菜单中的`关于`选项,或查看安装目录中的 version 文件获取," + - type: dropdown + id: database + validations: + required: true + attributes: + label: "使用外置数据库" + description: "是否使用了独立部署的外部数据库" + options: + - 否 + - 是 + - 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: "如果操作可以重现该问题" + 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: "如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。" \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..bd5b8c713c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: 对 MeterSphere 项目有其他问题 + url: https://metersphere.io + about: 如果想要进一步了解 MeterSphere 项目,欢迎发送邮件到 support@fit2cloud.com 进行提问。 + - name: 反馈安全问题 (Report Security Bug) + url: mailto://support@fit2cloud.com + about: 请通过邮箱 support@fit2cloud.com 反馈安全问题 (Please report security vulnerabilities to support@fit2cloud.com) \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature.md b/.github/ISSUE_TEMPLATE/feature.md deleted file mode 100644 index d042616ce6..0000000000 --- a/.github/ISSUE_TEMPLATE/feature.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: 需求建议 -about: 提出针对本项目的想法和建议 -title: "[FEATURE]" -labels: enhancement -assignees: 'Hyyfit' - ---- - -**请描述您的需求或者改进建议.** - - - -**请描述你建议的实现方案** diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000000..a6c74176d2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,36 @@ +name: 需求建议 +description: 提出针对本项目的想法和建议 +title: "[FEATURE]" +labels: enhancement +assignees: 'Hyyfit' +body: + - type: markdown + id: environment + attributes: + value: "## 环境信息" + - type: input + id: version + validations: + required: true + attributes: + label: "MeterSphere 版本" + description: "可通过系统右上角下拉菜单中的`关于`选项,或查看安装目录中的 version 文件获取," + - 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/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index b3ff58a927..0000000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: 问题咨询 -about: 提出针对本项目安装部署、使用及其他方面的相关问题 -title: "[QUESTION]" -labels: question -assignees: Hyyfit - ---- - -**请描述您的问题.** diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000000..2147b1f371 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,12 @@ +name: 问题咨询 +description: 提出针对本项目安装部署、使用及其他方面的相关问题 +title: "[QUESTION]" +labels: question +assignees: Hyyfit +body: + - type: textarea + id: description + attributes: + label: "请描述您的问题" + validations: + required: true \ No newline at end of file