feat: github settings

This commit is contained in:
Simon
2025-09-29 19:28:45 +08:00
parent 3beaa5c284
commit f04609300a
7 changed files with 209 additions and 0 deletions

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

@@ -0,0 +1,37 @@
name: Bug Report
description: Report a bug
title: '[Bug] '
labels: ['bug']
body:
- type: textarea
id: description
attributes:
label: What happened?
placeholder: Describe the bug and expected behavior
validations:
required: true
- type: textarea
id: code
attributes:
label: Code
render: typescript
placeholder: Minimal reproduction code
validations:
required: true
- type: input
id: browser
attributes:
label: Browser
placeholder: 'Chrome 120, Firefox 119, etc.'
validations:
required: true
- type: input
id: version
attributes:
label: version
placeholder: '0.0.0'
validations:
required: true

View File

@@ -0,0 +1,28 @@
name: Feature Request
description: Suggest a feature
title: '[Feature] '
labels: ['enhancement']
body:
- type: textarea
id: problem
attributes:
label: Problem
placeholder: What problem does this solve?
validations:
required: true
- type: textarea
id: solution
attributes:
label: Solution
placeholder: How should this work?
validations:
required: true
- type: textarea
id: api
attributes:
label: Proposed API
render: typescript
validations:
required: false