From 19657e4dde66ce52b1b7e5c5828fad1233b09685 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 17 May 2022 09:35:15 +0800 Subject: [PATCH] :octocat: Update GitHub Issue template --- .github/ISSUE_TEMPLATE/bug_report.md | 47 ------------------------ .github/ISSUE_TEMPLATE/bug_report.yml | 52 +++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 - 3 files changed, 52 insertions(+), 48 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index a74a579cc..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -name: 🐛 缺陷报告 Bug Report -about: 报告缺陷以帮助我们进行改进 Report defects to help us improve ---- - -### 描述问题 Describe the problem - - - -### 期待的结果 Expected result - - - -### 截屏或者录屏演示 Screenshot or screen recording presentation - - - -### 版本环境 Version environment - -* Version: -* Operating system: -* Browser (if used): - -### 日志文件 Log file - - - -### 更多信息 More information - - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..8fcc52dec --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,52 @@ +name: 🐛 缺陷报告 Bug Report +description: 报告缺陷以帮助我们进行改进 Report defects to help us improve +title: "" +body: + - type: checkboxes + attributes: + label: 该问题是否已经被报告过了? Is there an existing issue for this? + description: 请搜索以查看你遇到的问题是否已经被报告过。Please search to see if an issue already exists for the bug you encountered. + options: + - label: 我已经搜索了 Issues,没有发现类似问题 I have searched the existing issues + required: true + - type: textarea + attributes: + label: 描述问题 Describe the problem + description: 请尽量清晰地描述你遇到的问题,并确认能够在默认主题下重现该问题。\nPlease describe the problem you are experiencing as clearly as possible and confirm that you can reproduce the problem with the default theme. + validations: + required: true + - type: textarea + attributes: + label: 期待的结果 Expected result + description: 请尽量清晰地描述你所期待的结果。\nPlease be as clear and accurate as possible to describe the results you are looking for. + validations: + required: true + - type: textarea + attributes: + label: 截屏或者录屏演示 Screenshot or screen recording presentation + description: 请通过截屏或者录屏演示你碰到的问题。\nPlease try to attach screenshots or videos to describe the problem you are experiencing. + validations: + required: false + - type: textarea + attributes: + label: 版本环境 Version environment + description: | + examples: + - Version: + - Operating System: + - Browser (if used): + render: markdown + validations: + required: false + - type: textarea + attributes: + label: 日志文件 Log file + description: 请提供内核日志 `工作空间/temp/siyuan.log`\nThe program log file is located at `workspace/temp/siyuan.log` + validations: + required: true + - type: textarea + attributes: + label: 更多信息 More information + description: 请提供任何附加信息,以帮助我们更好地定位问题。\nPlease provide other additional information to help us diagnose the problem. + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 99d680b0a..3ba13e0ce 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,2 +1 @@ blank_issues_enabled: false -