From 5b2653a1d1ab4140d2fb8f9e81cf86a62bd78b41 Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Tue, 17 Dec 2024 22:28:47 +0000 Subject: [PATCH] Improve GitHub Issue template for Environment (#22147) Add support for pre-filling feature request template from zed::RequestFeature action. Co-authored-by: Agus --- .github/ISSUE_TEMPLATE/0_feature_request.yml | 7 +++-- .github/ISSUE_TEMPLATE/1_bug_report.yml | 9 ++++-- crates/feedback/src/feedback.rs | 29 +++++++++++++++++--- 3 files changed, 37 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/0_feature_request.yml b/.github/ISSUE_TEMPLATE/0_feature_request.yml index 7aa135df35bdc9afade92a15d70869d433f5f8eb..900df46e7a5836b288a7ab77c8a35e39fb321f1c 100644 --- a/.github/ISSUE_TEMPLATE/0_feature_request.yml +++ b/.github/ISSUE_TEMPLATE/0_feature_request.yml @@ -18,8 +18,11 @@ body: - type: textarea id: environment attributes: - label: Environment - description: Run the `copy system specs into clipboard` command palette action and paste the output in the field below. If you are unable to run the command, please include your Zed version and release channel, operating system and version, RAM amount, and architecture. + label: Zed Version and System Specs + description: Zed version, release channel, architecture (x86_64 or aarch64), OS (macOS version / Linux distro and version) and RAM amount. + placeholder: | + + validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/1_bug_report.yml b/.github/ISSUE_TEMPLATE/1_bug_report.yml index c86aebf2e44afaeb1752864f8ee28724f95b4820..3a26baa7397620c406d33565c35e32e5ca0d968c 100644 --- a/.github/ISSUE_TEMPLATE/1_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1_bug_report.yml @@ -20,8 +20,13 @@ body: - type: textarea id: environment attributes: - label: Environment - description: Run the `copy system specs into clipboard` command palette action and paste the output in the field below. If you are unable to run the command, please include your Zed version and release channel, operating system and version, RAM amount, and architecture. + label: Zed Version and System Specs + description: Zed version, release channel, architecture (x86_64 or aarch64), OS (macOS version / Linux distro and version) and RAM amount. + placeholder: | + + + +