Skip to content

Commit 0a80f31

Browse files
authored
Replaces issue templates with issue forms for better bug/feature reporting (#152)
* Create 1-bug-report.yaml * Create 2-feature-request.yaml * Delete bug_report.md * Delete feature_request.md
1 parent 22da6e2 commit 0a80f31

File tree

4 files changed

+128
-65
lines changed

4 files changed

+128
-65
lines changed
+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: Bug Report
2+
description: Report a bug in the ngx-cookie-service
3+
4+
body:
5+
- type: textarea
6+
id: description
7+
attributes:
8+
label: Describe the bug
9+
validations:
10+
required: true
11+
- type: textarea
12+
id: steps-to-reproduce
13+
attributes:
14+
label: Steps to Reproduce
15+
validations:
16+
required: true
17+
placeholder: |
18+
Steps to reproduce the behavior:
19+
Go to '...'
20+
Click on '....'
21+
Scroll down to '....'
22+
See error
23+
- type: input
24+
id: reproduction-link
25+
attributes:
26+
label: Please provide a link to a minimal reproduction of the bug. StackBlitz, CodePen or CodeSanBox
27+
validations:
28+
required: true
29+
- type: textarea
30+
id: expected-behaviour
31+
attributes:
32+
label: Expected behaviour
33+
validations:
34+
required: true
35+
36+
- type: input
37+
id: library-version
38+
attributes:
39+
label: What version of the library you see this issue?
40+
validations:
41+
required: true
42+
43+
- type: dropdown
44+
id: angular-version
45+
attributes:
46+
label: What version of Angular are you using?
47+
options:
48+
- Angular 12
49+
- Angular 11
50+
- Angular 10
51+
- Angular 9
52+
- Angular 8
53+
- Angular 7
54+
- Angular 6
55+
- Angular 4
56+
- Angular 2
57+
multiple: true
58+
validations:
59+
required: true
60+
61+
62+
- type: textarea
63+
id: screenshots
64+
attributes:
65+
label: Screenshots
66+
placeholder: |
67+
If applicable, add screenshots to help explain your problem.
68+
69+
70+
- type: textarea
71+
id: desktop
72+
attributes:
73+
label: Desktop? Please complete the following information
74+
placeholder: |
75+
OS: [e.g. macOS Big Sur, Windows 10]
76+
Browser [e.g. Google Chrome, Mozilla Firefox, Micro Soft Edge, Safari]
77+
Version [e.g. 92]
78+
79+
80+
- type: textarea
81+
id: mobile
82+
attributes:
83+
label: Mobile? Please complete the following information
84+
placeholder: |
85+
Device: [e.g. iPhone 12 Pro, Google Pixel 5]
86+
OS: [e.g. iOS]
87+
Browser [e.g. Google Chrome, Mozilla Firefox, Micro Soft Edge, Safari]
88+
Version [e.g. 91]
89+
90+
- type: textarea
91+
id: other
92+
attributes:
93+
label: Anything else?
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 'Feature Request'
2+
description: Suggest a feature for Ngx Cookie Service library
3+
4+
body:
5+
- type: textarea
6+
id: description
7+
attributes:
8+
label: Is your feature request related to a problem? Please describe
9+
placeholder: |
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
id: proposed-solution
16+
attributes:
17+
label: Describe the solution you'd like
18+
placeholder: |
19+
A clear and concise description of what you want to happen.
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
id: alternatives-considered
25+
attributes:
26+
label: Describe alternatives you've considered
27+
placeholder: |
28+
A clear and concise description of any alternative solutions or features you've considered.
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: other
34+
attributes:
35+
label: Additional context

.github/ISSUE_TEMPLATE/bug_report.md

-46
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

-19
This file was deleted.

0 commit comments

Comments
 (0)