Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:octocat: Update GitHub Issue template

Liang Ding19657e4dde66
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index a74a579ccd..0000000000
--- 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
-
-<!--
-请尽量清晰地描述你遇到的问题,并确认能够在默认主题下重现该问题。
-Please describe the problem you are experiencing as clearly as possible and confirm that you can reproduce the problem with the default theme.
--->
-
-### 期待的结果 Expected result
-
-<!--
-请尽量清晰地描述你所期待的结果。
-Please be as clear and accurate as possible to describe the results you are looking for.
--->
-
-### 截屏或者录屏演示 Screenshot or screen recording presentation
-
-<!--
-请通过截屏或者录屏演示你碰到的问题。
-Please try to attach screenshots or videos to describe the problem you are experiencing.
-
-(It is recommended to use [Screen2Gif](https://www.screentogif.com/) to record the screen under Windows. If it is related to the editor input, please open the `Image - Key Strokes` after recording with Screen2Gif)
--->
-
-### 版本环境 Version environment
-
-* Version:
-* Operating system:
-* Browser (if used):
-
-### 日志文件 Log file
-
-<!--
-请提供内核日志:工作空间/temp/siyuan.log
-The program log file is located at: workspace/temp/siyuan.log
--->
-
-### 更多信息 More information
-
-<!--
-请提供任何附加信息,以帮助我们更好地定位问题。
-Please provide other additional information to help us diagnose the problem.
--->
\ 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 0000000000..8fcc52dec9
--- /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 99d680b0ab..3ba13e0cec 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,2 +1 @@
blank_issues_enabled: false
-