Skip to content

Commit e444f8a

Browse files
committed
chore: add issue templates for bug reports and feature requests
1 parent 6967925 commit e444f8a

3 files changed

Lines changed: 118 additions & 0 deletions

File tree

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: Bug report
2+
description: Something isn't working in the extension
3+
labels: ["bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please fill out every field. Issues missing version info or logs are likely to be closed without investigation.
9+
10+
- type: textarea
11+
id: description
12+
attributes:
13+
label: What's wrong?
14+
description: What did you expect, and what actually happened?
15+
placeholder: e.g. "No inlay hints appear on any component."
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
id: repro
21+
attributes:
22+
label: Minimal reproduction
23+
description: A small code sample that demonstrates the problem. If it's a project-setup issue, paste the relevant `babel.config.js` / `vite.config.ts` / framework config instead.
24+
render: tsx
25+
validations:
26+
required: true
27+
28+
- type: input
29+
id: babel-plugin-version
30+
attributes:
31+
label: babel-plugin-react-compiler version
32+
description: Run `npm list babel-plugin-react-compiler` (or yarn/pnpm equivalent) at your project root.
33+
placeholder: e.g. 1.0.0
34+
validations:
35+
required: true
36+
37+
- type: dropdown
38+
id: ide
39+
attributes:
40+
label: IDE
41+
options:
42+
- VS Code
43+
- Cursor
44+
- Windsurf
45+
- Antigravity
46+
- WebStorm / IntelliJ
47+
- Zed
48+
- Neovim
49+
- Other (specify in "What's wrong?")
50+
validations:
51+
required: true
52+
53+
- type: input
54+
id: ide-version
55+
attributes:
56+
label: IDE version
57+
placeholder: e.g. VS Code 1.112.0
58+
validations:
59+
required: false
60+
61+
- type: input
62+
id: os
63+
attributes:
64+
label: OS
65+
placeholder: e.g. macOS 14.5, Windows 11, Ubuntu 24.04
66+
validations:
67+
required: true
68+
69+
- type: input
70+
id: node-version
71+
attributes:
72+
label: Node.js version
73+
description: Output of `node --version`.
74+
placeholder: e.g. v22.11.0
75+
validations:
76+
required: true
77+
78+
- type: textarea
79+
id: logs
80+
attributes:
81+
label: Extension logs
82+
description: |
83+
Paste the full output. How to find it:
84+
- **VS Code / Cursor / Windsurf / Antigravity**: View → Output → select **"React Compiler Marker"** from the dropdown.
85+
- **WebStorm / IntelliJ**: Help → Show Log in Finder/Explorer, then open `idea.log`.
86+
- **Zed**: `zed: open log` from the command palette.
87+
- **Neovim**: `:LspLog`.
88+
render: shell
89+
validations:
90+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Feature request
2+
description: Suggest a new feature or improvement
3+
labels: ["enhancement"]
4+
body:
5+
- type: textarea
6+
id: problem
7+
attributes:
8+
label: What problem does this solve?
9+
placeholder: e.g. "I can't tell at a glance which hooks failed to compile in a large file."
10+
validations:
11+
required: true
12+
13+
- type: textarea
14+
id: proposal
15+
attributes:
16+
label: Proposed solution
17+
description: What should the extension do? Mockups or examples welcome.
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: alternatives
23+
attributes:
24+
label: Alternatives considered
25+
description: Other approaches you thought about, and why they're not as good.
26+
validations:
27+
required: false

0 commit comments

Comments
 (0)