Skip to content

Commit

Permalink
update order of bug.yml fields based on PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sigveio committed Aug 24, 2021
1 parent fd08339 commit 12a3661
Showing 1 changed file with 32 additions and 29 deletions.
61 changes: 32 additions & 29 deletions .github/ISSUE_TEMPLATE/bug.yml
@@ -1,5 +1,5 @@
name: Bug Report 🪲
description: Create a bug report to help us improve
name: Bug Report (alt) 🪲
description: Alternative bug report layout
title: '[Bug]: '
labels: ['Bug Report', 'Needs Triage']
body:
Expand Down Expand Up @@ -33,12 +33,29 @@ body:
attributes:
value: |
:bangbang:   Bug reports without a minimal reproduction will be rejected. :bangbang:
---
- type: input
id: version
attributes:
label: Version
description: |
The version of Jest you are using.
Is it the [latest](https://github.com/facebook/jest/releases)? Test and see if the bug has already been fixed.
placeholder: ex. 27.0.6
validations:
required: true
- type: textarea
id: what-happened
id: reproduction
attributes:
label: Describe the bug
description: A clear and concise description of the unexpected behavior.
placeholder: A bug happened!
label: Steps to reproduce
description: Please link to a repository with a minimal reproduction and describe accurately how we can reproduce/verify the bug.
placeholder: |
Example steps (replace with your own):
1. Clone my repo at https://github.com/<myuser>/example
2. yarn install
3. yarn test
4. You should see the error come up
validations:
required: true
- type: textarea
Expand All @@ -50,27 +67,20 @@ body:
validations:
required: true
- type: textarea
id: reproduction
id: what-happened
attributes:
label: Steps to reproduce
description: Please link to a repository with a minimal reproduction and describe accurately how we can reproduce/verify the bug.
placeholder: |
Example steps (replace with your own):
1. Clone my repo at https://github.com/<myuser>/example
2. npm run test
3. You should see the error come up
label: Actual behavior
description: A clear and concise description of the unexpected behavior.
placeholder: A bug happened!
validations:
required: true
- type: input
id: version
- type: textarea
id: context
attributes:
label: Version
description: |
The version of Jest you are using.
Is it the [latest](https://github.com/facebook/jest/releases)? Test and see if the bug has already been fixed.
placeholder: ex. 27.0.6
label: Additional context
description: Anything else that might be relevant
validations:
required: true
required: false
- type: textarea
id: envinfo
attributes:
Expand All @@ -91,10 +101,3 @@ body:
render: shell
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Anything else that might be relevant
validations:
required: false

0 comments on commit 12a3661

Please sign in to comment.