From 999e14bf5479e640240bb86c4b65cb1cbe4dbcdc Mon Sep 17 00:00:00 2001 From: Hakadao Date: Fri, 12 Apr 2024 15:49:05 +0800 Subject: [PATCH 1/5] Update issue templates --- .github/ISSUE_TEMPLATE/bug-report.md | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 00000000..9863063e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,35 @@ +--- +name: Bug report +about: 在这里提出你遇到的问题 +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +简单直接地描述你遇到的问题 + +**所用版本** + +**如何重现** +重现问题的步骤: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**预期行为** +简单直接地描述你期望的效果 + +**错误截图/视频** +最好有截图或视频方便我们排查 + +**浏览器(必填):** + - Chrome + - Safari + - Firefox + - Edge + +**Additional context** +Add any other context about the problem here. From 4b141f2cad12824aae24cb1f373add643a3d7912 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Fri, 12 Apr 2024 15:51:31 +0800 Subject: [PATCH 2/5] Update bug-report.md --- .github/ISSUE_TEMPLATE/bug-report.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 9863063e..2e870913 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -1,7 +1,7 @@ --- name: Bug report about: 在这里提出你遇到的问题 -title: '' +title: '[BUG]' labels: '' assignees: '' @@ -14,10 +14,9 @@ assignees: '' **如何重现** 重现问题的步骤: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error +1. 进入... +2. 点击... +3. 错误重现 **预期行为** 简单直接地描述你期望的效果 @@ -31,5 +30,5 @@ assignees: '' - Firefox - Edge -**Additional context** -Add any other context about the problem here. +**附加说明** +你可以在这里添加上附加说明 From eb2656cb88bef17994b949a0a0c7434ded3e5063 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Fri, 12 Apr 2024 15:55:56 +0800 Subject: [PATCH 3/5] Delete .github/ISSUE_TEMPLATE/bug-report.md --- .github/ISSUE_TEMPLATE/bug-report.md | 34 ---------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 2e870913..00000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: Bug report -about: 在这里提出你遇到的问题 -title: '[BUG]' -labels: '' -assignees: '' - ---- - -**Describe the bug** -简单直接地描述你遇到的问题 - -**所用版本** - -**如何重现** -重现问题的步骤: -1. 进入... -2. 点击... -3. 错误重现 - -**预期行为** -简单直接地描述你期望的效果 - -**错误截图/视频** -最好有截图或视频方便我们排查 - -**浏览器(必填):** - - Chrome - - Safari - - Firefox - - Edge - -**附加说明** -你可以在这里添加上附加说明 From 85f2f2d3b272fddb2c07798b56faed65fb997a08 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Fri, 12 Apr 2024 16:02:49 +0800 Subject: [PATCH 4/5] chore: add bug-template.yaml --- .github/ISSUE_TEMPLATE/bug-template.yaml | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-template.yaml diff --git a/.github/ISSUE_TEMPLATE/bug-template.yaml b/.github/ISSUE_TEMPLATE/bug-template.yaml new file mode 100644 index 00000000..49818c77 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-template.yaml @@ -0,0 +1,41 @@ +name: Bug Report +description: 报告问题 +title: '[BUG]:' +labels: [bug] + +body: + - type: markdown + attributes: + value: | + ## BUG 表单 + + - type: textarea + attributes: + label: 环境 + description: 插件版本和浏览器版本 + placeholder: | + 浏览器: (如 Chrome) + 浏览器版本: (如 123.0.6312.107) + BewlyBewly 版本: (如 0.16.2) + value: | + 浏览器: (如 Chrome) + 浏览器版本: (如 123.0.6312.107) + BewlyBewly 版本: (如 0.16.2) + validations: + required: true + + - type: textarea + attributes: + label: 问题描述 + description: 如何重现 + placeholder: | + 请预先搜索是否有提到的 issue 否则重复的 issue 会被关闭不作解释 + validations: + required: true + + - type: textarea + attributes: + label: 预期结果 + description: 预期结果 + validations: + required: false From 4acadb29f7a23e59c561c1b0626d345cff813d8a Mon Sep 17 00:00:00 2001 From: Hakadao Date: Fri, 12 Apr 2024 16:04:38 +0800 Subject: [PATCH 5/5] chore: update bug-template --- .github/ISSUE_TEMPLATE/bug-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-template.yaml b/.github/ISSUE_TEMPLATE/bug-template.yaml index 49818c77..79234cb2 100644 --- a/.github/ISSUE_TEMPLATE/bug-template.yaml +++ b/.github/ISSUE_TEMPLATE/bug-template.yaml @@ -27,7 +27,7 @@ body: - type: textarea attributes: label: 问题描述 - description: 如何重现 + description: 如何重现, 最好带有截图或视频以便排查 placeholder: | 请预先搜索是否有提到的 issue 否则重复的 issue 会被关闭不作解释 validations: