diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 9014979f..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,18 +0,0 @@ - - -**我确定我已经查看了** (标注`[ ]`为`[x]`) - -- [ ] [Halo 文档](https://docs.halo.run) -- [ ] [Github Wiki 常见问题](https://github.com/halo-dev/halo/wiki/4.-%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98) -- [ ] [其他 Issues](https://github.com/halo-dev/halo-admin/issues) - ----- - -**我要申请** (标注`[ ]`为`[x]`) - -- [ ] BUG 反馈 -- [ ] 添加新的特性或者功能 -- [ ] 请求技术支持 diff --git a/.github/ISSUE_TEMPLATE/bug_report.en.yml b/.github/ISSUE_TEMPLATE/bug_report.en.yml new file mode 100644 index 00000000..2b5ac9af --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.en.yml @@ -0,0 +1,61 @@ +name: Bug Report +description: File a bug report +labels: [bug] +body: + - type: markdown + id: preface + attributes: + value: "Thanks for taking the time to fill out this bug report!" + - type: markdown + id: environment + attributes: + value: "## Environment" + - type: input + id: version + validations: + required: true + attributes: + label: What is version of Halo has the issue? + description: "Can be found in backstage management system." + - type: dropdown + id: database + validations: + required: true + attributes: + label: "What database are you using?" + description: "Can be found in backstage management system." + options: + - H2 + - MySQL 5.7 + - MySQL 8.x + - Other + - type: input + id: site-url + attributes: + label: "Your site address." + description: "Note your online address, if possible." + placeholder: "ex. https://halo.run" + validations: + required: false + - type: markdown + id: details + attributes: + value: "## Details" + - type: textarea + id: what-happened + attributes: + label: "What happened?" + description: "Also tell us, what did you expect to happen?" + validations: + required: true + - type: textarea + id: logs + attributes: + label: "Relevant log output" + description: "Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks." + render: shell + - type: textarea + id: additional-information + attributes: + label: "Additional information" + description: "If you have other information to note, you can fill it in here (screenshots, videos, etc.)." diff --git a/.github/ISSUE_TEMPLATE/bug_report.zh.yml b/.github/ISSUE_TEMPLATE/bug_report.zh.yml new file mode 100644 index 00000000..df1f1e84 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.zh.yml @@ -0,0 +1,62 @@ +name: Bug 反馈 +description: 提交 Bug 反馈 +labels: [bug] +body: + - type: markdown + id: preface + attributes: + value: | + 感谢你花时间填写此错误报告!在开始之前,我们非常推荐阅读一遍[《开源最佳实践》](https://github.com/LinuxSuRen/open-source-best-practice),这会在很大程度上提高我们彼此的效率。 + - type: markdown + id: environment + attributes: + value: "## 环境信息" + - type: input + id: version + validations: + required: true + attributes: + label: "是什么版本出现了此问题?" + description: "可以在管理后台的关于页面中找到。" + - type: dropdown + id: database + validations: + required: true + attributes: + label: "使用的什么数据库?" + description: "可以在管理后台的关于页面中找到。" + options: + - H2 + - MySQL 5.7 + - MySQL 8.x + - Other + - type: input + id: site-url + attributes: + label: "在线站点地址" + description: "请提供你的站点地址,如果可以的话,这可能会帮助我们更好的定位问题。" + placeholder: "ex. https://halo.run" + validations: + required: false + - type: markdown + id: details + attributes: + value: "## 详细信息" + - type: textarea + id: what-happened + attributes: + label: "发生了什么?" + description: "最好还告诉我们,你预计会发生什么。" + validations: + required: true + - type: textarea + id: logs + attributes: + label: "相关日志输出" + description: "请复制并粘贴任何相关的日志输出。 这将自动格式化为代码,因此无需反引号。" + render: shell + - type: textarea + id: additional-information + attributes: + label: "附加信息" + description: "如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。" diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..395e019f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: 对 Halo 有其他问题 + url: https://bbs.halo.run + about: 如果你对 Halo 有其他想要提问的,欢迎到我们的官方社区进行提问。 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.en.yml b/.github/ISSUE_TEMPLATE/feature_request.en.yml new file mode 100644 index 00000000..8d090c16 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.en.yml @@ -0,0 +1,31 @@ +name: Feature Request +description: File a feature request +body: + - type: markdown + id: preface + attributes: + value: "Hello there! Thank you for submitting new features for Halo. Please spend a little bit to fill in the following instructions in detail." + - type: markdown + id: environment + attributes: + value: "## Environment" + - type: input + id: version + attributes: + label: "Your current Halo version" + description: "Can be found in backstage management system." + - type: markdown + id: details + attributes: + value: "## Details" + - type: textarea + id: description + attributes: + label: "Describe this feature" + validations: + required: true + - type: textarea + id: additional-information + attributes: + label: "Additional information" + description: "If you have other information to note, you can fill it in here (screenshots, videos, etc.)." \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.zh.yml b/.github/ISSUE_TEMPLATE/feature_request.zh.yml new file mode 100644 index 00000000..30e22ab0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.zh.yml @@ -0,0 +1,31 @@ +name: 新特性建议 +description: 提交新特性建议 +body: + - type: markdown + id: preface + attributes: + value: "你好!感谢你为 Halo 提交新特性建议。在开始之前,我们非常推荐阅读一遍[《开源最佳实践》](https://github.com/LinuxSuRen/open-source-best-practice),这会在很大程度上提高我们彼此的效率。" + - type: markdown + id: environment + attributes: + value: "## 环境信息" + - type: input + id: version + attributes: + label: "你当前使用的版本" + description: "可以在管理后台的关于页面中找到。" + - type: markdown + id: details + attributes: + value: "## 详细信息" + - type: textarea + id: description + attributes: + label: "描述一下此特性" + validations: + required: true + - type: textarea + id: additional-information + attributes: + label: "附加信息" + description: "如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。" \ No newline at end of file