From 0b39d6fc59d8bbe7d641ff910d08af110f876321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 16 Jan 2025 15:13:41 +0800 Subject: [PATCH] Doc: update issue templates [ci skip] --- .github/ISSUE_TEMPLATE/bug_report_crash.yml | 10 +++------- .github/ISSUE_TEMPLATE/bug_report_general.yml | 10 ++++++++++ .github/ISSUE_TEMPLATE/bug_report_logo.yml | 9 +++++++++ 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report_crash.yml b/.github/ISSUE_TEMPLATE/bug_report_crash.yml index 8a77dd697..1806e598f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_crash.yml +++ b/.github/ISSUE_TEMPLATE/bug_report_crash.yml @@ -85,13 +85,8 @@ body: attributes: label: Configuration description: If applicable, paste your configuration file here. - - type: textarea - attributes: - label: System information - description: Output of `fastfetch -c all.jsonc --stat --format json` - placeholder: | - Note that this output will contain you public IP. - If it is not relevant for the issue, feel free to remove it before uploading. + placeholder: cat ~/.config/fastfetch/config.jsonc + render: jsonc - type: markdown attributes: value: | @@ -113,5 +108,6 @@ body: attributes: label: Stacktrace description: Paste the stacktrace or core dump file here. + render: text validations: required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report_general.yml b/.github/ISSUE_TEMPLATE/bug_report_general.yml index 2d6f1c8ed..1ed9b54b9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_general.yml +++ b/.github/ISSUE_TEMPLATE/bug_report_general.yml @@ -85,6 +85,8 @@ body: attributes: label: Configuration description: If applicable, paste your configuration file here. + placeholder: cat ~/.config/fastfetch/config.jsonc + render: jsonc - type: textarea attributes: label: System information @@ -92,5 +94,13 @@ body: placeholder: | Note that this output will contain you public IP. If it is not relevant for the issue, feel free to remove it before uploading. + render: jsonc + validations: + required: true + - type: textarea + attributes: + label: Features built-in + description: Output of `fastfetch --list-features` + render: text validations: required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report_logo.yml b/.github/ISSUE_TEMPLATE/bug_report_logo.yml index 9c57948e1..18f247d06 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_logo.yml +++ b/.github/ISSUE_TEMPLATE/bug_report_logo.yml @@ -85,6 +85,8 @@ body: attributes: label: Configuration description: If applicable, paste your configuration file here. + placeholder: cat ~/.config/fastfetch/config.jsonc + render: jsonc - type: markdown attributes: value: | @@ -118,3 +120,10 @@ body: attributes: label: Error message description: Error message printed by `fastfetch -s none --show-errors`, if any + - type: textarea + attributes: + label: Features built-in + description: Output of `fastfetch --list-features` + render: text + validations: + required: true