Improved GitHub issue repro instructions prompt
Brian Vaughn committed
Aug 20, 2019 at 09:44 UTC
aa56fe34ac40694f422ac8bc42e4d3c5b7efd813
1 file changed
+5
-2
src/devtools/views/ErrorBoundary.js
+5
-2
@@ -53,8 +53,11 @@ export default class ErrorBoundary extends Component<Props, State> {
53
const title = `Error: "${errorMessage || ''}"`;
54
const label = 'Component: Developer Tools';
55
56
- let body = 'PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE\n';
57
- body += '\n---------------------------------------------';
56
+ let body = 'Describe what you were doing when the bug occurred:';
57
+ body += '\n1. ';
58
+ body += '\n2. ';
59
+ body += '\n3. ';
60
+ body += '\n\n---------------------------------------------';
61
body += '\nPlease do not remove the text below this line';
62
body += '\n---------------------------------------------';
63
body += `\n\nDevTools version: ${process.env.DEVTOOLS_VERSION || ''}`;