Skip to content

Commit

Permalink
Add custom issue template (#347)
Browse files Browse the repository at this point in the history
This issue template is a combination of ideas from astro, vite, and storybook. I think it might help us get more helpful information right off the bat, without having to ask for more details and reproductions.

I also added links to the discord and GitHub discussions.
  • Loading branch information
IanVS committed Apr 22, 2022
1 parent 3276377 commit 6015059
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "\U0001F41B Bug Report"
description: Report an issue or possible bug
title: "[Bug] "
labels: ['bug']
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to file a bug report! Please fill out this form as completely as possible, it will help us address your problem more quickly.
- type: input
attributes:
label: What version of `vite` are you using?
placeholder: 0.0.0
validations:
required: true
- type: textarea
attributes:
label: System info and storybook versions
placeholder: Please paste the results of `npx sb@next info`` here
validations:
required: true
- type: textarea
attributes:
label: Describe the Bug
description: A clear and concise description of what the bug is. What do you expect, vs what is happening? Screenshots and logs are helpful as well.
validations:
required: true
- type: input
attributes:
label: Link to Minimal Reproducible Example
description: 'Use `npm create vite@latest` and then `npx sb@next init` to create a minimal reproduction of the problem, document any additional steps in README.md, and push up the repo to github. We prioritize issues with reproductions over those without.'
placeholder: 'https://github.com/ianvs/storybook-vite-issue-repro'
validations:
required: false
- type: checkboxes
attributes:
label: Participation
options:
- label: I am willing to submit a pull request for this issue.
required: false
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: 👾 Chat
url: https://discord.gg/uST2e5y4XA
about: Come join the \#vite channel in the storybook discord.
- name: 💬 Discussion & Support
url: https://github.com/storybookjs/builder-vite/discussions
about: Ask a question, or share an idea.

0 comments on commit 6015059

Please sign in to comment.