From 8657854d87626e8d6c2f3c8242393c5b0885724e Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 27 Nov 2023 17:40:09 +0800 Subject: [PATCH] chore: update issue template (#4915) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind cleanup #### What this PR does / why we need it: 更新 issue 模板,支持粘贴系统概览中提供的信息。 图片 #### Does this PR introduce a user-facing change? ```release-note None ``` --- .github/ISSUE_TEMPLATE/bug_report.en.yml | 22 +++++----------------- .github/ISSUE_TEMPLATE/bug_report.zh.yml | 24 ++++++------------------ 2 files changed, 11 insertions(+), 35 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.en.yml b/.github/ISSUE_TEMPLATE/bug_report.en.yml index d9655561c..44d13fdfd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.en.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.en.yml @@ -10,25 +10,13 @@ body: id: environment attributes: value: "## Environment" - - type: input - id: version + - type: textarea + id: system-information + attributes: + label: "System information" + description: "Access the actuator page of the Console, click the copy button in the upper right corner, and paste the information here." validations: required: true - attributes: - label: What is version of Halo has the issue? - - type: dropdown - id: database - validations: - required: true - attributes: - label: "What database are you using?" - options: - - H2 - - PostgreSQL - - MySQL 5.7 - - MySQL 8.x - - MariaDB - - Other - type: dropdown id: operation-method validations: diff --git a/.github/ISSUE_TEMPLATE/bug_report.zh.yml b/.github/ISSUE_TEMPLATE/bug_report.zh.yml index cc1b5f04f..9b1c0d003 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.zh.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.zh.yml @@ -11,25 +11,13 @@ body: id: environment attributes: value: "## 环境信息" - - type: input - id: version + - type: textarea + id: system-information + attributes: + label: "系统信息" + description: "访问 Console 的概览页面,点击右上角的复制按钮,将信息粘贴到此处。" validations: required: true - attributes: - label: "是什么版本出现了此问题?" - - type: dropdown - id: database - validations: - required: true - attributes: - label: "使用的什么数据库?" - options: - - H2 - - PostgreSQL - - MySQL 5.7 - - MySQL 8.x - - MariaDB - - Other - type: dropdown id: operation-method validations: @@ -64,7 +52,7 @@ body: id: logs attributes: label: "相关日志输出" - description: "请复制并粘贴任何相关的日志输出。 这将自动格式化为代码,因此无需反引号。" + description: "请复制并粘贴任何相关的日志输出。这将自动格式化为代码,因此无需反引号。" render: shell - type: textarea id: additional-information