ci(ui): add github workflows and issue templates

This commit is contained in:
Tuan-Dat Tran
2026-02-23 13:48:28 +01:00
parent 4198b91498
commit 36b5a62953
6 changed files with 258 additions and 0 deletions

63
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,63 @@
name: Bug Report
description: Report a bug to help us improve
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report this bug!
- type: textarea
id: description
attributes:
label: Description
description: A clear description of the bug
placeholder: "When I do X, Y happens instead of Z..."
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Steps to reproduce the behavior
placeholder: |
1. Go to '...'
2. Click on '...'
3. Scroll to '...'
4. See error
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What did you expect to happen?
validations:
required: true
- type: input
id: browser
attributes:
label: Browser
description: Which browser(s) are you experiencing the issue?
placeholder: "Chrome 120, Firefox 121, Safari 17..."
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Add screenshots if applicable
- type: dropdown
id: severity
attributes:
label: Severity
options:
- Low - Minor inconvenience
- Medium - Affects functionality
- High - Major feature broken
- Critical - Site unusable
validations:
required: true

View File

@@ -0,0 +1,46 @@
name: Feature Request
description: Suggest a new feature or enhancement
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for suggesting a feature!
- type: textarea
id: problem
attributes:
label: Problem/Use Case
description: Is your feature request related to a problem? Please describe.
placeholder: "I'm always frustrated when..."
- type: textarea
id: solution
attributes:
label: Proposed Solution
description: Describe the solution you'd like
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Any alternative solutions you've considered?
- type: dropdown
id: priority
attributes:
label: Priority
options:
- Low - Nice to have
- Medium - Would improve experience
- High - Important for usability
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional Context
description: Any other context, mockups, or screenshots