Skip to content

Commit c6a7834

Browse files
committed
chore: switch to issue templates for bug reports and feature requests
1 parent 7166b73 commit c6a7834

File tree

4 files changed

+92
-56
lines changed

4 files changed

+92
-56
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: "\U0001F41E Bug report"
2+
description: Report an issue with vite-plugin-svelte
3+
labels: ["bug", "triage"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for participating in vite-plugin-svelte! Please check for existing reports before creating a new one.
9+
- type: textarea
10+
id: bug-description
11+
attributes:
12+
label: Describe the bug
13+
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
14+
placeholder: Bug description
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: reproduction
19+
attributes:
20+
label: Reproduction
21+
description: Please provide a link to a repo and step by step instructions to reproduce the problem you ran into. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided within a reasonable time-frame, the issue will be closed.
22+
placeholder: Reproduction
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: logs
27+
attributes:
28+
label: Logs
29+
description: "Please include browser console and server logs around the time this bug occurred. Use `DEBUG='vite:*' <your start command here>` or `vite dev --debug`. No screenshots."
30+
render: shell
31+
- type: textarea
32+
id: system-info
33+
attributes:
34+
label: System Info
35+
description: Output of `npx envinfo --system --npmPackages vite,svelte,svelte-hmr,@sveltejs/vite-plugin-svelte --binaries --browsers`
36+
render: shell
37+
placeholder: System, Binaries, Browsers
38+
validations:
39+
required: true
40+
- type: dropdown
41+
id: severity
42+
attributes:
43+
label: Severity
44+
description: Select the severity of this issue
45+
options:
46+
- annoyance
47+
- blocking an upgrade
48+
- blocking all usage of vite-plugin-svelte
49+
validations:
50+
required: true

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "Feature Request"
2+
description: Request a new vite-plugin-svelte feature
3+
labels: [enhancement, triage]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to request this feature! Please check if a similar request already exists before opening a new one.
9+
- type: textarea
10+
id: problem
11+
attributes:
12+
label: Describe the problem
13+
description: Please provide a clear and concise description the problem this feature would solve. The more information you can provide here, the better.
14+
placeholder: "I'm always frustrated when..."
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: solution
19+
attributes:
20+
label: Describe the proposed solution
21+
description: Please provide a clear and concise description of what you would like to happen.
22+
placeholder: I would like to see...
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: alternatives
27+
attributes:
28+
label: Alternatives considered
29+
description: "Please provide a clear and concise description of any alternative solutions or features you've considered."
30+
validations:
31+
required: true
32+
- type: dropdown
33+
id: importance
34+
attributes:
35+
label: Importance
36+
description: How important is this feature to you?
37+
options:
38+
- nice to have
39+
- would make my life easier
40+
- i cannot use vite-plugin-svelte without it
41+
validations:
42+
required: true

0 commit comments

Comments
 (0)