Skip to content

Commit eac65ba

Browse files
committed
Add issue and PR templates for contributors
1 parent 5a0eddf commit eac65ba

3 files changed

Lines changed: 106 additions & 0 deletions

File tree

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Bug Report
2+
description: File a bug report to help us improve
3+
title: "[Bug]: "
4+
labels: ["bug", "needs-triage"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Bug Description
10+
description: A clear and concise description of what the bug is.
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
id: reproduction
16+
attributes:
17+
label: Steps to Reproduce
18+
description: Steps to reproduce the behavior
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: expected
24+
attributes:
25+
label: Expected Behavior
26+
validations:
27+
required: true
28+
29+
- type: input
30+
id: unity-version
31+
attributes:
32+
label: Unity Version
33+
placeholder: "e.g., 2022.3.10f1"
34+
validations:
35+
required: true
36+
37+
- type: input
38+
id: package-version
39+
attributes:
40+
label: WebView Toolkit Version
41+
placeholder: "e.g., 1.1.1"
42+
validations:
43+
required: true
44+
45+
- type: dropdown
46+
id: graphics-api
47+
attributes:
48+
label: Graphics API
49+
options:
50+
- DirectX 11
51+
- DirectX 12
52+
validations:
53+
required: true
54+
55+
- type: textarea
56+
id: logs
57+
attributes:
58+
label: Console Logs
59+
render: shell
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Feature Request
2+
description: Suggest a new feature or enhancement
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: Problem Statement
10+
description: Is your feature request related to a problem?
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
id: solution
16+
attributes:
17+
label: Proposed Solution
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: use-case
23+
attributes:
24+
label: Use Case
25+
validations:
26+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Description
2+
<!-- Describe your changes -->
3+
4+
## Type of Change
5+
- [ ] Bug fix
6+
- [ ] New feature
7+
- [ ] Breaking change
8+
- [ ] Documentation update
9+
10+
## Testing Performed
11+
- [ ] Built native plugin successfully
12+
- [ ] Tested in Unity Editor
13+
- [ ] Tested in standalone build
14+
- [ ] No new console warnings/errors
15+
16+
## Checklist
17+
- [ ] Updated CHANGELOG.md
18+
- [ ] Updated package.json version if needed
19+
- [ ] Code follows project style
20+
- [ ] Added/updated tests
21+
- [ ] All tests pass locally

0 commit comments

Comments
 (0)