Skip to content

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

:memo: Improve issue templates

Daniel745ab1475acd
diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml
index a8949be51f..c201c36cab 100644
--- a/.github/ISSUE_TEMPLATE/1-bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml
@@ -1,7 +1,11 @@
name: 🐛 Bug report
description: Report defects to help us improve
-title: "Please enter the title of the bug report"
body:
+ - type: markdown
+ attributes:
+ value: |
+ > [!WARNING]
+ > Do not publicly report security vulnerabilities. Please create a [private security advisory](https://github.com/siyuan-note/siyuan/security/advisories/new) instead.
- type: checkboxes
attributes:
label: Is there an existing issue for this?
@@ -36,6 +40,17 @@ body:
Please describe the problem you are experiencing as clearly as possible.
validations:
required: true
+ - type: textarea
+ attributes:
+ label: Steps to reproduce
+ description: |
+ Please provide the exact steps needed to reproduce the problem, preferably with a minimal reproducible example.
+ placeholder: |
+ 1.
+ 2.
+ 3.
+ validations:
+ required: true
- type: textarea
attributes:
label: Expected result
@@ -57,20 +72,19 @@ body:
- Version:
- Operating System:
- Browser (if used):
- render: markdown
validations:
required: true
- type: textarea
attributes:
label: Log file
description: |
- The program log file is located at `workspace/temp/siyuan.log`
+ The program log file is located at `workspace/temp/siyuan.log`. Please attach relevant logs after removing private information, or leave this field blank if no relevant log is available.
validations:
- required: true
+ required: false
- type: textarea
attributes:
label: More information
description: |
Please provide other additional information to help us diagnose the problem.
validations:
- required: false
\ No newline at end of file
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/2-bug-report-zh-CN.yml b/.github/ISSUE_TEMPLATE/2-bug-report-zh-CN.yml
index c97d4c3999..d1c765c520 100644
--- a/.github/ISSUE_TEMPLATE/2-bug-report-zh-CN.yml
+++ b/.github/ISSUE_TEMPLATE/2-bug-report-zh-CN.yml
@@ -1,7 +1,11 @@
name: 🐛 缺陷报告
description: 报告缺陷以帮助我们改进
-title: "请输入缺陷报告标题"
body:
+ - type: markdown
+ attributes:
+ value: |
+ > [!WARNING]
+ > 请勿公开报告安全漏洞,请改为创建[私密安全公告](https://github.com/siyuan-note/siyuan/security/advisories/new)。
- type: checkboxes
attributes:
label: 是否存在已有相关 issue?
@@ -36,6 +40,17 @@ body:
请尽可能清晰地描述您遇到的问题。
validations:
required: true
+ - type: textarea
+ attributes:
+ label: 重现步骤
+ description: |
+ 请提供重现该问题所需的确切步骤,最好同时提供最小可重现示例。
+ placeholder: |
+ 1.
+ 2.
+ 3.
+ validations:
+ required: true
- type: textarea
attributes:
label: 预期结果
@@ -57,20 +72,19 @@ body:
- 版本:
- 操作系统:
- 浏览器(如果使用了):
- render: markdown
validations:
required: true
- type: textarea
attributes:
label: 日志文件
description: |
- 程序日志文件位于 `工作空间/temp/siyuan.log`
+ 程序日志文件位于 `工作空间/temp/siyuan.log`。请在移除隐私信息后附上相关日志;如果没有相关日志,可以留空。
validations:
- required: true
+ required: false
- type: textarea
attributes:
label: 更多信息
description: |
请提供其他附加信息以帮助我们诊断问题。
validations:
- required: false
\ No newline at end of file
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/3-feature-request.yml b/.github/ISSUE_TEMPLATE/3-feature-request.yml
index 6adf758b66..e80edb23fd 100644
--- a/.github/ISSUE_TEMPLATE/3-feature-request.yml
+++ b/.github/ISSUE_TEMPLATE/3-feature-request.yml
@@ -1,37 +1,41 @@
name: ✨ Request new features
description: Come up with the features you expected
-title: "Please enter the title of the feature request"
body:
- type: markdown
attributes:
value: |
> [!IMPORTANT]
- > We are currently not accepting new feature requests for Graph View.
- - type: textarea
+ > We are currently not accepting new graph-related feature requests.
+ - type: checkboxes
attributes:
- label: In what scenarios do you need this feature?
+ label: Before submitting
description: |
- Please describe the functions and application scenarios you expect as clearly and accurately as possible.
- validations:
- required: true
+ Please complete all of the following confirmations.
+ options:
+ - label: I have searched the existing issues
+ required: true
+ - label: This issue contains only one feature request
+ required: true
+ - label: This request is not related to graph features
+ required: true
- type: textarea
attributes:
- label: Describe the optimal solution
+ label: What problem does this feature solve?
description: |
- Please try to describe the best solution. There may be similar software that implements this feature. Please also list it for our reference.
+ Please describe the problem and its application scenarios as clearly and accurately as possible.
validations:
required: true
- type: textarea
attributes:
- label: Describe the candidate solution
+ label: Describe the expected result or proposed solution
description: |
- Please describe the candidate solutions you can accept as clearly and accurately as possible.
+ Please describe the expected result or your proposed solution. If other software provides a similar feature, please list it for our reference.
validations:
- required: false
+ required: true
- type: textarea
attributes:
label: Other information
description: |
- Please provide any additional information about this feature suggestion.
+ Please provide any additional context, screenshots, links, or related issues.
validations:
required: false
diff --git a/.github/ISSUE_TEMPLATE/4-feature-request-zh-CN.yml b/.github/ISSUE_TEMPLATE/4-feature-request-zh-CN.yml
index 54561360ee..42b41b0ef0 100644
--- a/.github/ISSUE_TEMPLATE/4-feature-request-zh-CN.yml
+++ b/.github/ISSUE_TEMPLATE/4-feature-request-zh-CN.yml
@@ -1,37 +1,41 @@
name: ✨ 新功能请求
description: 提出您期望的功能
-title: "请输入功能请求标题"
body:
- type: markdown
attributes:
value: |
> [!IMPORTANT]
> 我们目前不再接受关系图相关的新功能提议。
- - type: textarea
+ - type: checkboxes
attributes:
- label: 您在什么场景下需要这个功能?
+ label: 提交前确认
description: |
- 请尽可能清晰准确地描述您期望的功能和应用场景。
- validations:
- required: true
+ 请完成以下所有确认。
+ options:
+ - label: 我已搜索现有 issue
+ required: true
+ - label: 本 issue 仅包含一个功能提议
+ required: true
+ - label: 本提议与关系图无关
+ required: true
- type: textarea
attributes:
- label: 描述最优解决方案
+ label: 该功能将解决什么问题?
description: |
- 请尝试描述最佳解决方案。可能有其他软件实现了此功能,请一并列出以供我们参考。
+ 请尽可能清晰准确地描述需要解决的问题及其应用场景。
validations:
required: true
- type: textarea
attributes:
- label: 描述候选解决方案
+ label: 描述预期结果或建议方案
description: |
- 请尽可能清晰准确地描述您可以接受的候选解决方案。
+ 请描述预期结果或您的建议方案。如果其他软件提供了类似功能,请一并列出以供我们参考。
validations:
- required: false
+ required: true
- type: textarea
attributes:
label: 其他信息
description: |
- 请提供有关此功能建议的任何附加信息。
+ 请提供其他相关背景、截图、链接或相关 issue。
validations:
required: false