-
-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add issue template forms (#1162)
- Loading branch information
1 parent
d7ab139
commit 548fbd0
Showing
7 changed files
with
164 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: 'Bug report (Browser)' | ||
description: I experience unexpected behavior using the library in a browser. | ||
labels: ['bug', 'scope:browser', 'needs:triage'] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: Thank you for reporting an issue to Mock Service Worker! Please fill in the template below to help our team tackle it in the most efficient way. | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: Prerequisites | ||
description: Before we begin, let's make sure your issue hasn't been solved already. | ||
options: | ||
- label: I confirm my issue is not in the [opened issues](https://github.com/mswjs/msw/issues) | ||
required: true | ||
- label: I confirm the [Frequently Asked Questions](https://mswjs.io/docs/faq) didn't contain the answer to my issue | ||
required: true | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: Environment check | ||
options: | ||
- label: I'm using the [latest](https://github.com/mswjs/msw/releases/latest) `msw` version | ||
required: true | ||
- label: I'm using Node.js version 14 or higher | ||
required: true | ||
|
||
- type: dropdown | ||
attributes: | ||
label: Browsers | ||
description: Select in which browser(s) you're experiencing the issue. | ||
multiple: true | ||
options: | ||
- 'Chromium (Chrome, Brave, etc.)' | ||
- 'Firefox' | ||
- 'Safari' | ||
|
||
- type: input | ||
attributes: | ||
label: Reproduction repository | ||
description: A URL to a GitHub repository where your issue can be reproduced. Issues without a reproduction repository **will be closed**. | ||
placeholder: i.e. https://github.com/you/msw-issue | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Reproduction steps | ||
description: Include any steps necessary to reproduce the issue in the repository above. | ||
placeholder: i.e. "npm test" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Current behavior | ||
description: Share any details on what behavior you're experiencing (error messages, logs, context). | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected behavior | ||
description: What do you expect to happen instead? | ||
validations: | ||
required: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: 'Bug report (Node.js)' | ||
description: I experience unexpected behavior using the library in Node.js (Jest/React Native/Express/etc.). | ||
labels: ['bug', 'scope:node', 'needs:triage'] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: Thank you for reporting an issue to Mock Service Worker! Please fill in the template below to help our team tackle it in the most efficient way. | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: Prerequisites | ||
description: Before we begin, let's make sure your issue hasn't been solved already. | ||
options: | ||
- label: I confirm my issue is not in the [opened issues](https://github.com/mswjs/msw/issues) | ||
required: true | ||
- label: I confirm the [Frequently Asked Questions](https://mswjs.io/docs/faq) didn't contain the answer to my issue | ||
required: true | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: Environment check | ||
description: Next, let's make sure you're using the library in the officially supported environments. | ||
options: | ||
- label: I'm using the [latest](https://github.com/mswjs/msw/releases/latest) `msw` version | ||
required: true | ||
- label: I'm using Node.js version 14 or higher | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: Node.js version | ||
description: Specify which Node.js version you're using (`node -v`). | ||
placeholder: i.e. v16.14.0 | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: Reproduction repository | ||
description: A URL to a GitHub repository where we can reproduce your issue. Issues without a reproduction repository **will be closed**. | ||
placeholder: i.e. https://github.com/you/msw-issue | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Reproduction steps | ||
description: Include any steps necessary to reproduce the issue in the repository above. | ||
placeholder: i.e. "npm test" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Current behavior | ||
description: Share any details on what behavior you're experiencing (error messages, logs, context). | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected behavior | ||
description: What do you expect to happen instead? | ||
validations: | ||
required: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: 'Feature request' | ||
description: Propose a feature or improvement. | ||
labels: [feature] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: Thank you for deciding to make Mock Service Worker better! Please fill in the form below so our team could understand your feature better. | ||
|
||
- type: dropdown | ||
attributes: | ||
label: Scope | ||
description: | ||
multiple: false | ||
options: | ||
- 'Adds a new behavior' | ||
- 'Improves an existing behavior' | ||
validations: | ||
required: true | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: Compatibility | ||
description: Check if your proposal is a breaking change. Leave this field unchecked if not sure. | ||
options: | ||
- label: This is a breaking change | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: Feature description | ||
description: "Describe the feature you're suggesting. Be as detailed as possible: include behavior description, pseudo-code snippets, comparison to similar features." | ||
validations: | ||
required: true |
This file was deleted.
Oops, something went wrong.