Skip to content

Commit 1e91fd3

Browse files
authored
chore(github): bug template improvements (#698)
1 parent e2b4e30 commit 1e91fd3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/ISSUE_TEMPLATE/bug.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ body:
44
- type: markdown
55
attributes:
66
value: 'Please note your issue will be closed without comment if do not fill out the issue checklist and provide ALL the requested information.'
7-
- type: textarea
8-
attributes:
9-
render: shell
10-
label: '`yarn why http-proxy-middleware` OR `npm ls http-proxy-middleware` output (mask private folder names with *****)'
11-
validations:
12-
required: true
137
- type: checkboxes
148
attributes:
159
label: Checks
@@ -24,12 +18,10 @@ body:
2418
label: 'Describe the bug (be clear and concise)'
2519
validations:
2620
required: true
27-
- type: markdown
28-
attributes:
29-
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'
3021
- type: textarea
3122
attributes:
3223
label: 'Step-by-step reproduction instructions'
24+
description: 'If possible, please provide minimal example to demonstrate the issue. Create a minimal Github project or use the CodeSandbox template: https://codesandbox.io/s/http-proxy-middleware-44oc1'
3325
value: |
3426
1. ...
3527
2. ...
@@ -39,24 +31,32 @@ body:
3931
- type: textarea
4032
attributes:
4133
label: 'Expected behavior (be clear and concise)'
42-
placeholder: Tell us in a clear and concise description of what you expected to happen.
34+
description: Tell us in a clear and concise description of what you expected to happen.
35+
validations:
36+
required: true
37+
- type: textarea
38+
attributes:
39+
render: shell
40+
label: 'How is http-proxy-middleware used in your project?'
41+
description: '`yarn why http-proxy-middleware` OR `npm ls http-proxy-middleware` output (mask private folder names with *****)'
4342
validations:
4443
required: true
4544
- type: textarea
4645
attributes:
4746
render: typescript
4847
label: 'What http-proxy-middleware configuration are you using?'
49-
placeholder: 'Paste your http-proxy configuration here...'
48+
description: 'Paste your http-proxy configuration here...'
5049
validations:
5150
required: true
5251
- type: textarea
5352
attributes:
5453
render: shell
5554
label: 'What OS/version and node/version are you seeing the problem?'
55+
description: 'Paste the output of `npx envinfo`'
5656
placeholder: 'ie. MacOS 11.4 and Node 16.2.0'
5757
validations:
5858
required: true
5959
- type: textarea
6060
attributes:
6161
label: 'Additional context (optional)'
62-
placeholder: 'Please add any addition information that might help the investigation'
62+
description: 'Please add any addition information that might help the investigation'

0 commit comments

Comments
 (0)