Skip to content

Commit

Permalink
chore: use github issue forms
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Oct 7, 2023
1 parent a6b8b72 commit 3d9dc56
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 58 deletions.
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

94 changes: 94 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Bug Report
description: File a bug report / 报告错误
title: 'bug: '
labels: ['unconfirmed']
body:
- type: markdown
attributes:
value: |
The issue list is reserved exclusively for bug reports and feature requests. That means we do not accept usage questions, for usage questions, please use the following resources:
- Read the [guide documentation](https://d.umijs.org/guide) or search documentation via issue keywords
- Make sure you have search your question in [FAQ](https://d.umijs.org/guide/faq) and [release notes](https://github.com/umijs/dumi/releases)
- Look for ask questions in [Discussions](https://github.com/umijs/dumi/discussions)
Also try to search for your issue - it may have already been answered or even fixed in the development branch. However, if you find that an old, closed issue still persists in the latest version, you should open a new issue using the form below instead of commenting on the old issue.
---
dumi 的 issue 列表只接受 Bug 报告或是新功能请求 (Feature Request)。这意味着我们不接受用法问题(How to 类问题),对于使用中遇到的问题,请使用以下资源:
- 仔细阅读 [指南文档](https://d.umijs.org/guide) 或使用官网搜索问题关键字
- 提问前确保你在 [FAQ](https://d.umijs.org/guide/faq) 和 [发布日志](https://github.com/umijs/dumi/releases) 中搜索过
- 在 [Discussions](https://github.com/umijs/dumi/discussions) 搜索和提问
最后,在开 issue 前,可以先搜索一下以往的旧 issue - 你遇到的问题可能已经有人提了,也可能已经在最新版本中被修正。注意:如果你发现一个已经关闭的旧 issue 在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该用下面的表单开一个新的 issue。
- type: input
id: version
attributes:
label: Version
description: dumi version you now use
placeholder: ex. 2.2.12
validations:
required: true

- type: input
id: os
attributes:
label: OS Version
description: Operation system version you now use
placeholder: ex. macOS 14.0.0
validations:
required: true

- type: input
id: node
attributes:
label: Node.js Version
description: Node.js version you now use
placeholder: ex. 18.0.0
validations:
required: true

- type: input
id: browser
attributes:
label: Browser Version
description: Browser version you now use
placeholder: ex. Firefox 118.0.0
validations:
required: true

- type: input
id: reproduction
attributes:
label: Link to minimal reproduction
description: The minimal repository link to reproduce this issue
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to reproduce
validations:
required: true

- type: textarea
id: expected
attributes:
label: What is expected?
validations:
required: true

- type: textarea
id: happened
attributes:
label: What is actually happening?
validations:
required: true

- type: textarea
id: additional
attributes:
label: Any additional comments? (optional)
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Github Discussions
url: https://github.com/umijs/father/discussions
about: Ask or answer usage questions / 交流使用问题
18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature Request
description: Request a new feature / 提出新功能请求
title: 'feat: '
labels: ['enhancement']
body:
- type: markdown
attributes:
value: |
The issue list is reserved exclusively for bug reports and feature requests. That means we do not accept usage questions, for usage questions, please use the following resources:
- Read the [guide documentation](https://d.umijs.org/guide) or search documentation via issue keywords
- Make sure you have search your question in [FAQ](https://d.umijs.org/guide/faq) and [release notes](https://github.com/umijs/dumi/releases)
- Look for ask questions in [Discussions](https://github.com/umijs/dumi/discussions)
Also try to search for your issue - it may have already been answered or even fixed in the development branch. However, if you find that an old, closed issue still persists in the latest version, you should open a new issue using the form below instead of commenting on the old issue.
---
dumi 的 issue 列表只接受 Bug 报告或是新功能请求 (Feature Request)。这意味着我们不接受用法问题(How to 类问题),对于使用中遇到的问题,请使用以下资源:
- 仔细阅读 [指南文档](https://d.umijs.org/guide) 或使用官网搜索问题关键字
- 提问前确保你在 [FAQ](https://d.umijs.org/guide/faq) 和 [发布日志](https://github.com/umijs/dumi/releases) 中搜索过
- 在 [Discussions](https://github.com/umijs/dumi/discussions) 搜索和提问
最后,在开 issue 前,可以先搜索一下以往的旧 issue - 你遇到的问题可能已经有人提了,也可能已经在最新版本中被修正。注意:如果你发现一个已经关闭的旧 issue 在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该用下面的表单开一个新的 issue。
- type: textarea
id: description
attributes:
label: What problem does this feature solve?
validations:
required: true

- type: textarea
id: solution
attributes:
label: Possible Solution (optional)
9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

0 comments on commit 3d9dc56

Please sign in to comment.