From 7f28e8cc0c4bf4066d346d9e49fac96ad7438abc Mon Sep 17 00:00:00 2001 From: R4SAS Date: Wed, 16 Aug 2023 23:21:46 +0300 Subject: [PATCH] Update discussion template Try to fix #1143. --- .github/DISCUSSION_TEMPLATE/q-a.yml | 35 +++++++++++++++++++---------- 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/.github/DISCUSSION_TEMPLATE/q-a.yml b/.github/DISCUSSION_TEMPLATE/q-a.yml index 192081d3..6e4b1e35 100644 --- a/.github/DISCUSSION_TEMPLATE/q-a.yml +++ b/.github/DISCUSSION_TEMPLATE/q-a.yml @@ -2,32 +2,42 @@ title: "[Question and support] " labels: ["question/support"] body: - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this form! + - type: textarea + id: description attributes: label: Describe the problem/question - description: | - A clear and concise description of what the problem/issue or question is. + description: A clear and concise description of what the problem/issue or question is. + validations: + required: true - type: checkboxes + id: readed-faq attributes: label: Please tick this to confirm + description: Have you read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ)? options: - - label: Yes, I have read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ) and I found no solution/answer there. - - type: markdown + - label: Yes, I have read the FAQ and I found no solution/answer there. + required: true + - type: textarea id: what_you_did attributes: - label: What you did - description: | - Tell us how to reproduce the problem. - + label: What you did? + description: Tell us how to reproduce the problem. + value: | 1. 2. - type: textarea id: what_happens attributes: label: What happens + placeholder: Tell us what you see! - type: textarea id: what_should_happen attributes: label: What should happen + placeholder: Tell us what you want to see! - type: textarea id: additional_info attributes: @@ -58,7 +68,8 @@ body: attributes: label: I can reproduce this issue on [https://privatebin.net](https://privatebin.net) options: - - label: No - value: No - - label: Yes - value: Yes + - No + - Yes + default: 0 + validations: + required: true