Add issue template for React Compiler
Adds a GitHub issue template form so we can automatically categorize issues and get more information upfront. I mostly referenced the DevTools bug report template and made some tweaks. ghstack-source-id: 5bfc728a625f367932fc21263e82681079d3ac65 Pull Request resolved: https://github.com/facebook/react/pull/29140
Lauren Tan committed
May 17, 2024 at 10:29 UTC
ecddf3cb077d6d1b542b3d0cd8f87d30fb2030be
1 file changed
+57
.github/ISSUE_TEMPLATE/compiler_bug_report.yml
new
+57
@@ -0,0 +1,57 @@
1
+name: "⚛️ ✨ Compiler bug report"
2
+description: "Report a problem with React Compiler. Please provide enough information that we can reproduce the problem."
3
+title: "[Compiler Bug]: "
4
+labels: ["Component: Optimizing Compiler", "Type: Bug", "Status: Unconfirmed"]
5
+body:
6
+- type: checkboxes
7
+ attributes:
8
+ label: What kind of issue is this?
9
+ description: |
10
+ Please indicate if this issue affects the following tools provided by React Compiler.
11
+ options:
12
+ - label: React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization)
13
+ - label: babel-plugin-react-compiler (build issue installing or using the Babel plugin)
14
+ - label: eslint-plugin-react-compiler (build issue installing or using the eslint plugin)
15
+ - label: react-compiler-healthcheck (build issue installing or using the healthcheck script)
16
+- type: input
17
+ attributes:
18
+ label: Link to repro
19
+ description: |
20
+ Please provide a repro by either sharing a [Playground link](https://playground.react.dev), or a public GitHub repo so the React team can reproduce the error being reported. Please do not share localhost links!
21
+ placeholder: |
22
+ e.g. public GitHub repo, or Playground link
23
+ validations:
24
+ required: true
25
+- type: textarea
26
+ attributes:
27
+ label: Repro steps
28
+ description: |
29
+ What were you doing when the bug happened? Detailed information helps maintainers reproduce and fix bugs.
30
+
31
+ Issues filed without repro steps will be closed.
32
+ placeholder: |
33
+ Example bug report:
34
+ 1. Log in with username/password
35
+ 2. Click "Messages" on the left menu
36
+ 3. Open any message in the list
37
+ validations:
38
+ required: true
39
+- type: dropdown
40
+ attributes:
41
+ label: How often does this bug happen?
42
+ description: |
43
+ Following the repro steps above, how easily are you able to reproduce this bug?
44
+ options:
45
+ - Every time
46
+ - Often
47
+ - Sometimes
48
+ - Only once
49
+ validations:
50
+ required: true
51
+- type: input
52
+ attributes:
53
+ label: What version of React are you using?
54
+ description: |
55
+ Please provide your React version in the app where this issue occurred.
56
+ validations:
57
+ required: true