Skip to content

Commit

Permalink
chore(github): use issue forms (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai authored Jun 28, 2021
1 parent cab280a commit 13e495e
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 74 deletions.
28 changes: 22 additions & 6 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Bug report
name: Bug Report
description: 'Create a report to help us improve'
labels: bug
body:
Expand All @@ -15,32 +15,48 @@ body:
attributes:
description: Please verify that you've followed these steps.
options:
- label: I understand project setup issues should be asked on [StackOverflow](https://stackoverflow.com/questions/tagged/http-proxy-middleware) or in [GitHub Discussions](https://github.com/chimurai/http-proxy-middleware/discussions).
required: true
- label: I updated to latest `http-proxy-middleware`.
required: true
- type: textarea
attributes:
label: 'Describe the bug (be clear and concise)'
validations:
required: true
- type: markdown
attributes:
value: 'If possible, please provide minimal example on CodeSandbox that demonstrates the issue. You can use the following template: https://codesandbox.io/s/http-proxy-middleware-44oc1'
- type: textarea
attributes:
label: 'Step-by-step reproduction instructions'
value: |
1. ...
2. ...
render: shell
label: 'Server and `http-proxy-middleware` configuration'
validations:
required: true
- type: markdown
- type: textarea
attributes:
value: 'If possible, please provide minimal example on CodeSandbox that demonstrates the issue. You can use the following template: https://codesandbox.io/s/http-proxy-middleware-44oc1'
label: 'Expected behavior (be clear and concise)'
placeholder: Tell us in a clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: 'Step-by-step reproduction instructions'
render: typescript
label: 'What http-proxy-middleware configuration are you using?'
placeholder: 'Paste your http-proxy configuration here...'
validations:
required: true
- type: textarea
attributes:
label: 'Expected behavior'
render: shell
label: 'What OS/version and node/version are you seeing the problem?'
placeholder: 'ie. MacOS 11.4 and Node 16.2.0'
validations:
required: true
- type: textarea
attributes:
label: 'Additional context (optional)'
placeholder: 'Please add any addition information that might help the investigation'
53 changes: 0 additions & 53 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ body:
- type: textarea
attributes:
label: "Describe the feature you'd love to see"
placeholder: 'A clear and concise description of the feature request'
validations:
required: true
- type: textarea
attributes:
label: 'Additional context (optional)'
placeholder: 'Add any other context about the feature request here.'
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

0 comments on commit 13e495e

Please sign in to comment.