From de9da5eb201bd72eff59e0be0ba5cc3bc120dfc9 Mon Sep 17 00:00:00 2001 From: ivonGwy Date: Wed, 25 Oct 2023 14:59:05 +0800 Subject: [PATCH] add .github templates --- .github/ISSUE_TEMPLATE/bug.yaml | 2 +- .github/ISSUE_TEMPLATE/consultation.yaml | 37 ++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature.yaml | 36 +++++++++++------------ 3 files changed, 56 insertions(+), 19 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml index c21d7d8..dcab11a 100644 --- a/.github/ISSUE_TEMPLATE/bug.yaml +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -18,7 +18,7 @@ body: validations: required: false - type: dropdown - id: type + id: aspects attributes: label: bug is related to UI or API aspects? multiple: true diff --git a/.github/ISSUE_TEMPLATE/consultation.yaml b/.github/ISSUE_TEMPLATE/consultation.yaml index e69de29..a53563a 100644 --- a/.github/ISSUE_TEMPLATE/consultation.yaml +++ b/.github/ISSUE_TEMPLATE/consultation.yaml @@ -0,0 +1,37 @@ +name: Help wanted +description: I have a question +title: "[help wanted]: " +labels: ["help wanted"] +assignees: + - pycook +body: + - type: markdown + attributes: + value: | + Please tell us what's you need! + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false + + - type: textarea + id: describe the problem + attributes: + label: What is your question? + description: Also tell us, how can we help? + placeholder: Tell us what you need! + value: "i have a question!" + validations: + required: true + - type: textarea + id: version + attributes: + label: Version + description: What version of our software are you running? + default: 2.3.5 + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature.yaml b/.github/ISSUE_TEMPLATE/feature.yaml index 4e83058..92a0af1 100644 --- a/.github/ISSUE_TEMPLATE/feature.yaml +++ b/.github/ISSUE_TEMPLATE/feature.yaml @@ -18,27 +18,27 @@ body: validations: required: false - type: dropdown - id: type + id: aspects attributes: label: feature is related to UI or API aspects? multiple: true options: - UI - API - - type: textarea - id: describe the feature - attributes: - label: What is your advice? - description: Also tell us, what did you expect to happen? - placeholder: Tell us what you want! - value: "everyone wants this feature!" - validations: - required: true - - type: textarea - id: version - attributes: - label: Version - description: What version of our software are you running? - default: 2.3.5 - validations: - required: true + - type: textarea + id: describe the feature + attributes: + label: What is your advice? + description: Also tell us, what did you expect to happen? + placeholder: Tell us what you want! + value: "everyone wants this feature!" + validations: + required: true + - type: textarea + id: version + attributes: + label: Version + description: What version of our software are you running? + default: 2.3.5 + validations: + required: true