Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaces issue templates with issue forms for better bug/feature reporting #152

Merged
merged 11 commits into from
Aug 10, 2021
93 changes: 93 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Bug Report
description: Report a bug in the ngx-cookie-service

body:
- type: textarea
id: description
attributes:
label: Describe the bug
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
validations:
required: true
placeholder: |
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
- type: input
id: reproduction-link
attributes:
label: Please provide a link to a minimal reproduction of the bug. StackBlitz, CodePen or CodeSanBox
validations:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected behaviour
validations:
required: true

- type: input
id: library-version
attributes:
label: What version of the library you see this issue?
validations:
required: true

- type: dropdown
id: angular-version
attributes:
label: What version of Angular are you using?
options:
- Angular 12
- Angular 11
- Angular 10
- Angular 9
- Angular 8
- Angular 7
- Angular 6
- Angular 4
- Angular 2
multiple: true
validations:
required: true


- type: textarea
id: screenshots
attributes:
label: Screenshots
placeholder: |
If applicable, add screenshots to help explain your problem.


- type: textarea
id: desktop
attributes:
label: Desktop? Please complete the following information
placeholder: |
OS: [e.g. macOS Big Sur, Windows 10]
Browser [e.g. Google Chrome, Mozilla Firefox, Micro Soft Edge, Safari]
Version [e.g. 92]


- type: textarea
id: mobile
attributes:
label: Mobile? Please complete the following information
placeholder: |
Device: [e.g. iPhone 12 Pro, Google Pixel 5]
OS: [e.g. iOS]
Browser [e.g. Google Chrome, Mozilla Firefox, Micro Soft Edge, Safari]
Version [e.g. 91]

- type: textarea
id: other
attributes:
label: Anything else?
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Feature Request'
description: Suggest a feature for Ngx Cookie Service library

body:
- type: textarea
id: description
attributes:
label: Is your feature request related to a problem? Please describe
placeholder: |
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true

- type: textarea
id: proposed-solution
attributes:
label: Describe the solution you'd like
placeholder: |
A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: alternatives-considered
attributes:
label: Describe alternatives you've considered
placeholder: |
A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true

- type: textarea
id: other
attributes:
label: Additional context
46 changes: 0 additions & 46 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.