Skip to content

Commit

Permalink
chore: add Bug Report issue template (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasaarcoverde authored Apr 18, 2024
2 parents 313dbd8 + 9a9fa31 commit 7d1b718
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 39 deletions.
39 changes: 0 additions & 39 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

75 changes: 75 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Bug Report
description: Report a problem with Shoreline
labels: ['bug', 'status: pending']
body:
- type: markdown
attributes:
value: Hello! Use this template if you had trouble using our library and want to share it with the community. If this doesn't look right, choose another template.
- type: textarea
id: summary
attributes:
label: Summary
description: Provide a short description of the problem.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
id: current-behavior
attributes:
label: Current behavior
description: Describe what happens instead of the expected behavior. If applicable, add screenshots/videos to help explain the problem.
value: |
Wrap animated gifs/videos in a details tag:
<details>
<summary>Summary of your gif(s)</summary>
<img src="..." alt="Description of what the gif shows">
</details>
- type: input
id: reproducible-example
attributes:
label: Reproducible Example
description: Provide a reduced test case with the [Shoreline sandbox template]().
- type: textarea
id: suggested-solution
attributes:
label: Suggested solution
description: Describe how could the bug could be solved or what changes would need to be made. Provide the links, for example from a Figma file or a CodeSandbox, or code snippets that apply to your solution.
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the problem here.
- type: dropdown
id: package
attributes:
label: Package
multiple: true
options:
- '@vtex/shoreline'
- '@vtex/shoreline-primitives'
- '@vtex/shoreline-ts-table'
- '@vtex/shoreline-stylelint'
- '@vtex/shoreline-codemod'
- '@vtex/shoreline-icons'
- type: textarea
id: packages-version
attributes:
label: Packages version
- type: input
id: browser
attributes:
label: Browser
- type: dropdown
id: package-manager
attributes:
label: Package Manager
options:
- pnpm
- npm
- yarn
- bun
default: 0

0 comments on commit 7d1b718

Please sign in to comment.