From aa56fe34ac40694f422ac8bc42e4d3c5b7efd813 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 20 Aug 2019 09:44:41 -0700 Subject: [PATCH] Improved GitHub issue repro instructions prompt --- src/devtools/views/ErrorBoundary.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/devtools/views/ErrorBoundary.js b/src/devtools/views/ErrorBoundary.js index 07692b3cfa..effeb7a409 100644 --- a/src/devtools/views/ErrorBoundary.js +++ b/src/devtools/views/ErrorBoundary.js @@ -53,8 +53,11 @@ export default class ErrorBoundary extends Component { 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 || ''}`;