Skip to content

Commit

Permalink
Create issue forms (theme-next#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Nov 14, 2022
1 parent ae3e3a5 commit 0e0ebc0
Show file tree
Hide file tree
Showing 6 changed files with 190 additions and 126 deletions.
65 changes: 0 additions & 65 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

97 changes: 97 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -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
39 changes: 0 additions & 39 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -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
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/other.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0e0ebc0

Please sign in to comment.