From ac2ec54d4cff27ce607c0069e8a6c47162250f75 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 18:36:37 -0500 Subject: [PATCH 01/11] creates issue forms See https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms --- .github/ISSUE_TEMPLATE/bug-report.md | 65 --------------- .github/ISSUE_TEMPLATE/bug-report.yml | 93 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.md | 39 --------- .github/ISSUE_TEMPLATE/feature-request.yml | 57 +++++++++++++ .github/ISSUE_TEMPLATE/other.md | 22 ----- .github/ISSUE_TEMPLATE/other.yml | 30 +++++++ 6 files changed, 180 insertions(+), 126 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature-request.md create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml delete mode 100644 .github/ISSUE_TEMPLATE/other.md create mode 100644 .github/ISSUE_TEMPLATE/other.yml 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..203fe65d0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,93 @@ +name: Bug report +description: Something isn't working as expected +#title: "" +labels: + - Bug +#assignees: "" +body: + - type: markdown + 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: | + (我确认我已经查看了) + Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) + options: + - label: I am using NexT version 8.0 or later. + - 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). + - label: I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me. + - 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 (请同时提供网站链接和屏幕截图) + placeholder: | + - 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 + 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: reproduce + 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..a9ffe5fb8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,57 @@ +name: Feature Request +description: Suggest an idea for this project +#title: "" +labels: + - Feature Request +#assignees: "" +body: + - type: markdown + 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: | + (我确认我已经查看了) + Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) + options: + - label: I am using NexT version 8.0 or later. + - 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). + - label: I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me. + - 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 (请同时提供网站链接和屏幕截图) + placeholder: | + - 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: reproduce + 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..a664b89a8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -0,0 +1,30 @@ +name: Other +description: Not a feature request or bug report +#title: "" +labels: + - Question +#assignees: "" +body: + - type: markdown + 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: | + (我确认我已经查看了) + Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) + options: + - label: I am using NexT version 8.0 or later. + - 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). + - label: I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me. + - type: textarea + id: reproduce + attributes: + label: Other Information + description: "e.g. Browser, System" + validations: + required: true From c04eb3015126a9f88762d4de58616e95843e207e Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 18:39:09 -0500 Subject: [PATCH 02/11] Update bug-report.yml --- .github/ISSUE_TEMPLATE/bug-report.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 203fe65d0..8e5d184e4 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -6,6 +6,7 @@ labels: #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. @@ -19,8 +20,11 @@ body: Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) 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: @@ -49,6 +53,7 @@ body: validations: required: true - type: markdown + id: env attributes: value: | Environment Information From f813f3f51412be4f53381b6ec98ca45ffb69325c Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 18:40:36 -0500 Subject: [PATCH 03/11] Update other.yml --- .github/ISSUE_TEMPLATE/other.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml index a664b89a8..133f16e7f 100644 --- a/.github/ISSUE_TEMPLATE/other.yml +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -6,6 +6,7 @@ labels: #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. @@ -19,8 +20,11 @@ body: Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) 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: reproduce attributes: From ae3e588be2e27283bb9a67deb8b13689612aff81 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 18:41:14 -0500 Subject: [PATCH 04/11] Update feature-request.yml --- .github/ISSUE_TEMPLATE/feature-request.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index a9ffe5fb8..3daaf68de 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -6,6 +6,7 @@ labels: #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. @@ -19,8 +20,11 @@ body: Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) 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: @@ -49,7 +53,7 @@ body: validations: required: true - type: textarea - id: reproduce + id: other-info attributes: label: Other Information description: "e.g. Browser, System" From 276fcd6236f3b97fa1202154ea154e62b5515470 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 18:41:25 -0500 Subject: [PATCH 05/11] Update other.yml --- .github/ISSUE_TEMPLATE/other.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml index 133f16e7f..c4949e145 100644 --- a/.github/ISSUE_TEMPLATE/other.yml +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -26,7 +26,7 @@ body: - 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: reproduce + id: other-info attributes: label: Other Information description: "e.g. Browser, System" From cb874f1db9c23f0d12abcea36687ebe800fd87c1 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 18:41:37 -0500 Subject: [PATCH 06/11] Update bug-report.yml --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 8e5d184e4..24c26bbc5 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -90,7 +90,7 @@ body: validations: required: true - type: textarea - id: reproduce + id: other-info attributes: label: Other Information description: "e.g. Browser, System" From e92a268e48a91429625bd6ddab659483eeeb72af Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 18:44:03 -0500 Subject: [PATCH 07/11] Update bug-report.yml --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 24c26bbc5..8e096fc2a 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -39,7 +39,7 @@ body: description: | (实际行为) Please provide the following information (请同时提供网站链接和屏幕截图) - placeholder: | + value: | - Links to demo site with this issue: - Links to repository or source code of the blog: - Screenshots: From b4e98c2922467cdd5bcd986155d71401bdfee4a0 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 18:44:14 -0500 Subject: [PATCH 08/11] Update feature-request.yml --- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 3daaf68de..ae6bbbab0 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -39,7 +39,7 @@ body: description: | (实际行为) Please provide the following information (请同时提供网站链接和屏幕截图) - placeholder: | + value: | - Links to demo site with this issue: - Links to repository or source code of the blog: - Screenshots: From b34dbac4c0283766516448bc26394e9381f716df Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 22:28:43 -0500 Subject: [PATCH 09/11] Update bug-report.yml --- .github/ISSUE_TEMPLATE/bug-report.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 8e096fc2a..ea7682581 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -17,7 +17,6 @@ body: label: Issue Checklist description: | (我确认我已经查看了) - Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) options: - label: I am using NexT version 8.0 or later. required: true @@ -56,7 +55,7 @@ body: id: env attributes: value: | - Environment Information + ## Environment Information - type: textarea id: nodejs-info attributes: From 7f5b8d294ffe480162e13057e815b71a5da1efec Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 22:29:22 -0500 Subject: [PATCH 10/11] Update feature-request.yml --- .github/ISSUE_TEMPLATE/feature-request.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index ae6bbbab0..032ade5a3 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -17,7 +17,6 @@ body: label: Issue Checklist description: | (我确认我已经查看了) - Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) options: - label: I am using NexT version 8.0 or later. required: true From 75b9e2a0ef6ee8685ff84a571277c66c6342aa3d Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 13 Nov 2022 22:29:33 -0500 Subject: [PATCH 11/11] Update other.yml --- .github/ISSUE_TEMPLATE/other.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml index c4949e145..92c30b2a9 100644 --- a/.github/ISSUE_TEMPLATE/other.yml +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -17,7 +17,6 @@ body: label: Issue Checklist description: | (我确认我已经查看了) - Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) options: - label: I am using NexT version 8.0 or later. required: true