Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore: add issue template (#72)

白熱60d2d1089cbc
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000000..0172f70310
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,108 @@
+name: 🐛 Bug report
+description: Create a report to help us improve.
+labels: bug
+title: '[Bug]'
+
+body:
+ - type: checkboxes
+ id: initial-checklist
+ attributes:
+ label: Initial checklist
+ options:
+ - label: Is this really a problem?
+ required: true
+ - label: I have searched the Github Issues for similar issues, but did not find anything.
+ required: true
+
+ - type: input
+ id: affected-versions
+ attributes:
+ label: Affected packages and versions
+ description: Please test using the latest version of the relevant packages to make sure your issue has not already been fixed.
+ validations:
+ required: true
+
+# - type: input
+# id: runnable-example
+# attributes:
+# label: Link to runnable example
+# description: |
+# Link to repository or sandbox with runnable example of the issue.
+
+# Alternatively, use the next section *Steps to reproduce*.
+# validations:
+# required: false
+
+ - type: textarea
+ id: steps-to-reproduce
+ attributes:
+ label: Steps to reproduce
+ description: How did this happen? Please provide a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example).
+ validations:
+ required: true
+
+ - type: textarea
+ id: expected-behavior
+ attributes:
+ label: Expected behavior
+ description: What should happen?
+ validations:
+ required: true
+
+ - type: textarea
+ id: actual-behavior
+ attributes:
+ label: Actual behavior
+ description: What happens instead?
+ validations:
+ required: true
+
+ - type: dropdown
+ id: javascript-runtime
+ attributes:
+ label: Runtime
+ description: |
+ What Browser are you using to run the editor?
+ multiple: true
+ options:
+ - Chrome
+ - Safari
+ - Firefox
+ - Electron
+ - Other (please specify in steps to reproduce)
+ validations:
+ required: false
+
+ - type: dropdown
+ id: operating-system
+ attributes:
+ label: OS
+ description: What operating system are you using?
+ multiple: true
+ options:
+ - Windows
+ - Linux
+ - macOS
+ - Other (please specify in steps to reproduce)
+ validations:
+ required: false
+
+ - type: dropdown
+ id: build-tools
+ attributes:
+ label: Build and bundle tools
+ description: What, if any, tools are used to build or bundle the project?
+ multiple: true
+ options:
+ - Webpack
+ - Rollup
+ - esbuild
+ - Parcel
+ - Create React App
+ - Gatsby
+ - Next.js
+ - Remix
+ - Vite
+ - Other (please specify in steps to reproduce)
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/bug_report.zh-CN.yml b/.github/ISSUE_TEMPLATE/bug_report.zh-CN.yml
new file mode 100644
index 0000000000..40b64e6463
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.zh-CN.yml
@@ -0,0 +1,108 @@
+name: 🐛 Bug 报告
+description: 尽管我们提供了中文 Bug 报告的入口,但还是建议您使用英语描述问题,这可以让更多的人来帮助您。
+labels: bug
+title: '[Bug]'
+
+body:
+ - type: checkboxes
+ id: initial-checklist
+ attributes:
+ label: 初始清单
+ options:
+ - label: 这真的是个问题吗?
+ required: true
+ - label: 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。
+ required: true
+
+ - type: input
+ id: affected-versions
+ attributes:
+ label: 受影响的包和版本
+ description: 请使用最新版本的相关包进行测试,以确保您的问题尚未解决。
+ validations:
+ required: true
+
+# - type: input
+# id: runnable-example
+# attributes:
+# label: Link to runnable example
+# description: |
+# Link to repository or sandbox with runnable example of the issue.
+
+# Alternatively, use the next section *Steps to reproduce*.
+# validations:
+# required: false
+
+ - type: textarea
+ id: steps-to-reproduce
+ attributes:
+ label: 复现步骤
+ description: 如何复现您的问题?请提供一个 [最小可复现的例子](https://stackoverflow.com/help/minimal-reproducible-example).
+ validations:
+ required: true
+
+ - type: textarea
+ id: expected-behavior
+ attributes:
+ label: 预期行为
+ description: 本应发生什么?
+ validations:
+ required: true
+
+ - type: textarea
+ id: actual-behavior
+ attributes:
+ label: 实际行为
+ description: 实际发生了什么?
+ validations:
+ required: true
+
+ - type: dropdown
+ id: javascript-runtime
+ attributes:
+ label: 运行环境
+ description: |
+ 您使用的浏览器是?
+ multiple: true
+ options:
+ - Chrome
+ - Safari
+ - Firefox
+ - Electron
+ - 其他 (请在复现步骤中说明)
+ validations:
+ required: false
+
+ - type: dropdown
+ id: operating-system
+ attributes:
+ label: 操作系统
+ description: 您正在使用什么操作系统?
+ multiple: true
+ options:
+ - Windows
+ - Linux
+ - macOS
+ - 其他 (请在复现步骤中说明)
+ validations:
+ required: false
+
+ - type: dropdown
+ id: build-tools
+ attributes:
+ label: 构建工具
+ description: 如果有使用的话,您使用的是什么构建工具?
+ multiple: true
+ options:
+ - Webpack
+ - Rollup
+ - esbuild
+ - Parcel
+ - Create React App
+ - Gatsby
+ - Next.js
+ - Remix
+ - Vite
+ - 其他 (请在复现步骤中说明)
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000000..e1d8d77256
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,5 @@
+blank_issues_enabled: false
+contact_links:
+ - name: 💬 Github Discussions
+ url: https://github.com/dream-num/univer/discussions
+ about: Use github issues for bug reports and feature requests. For questions please use discussions. | Github issues 仅用于错误报告和功能请求。如有疑问请使用 Github Discussions。
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 0000000000..4616473312
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,39 @@
+name: 🚀 Feature request
+description: Suggest an idea
+labels: feature request
+title: '[Feature]'
+
+body:
+ - type: checkboxes
+ id: initial-checklist
+ attributes:
+ label: Initial checklist
+ options:
+ - label: Is this really a problem?
+ required: true
+ - label: I have searched the Github Issues for similar issues, but did not find anything.
+ required: true
+
+ - type: textarea
+ id: problem
+ attributes:
+ label: Problem
+ description: Please describe the problem you are trying to solve here.
+ validations:
+ required: true
+
+ - type: textarea
+ id: solution
+ attributes:
+ label: Solution
+ description: What should happen? Please describe the desired behavior.
+ validations:
+ required: true
+
+ - type: textarea
+ id: alternatives
+ attributes:
+ label: Alternatives
+ description: What are the alternative solutions? Can this be solved in a different way?
+ validations:
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/feature_request.zh-CN.yml b/.github/ISSUE_TEMPLATE/feature_request.zh-CN.yml
new file mode 100644
index 0000000000..ca59362f7c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.zh-CN.yml
@@ -0,0 +1,39 @@
+name: 🚀 新功能请求
+description: 尽管我们提供了中文 feature request 的入口,但还是建议您使用英语描述需求,这可以让更多的人来帮助您。
+labels: feature request
+title: '[Feature]'
+
+body:
+ - type: checkboxes
+ id: initial-checklist
+ attributes:
+ label: 初始清单
+ options:
+ - label: 这真的是个问题吗?
+ required: true
+ - label: 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。
+ required: true
+
+ - type: textarea
+ id: problem
+ attributes:
+ label: 问题
+ description: 请描述一下你想要解决的问题。
+ validations:
+ required: true
+
+ - type: textarea
+ id: solution
+ attributes:
+ label: 解决方案
+ description: 您期望的解决方案是什么?请描述预期行为。
+ validations:
+ required: true
+
+ - type: textarea
+ id: alternatives
+ attributes:
+ label: 替代方案
+ description: 有其他的解决方案吗?这个问题是否可以用另一种方式解决?
+ validations:
+ required: true