From 83ee20d249eb2a3490540972aa07f82b68d2a2d0 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 28 Aug 2025 15:08:02 -0400 Subject: [PATCH] Replace individual system info fields with envinfo command in bug report template (#5368) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sedghi <7490180+sedghi@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug-report.yml | 43 ++++++++++++++------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 36a22e979..08be2afbc 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -51,28 +51,29 @@ body: validations: required: true - - type: input - id: os + - type: textarea + id: system_info attributes: - label: 'OS' - description: 'Your operating system.' - placeholder: 'e.g., Windows 10, macOS 10.15.4' - validations: - required: true - - type: input - id: node-version - attributes: - label: 'Node version' - description: 'Your Node.js version.' - placeholder: 'e.g., 20.18.1' - validations: - required: true - - type: input - id: browser - attributes: - label: 'Browser' - description: 'Your browser.' - placeholder: 'e.g., Chrome 83.0.4103.116, Firefox 77.0.1, Safari 13.1.1' + label: 'System Information' + description: 'Please run the following command in your terminal and paste the output:' + placeholder: | + Run: npx envinfo --system --binaries --browsers + + Then paste the output here. It should look something like: + + System: + OS: Windows 10 10.0.19042 + CPU: (8) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz + Memory: 15.89 GB / 31.74 GB + Shell: 1.0.0 - C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe + Binaries: + Node: 20.18.1 - C:\Program Files\nodejs\node.EXE + Yarn: 1.22.22 - C:\Users\user\AppData\Roaming\npm\yarn.CMD + npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD + Browsers: + Chrome: 83.0.4103.116 + Edge: Spartan (44.19041.1266.0), Chromium (83.0.478.58) + Firefox: 77.0.1 validations: required: true