Skip to content

Commit bafa1f0

Browse files
authored
chore: issue templates (#74)
1 parent c821114 commit bafa1f0

File tree

3 files changed

+109
-0
lines changed

3 files changed

+109
-0
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: "🐛 Bug Report"
2+
description: "If something isn't working as expected."
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Thanks for taking the time to file a bug report! Please fill out this form as completely as possible.
9+
10+
- type: markdown
11+
attributes:
12+
value: ⚠️ svelte-chartjs is just the wrapper around Chart.js, so if you are experiencing an issue with charts rendering, please create a related issue in [Chart.js repository](https://github.com/chartjs/Chart.js/issues).
13+
14+
- type: checkboxes
15+
id: input1
16+
attributes:
17+
label: Would you like to work on a fix?
18+
options:
19+
- label: Check this if you would like to implement a PR, we are more than happy to help you go through the process.
20+
21+
- type: textarea
22+
attributes:
23+
label: Current and expected behavior
24+
description: A clear and concise description of what the library is doing and what you would expect.
25+
validations:
26+
required: true
27+
28+
- type: input
29+
attributes:
30+
label: Reproduction
31+
description: |
32+
Please provide issue reproduction.
33+
You can give a link to a repository with the reproduction or make a fork of [this sandbox](https://codesandbox.io/s/github/SauravKanchan/svelte-chartjs/tree/master/sandboxes/ref?file=/components/Chart.svelte) and reproduce the issue there.
34+
validations:
35+
required: true
36+
37+
- type: input
38+
attributes:
39+
label: chart.js version
40+
description: Which version of `chart.js` are you using?
41+
placeholder: v0.0.0
42+
validations:
43+
required: true
44+
45+
- type: input
46+
attributes:
47+
label: svelte-chartjs version
48+
description: Which version of `svelte-chartjs` are you using?
49+
placeholder: v0.0.0
50+
validations:
51+
required: true
52+
53+
- type: textarea
54+
attributes:
55+
label: Possible solution
56+
description: If you have suggestions on a fix for the bug.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
blank_issues_enabled: false
3+
contact_links:
4+
- name: 🤔 Have a Question?
5+
url: https://stackoverflow.com/questions/tagged/svelte-chartjs
6+
about: Feel free to ask questions on Stack Overflow.
7+
- name: 📊 Have a Problem With Chart.js?
8+
url: https://github.com/chartjs/Chart.js/issues
9+
about: svelte-chartjs is just the wrapper around Chart.js, so if you are experiencing an issue with charts rendering, please create a related issue in Chart.js repository.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: "🚀 Feature Request"
2+
description: "I have a specific suggestion!"
3+
labels: ["enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for taking the time to suggest a new feature! Please fill out this form as completely as possible.
8+
9+
- type: markdown
10+
attributes:
11+
value: ⚠️ svelte-chartjs is just the wrapper around Chart.js, so if you are experiencing an issue with charts rendering, please create a related issue in [Chart.js repository](https://github.com/chartjs/Chart.js/issues).
12+
13+
- type: checkboxes
14+
id: input1
15+
attributes:
16+
label: Would you like to work on this feature?
17+
options:
18+
- label: Check this if you would like to implement a PR, we are more than happy to help you go through the process.
19+
20+
- type: textarea
21+
attributes:
22+
label: What problem are you trying to solve?
23+
description: |
24+
A concise description of what the problem is.
25+
placeholder: |
26+
I have an issue when [...]
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
attributes:
32+
label: Describe the solution you'd like
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
attributes:
38+
label: Describe alternatives you've considered
39+
40+
- type: textarea
41+
attributes:
42+
label: Documentation, Adoption, Migration Strategy
43+
description: |
44+
If you can, explain how users will be able to use this and how it might be documented. Maybe a mock-up?

0 commit comments

Comments
 (0)