diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 4b6e53e55..000000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -name: Bug Report -about: Something isn't working as expected -title: '' -labels: Bug -assignees: '' - ---- - -Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate. -请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。 - -## Issue Checklist - - -- [ ] I am using NexT version 8.0 or later. -- [ ] I have already read the [Troubleshooting page of Hexo](https://hexo.io/docs/troubleshooting) and [Troubleshooting page of NexT](https://theme-next.js.org/docs/troubleshooting.html). -- [ ] I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me. - -*** - -## Expected behavior - - - -## Actual behavior - - -- Links to demo site with this issue: -- Links to repository or source code of the blog: -- Screenshots: - - - -## Steps to reproduce the behavior - - - -## Environment Information - -### Node.js and NPM Information - -``` - -``` - -### Package dependencies Information - -``` - -``` - -### Hexo Configuration - -```yml - -``` - -### NexT Configuration - -```yml - -``` - -## Other Information diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 000000000..ea7682581 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,97 @@ +name: Bug report +description: Something isn't working as expected +#title: "" +labels: + - Bug +#assignees: "" +body: + - type: markdown + id: overall + attributes: + value: | + Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate. + 请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。 + - type: checkboxes + id: checklist + attributes: + label: Issue Checklist + description: | + (我确认我已经查看了) + options: + - label: I am using NexT version 8.0 or later. + required: true + - label: I have already read the [Troubleshooting page of Hexo](https://hexo.io/docs/troubleshooting) and [Troubleshooting page of NexT](https://theme-next.js.org/docs/troubleshooting.html). + required: true + - label: I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me. + required: true + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: "(预期行为)" + validations: + required: true + - type: textarea + id: actual-behavior + attributes: + label: Actual behavior + description: | + (实际行为) + Please provide the following information (请同时提供网站链接和屏幕截图) + value: | + - Links to demo site with this issue: + - Links to repository or source code of the blog: + - Screenshots: + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce the behavior + description: "(重现步骤)" + validations: + required: true + - type: markdown + id: env + attributes: + value: | + ## Environment Information + - type: textarea + id: nodejs-info + attributes: + label: Node.js and NPM Information + description: "Paste output from `node -v && npm -v` (粘贴 `node -v && npm -v` 输出的信息)" + render: Text + validations: + required: true + - type: textarea + id: dependencies + attributes: + label: Package dependencies Information + description: "Paste output from `npm ls --depth 0` in Hexo root directory (粘贴在 Hexo 根目录下 `npm ls --depth 0` 输出的信息)" + render: Text + validations: + required: true + - type: textarea + id: hexo-config + attributes: + label: Hexo Configuration + description: "Paste configuration from Hexo `_config.yml` (粘贴 Hexo `_config.yml` 中的内容)" + render: YAML + validations: + required: true + - type: textarea + id: next-config + attributes: + label: NexT Configuration + description: "Paste ONLY CHANGED CONFIGURATION from NexT `_config.yml` (只粘贴 NexT 主题配置文件 `_config.yml` 中修改过的部分)" + render: YAML + validations: + required: true + - type: textarea + id: other-info + attributes: + label: Other Information + description: "e.g. Browser, System" + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index 7fd47c9aa..000000000 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: Feature Request -about: Suggest an idea for this project -title: '' -labels: Feature Request -assignees: '' - ---- - -Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate. -请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。 - -## Issue Checklist - - -- [ ] I am using NexT version 8.0 or later. -- [ ] I have already read the relevant documents of [Hexo](https://hexo.io/docs/) and [NexT](https://theme-next.js.org/docs/). -- [ ] I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me. - -*** - -## Expected behavior - - - -## Actual behavior - - -- Links to demo site with this issue: -- Links to repository or source code of the blog: -- Screenshots: - - - -## Steps to reproduce the behavior - - - -## Other Information diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 000000000..032ade5a3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,60 @@ +name: Feature Request +description: Suggest an idea for this project +#title: "" +labels: + - Feature Request +#assignees: "" +body: + - type: markdown + id: overall + attributes: + value: | + Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate. + 请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。 + - type: checkboxes + id: checklist + attributes: + label: Issue Checklist + description: | + (我确认我已经查看了) + options: + - label: I am using NexT version 8.0 or later. + required: true + - label: I have already read the [Troubleshooting page of Hexo](https://hexo.io/docs/troubleshooting) and [Troubleshooting page of NexT](https://theme-next.js.org/docs/troubleshooting.html). + required: true + - label: I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me. + required: true + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: "(预期行为)" + validations: + required: true + - type: textarea + id: actual-behavior + attributes: + label: Actual behavior + description: | + (实际行为) + Please provide the following information (请同时提供网站链接和屏幕截图) + value: | + - Links to demo site with this issue: + - Links to repository or source code of the blog: + - Screenshots: + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce the behavior + description: "(重现步骤)" + validations: + required: true + - type: textarea + id: other-info + attributes: + label: Other Information + description: "e.g. Browser, System" + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/other.md b/.github/ISSUE_TEMPLATE/other.md deleted file mode 100644 index 6bf1fe1a0..000000000 --- a/.github/ISSUE_TEMPLATE/other.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Other -about: Not a feature request or bug report -title: '' -labels: Question -assignees: '' - ---- - -Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate. -请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。 - -## Issue Checklist - - -- [ ] I am using NexT version 8.0 or later. -- [ ] I have already read the relevant documents of [Hexo](https://hexo.io/docs/) and [NexT](https://theme-next.js.org/docs/). -- [ ] I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me. - -*** - -## Other Information diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml new file mode 100644 index 000000000..92c30b2a9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -0,0 +1,33 @@ +name: Other +description: Not a feature request or bug report +#title: "" +labels: + - Question +#assignees: "" +body: + - type: markdown + id: overall + attributes: + value: | + Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate. + 请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。 + - type: checkboxes + id: checklist + attributes: + label: Issue Checklist + description: | + (我确认我已经查看了) + options: + - label: I am using NexT version 8.0 or later. + required: true + - label: I have already read the [Troubleshooting page of Hexo](https://hexo.io/docs/troubleshooting) and [Troubleshooting page of NexT](https://theme-next.js.org/docs/troubleshooting.html). + required: true + - label: I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me. + required: true + - type: textarea + id: other-info + attributes: + label: Other Information + description: "e.g. Browser, System" + validations: + required: true