Improved GitHub issue repro instructions prompt

This commit is contained in:
Brian Vaughn
2019-08-20 09:44:41 -07:00
parent 5441b094a4
commit aa56fe34ac
+5 -2
View File
@@ -53,8 +53,11 @@ export default class ErrorBoundary extends Component<Props, State> {
const title = `Error: "${errorMessage || ''}"`;
const label = 'Component: Developer Tools';
let body = 'PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE\n';
body += '\n---------------------------------------------';
let body = 'Describe what you were doing when the bug occurred:';
body += '\n1. ';
body += '\n2. ';
body += '\n3. ';
body += '\n\n---------------------------------------------';
body += '\nPlease do not remove the text below this line';
body += '\n---------------------------------------------';
body += `\n\nDevTools version: ${process.env.DEVTOOLS_VERSION || ''}`;