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

Add new component bug issue template #452

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/component-bug-issue-template.md

This file was deleted.

94 changes: 94 additions & 0 deletions .github/ISSUE_TEMPLATE/component_bug_report_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: 🐞 Bug Report for Quantum Design System
description: Create a bug report to help improve the Quantum Component Library
labels: ['bug']
body:
- type: markdown
attributes:
value: |
This template is for reporting bugs in the Quantum Design System by NearForm.

Before submitting a new issue, please review existing [issues](https://github.com/nearform/quantum/issues) and upvote if a similar issue exists.

- type: checkboxes
attributes:
label: Verification
description: Please check the box to confirm that you have searched the existing issues and have not found a similar bug report.
options:
- label: 'I have checked the existing issues and no similar bug report has been filed.'

- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
placeholder: 'When I do X, Y happens instead of Z.'
validations:
required: true

- type: textarea
attributes:
label: Steps to Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Install the Quantum library using npm install --save @nearform/quantum
2. Configure Tailwind with Quantum's plugin
3. Use the Button component in a project
4. Apply the dark mode class
5. Notice the lack of dark mode styling
validations:
required: true

- type: textarea
attributes:
label: Expected behavior
description: What you expected to happen.
placeholder: 'I expected the Button to display with dark mode styling.'
validations:
required: true

- type: dropdown
attributes:
label: Component Affected
multiple: true
options:
- Typography
- Colours
- ButtonGroup
- Calendar
- Chip
- Link
- Modal
- Pagination
- Popover
- StepsIndicator
- Table
- Tooltip
- WebsiteFooter
- Accordion
- Checkbox
- ControlLabel
- Input
- Label
- RadioGroups
- Select
- Switch
- Button
- Other
validations:
required: true

- type: textarea
attributes:
label: Environment Info
description: Provide details about your runtime environment that might be relevant.
render: bash
placeholder: |
OS: MacOS 12.1
Node: 18.17.1
Browser: Chrome 90
Quantum Version: 1.2.3

- type: textarea
attributes:
label: Additional context
description: Any extra information that might help in diagnosing the issue.
placeholder: 'The issue occurs only when the system dark mode is off.'
Loading