From e99f06ddf5842e4fc3c13b809a1fd6c764da1c2d Mon Sep 17 00:00:00 2001 From: Marco Pasqualetti <24919330+marcalexiei@users.noreply.github.com> Date: Fri, 20 Dec 2024 07:34:55 +0100 Subject: [PATCH] chore(bug_report): make system-info fields required and add CLI command to retrieve them (#239) --- .github/ISSUE_TEMPLATE/bug_report.yml | 59 +++++++-------------------- 1 file changed, 14 insertions(+), 45 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 47fcb3ba..cf485ff6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -32,55 +32,24 @@ body: description: If applicable, add screenshots to help explain your problem. validations: required: false - - type: input - id: tuono-version + - type: textarea + id: system-info attributes: - label: Tuono version - placeholder: '[e.g. 0.4.0]' + label: System Info + description: Output of `npx envinfo --system --npmPackages 'tuono' --binaries --browsers` + render: shell + placeholder: System, Binaries, Browsers validations: - required: false - - type: input - id: os-version + required: true + - type: textarea + id: system-info-rust attributes: - label: OS - placeholder: '[e.g. MacOS, Windows]' + label: System info (Rust) + description: Output of `rustc --version && cargo --version && tuono --version` + render: shell + placeholder: 'rustc, cargo and tuono binary version' validations: - required: false - - type: input - id: browser-version - attributes: - label: Browser - placeholder: '[e.g. chrome, safari]' - validations: - required: false - - type: input - id: node-version - attributes: - label: Node version - placeholder: '[e.g. 20.0.0]' - validations: - required: false - - type: input - id: rust-version - attributes: - label: Rust version - placeholder: '[e.g. 1.79.0]' - validations: - required: false - - type: input - id: create-version - attributes: - label: Crate version - placeholder: '[e.g. 1.78.0]' - validations: - required: false - - type: input - id: node-package-manager-version - attributes: - label: Node Package Manger version - placeholder: '[e.g. pnpm: 9.5.0] ' - validations: - required: false + required: true - type: textarea id: additional-context attributes: