From 49cf81c18b9e3d3b649458499f40bb64c37efe24 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 25 Jul 2023 08:53:14 +0200 Subject: [PATCH] Add forms for question reporting as discussion and bug issues --- .github/DISCUSSION_TEMPLATE/q-a.yml | 24 ++++++++++++++ .github/ISSUE_TEMPLATE/Bug.md | 36 -------------------- .github/ISSUE_TEMPLATE/Bug.yml | 38 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/Question_Support.md | 24 -------------- .github/ISSUE_TEMPLATE/config.yml | 5 +++ 5 files changed, 67 insertions(+), 60 deletions(-) create mode 100644 .github/DISCUSSION_TEMPLATE/q-a.yml delete mode 100644 .github/ISSUE_TEMPLATE/Bug.md create mode 100644 .github/ISSUE_TEMPLATE/Bug.yml delete mode 100644 .github/ISSUE_TEMPLATE/Question_Support.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/DISCUSSION_TEMPLATE/q-a.yml b/.github/DISCUSSION_TEMPLATE/q-a.yml new file mode 100644 index 00000000..db66577f --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/q-a.yml @@ -0,0 +1,24 @@ +title: 'Q&A' +body: + - type: input + validations: + required: true + attributes: + label: shlink-web-client version + placeholder: x.y.z + - type: dropdown + validations: + required: true + attributes: + label: How do you use shlink-web-client + options: + - https://app.shlink.io + - Docker image + - Self-hosted + - Other (explain in summary) + - type: textarea + validations: + required: true + attributes: + label: Summary + value: '' diff --git a/.github/ISSUE_TEMPLATE/Bug.md b/.github/ISSUE_TEMPLATE/Bug.md deleted file mode 100644 index ccd19bf0..00000000 --- a/.github/ISSUE_TEMPLATE/Bug.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: Bug report -about: Something on shlink is broken or not working as documented? -labels: bug ---- - - - -#### Shlink web client version - -* Version: x.y.z -* How do you use shlink-web-client: app.shlink.io|Docker image|self-hosted - -#### Summary - - - -#### Current behavior - - - -#### Expected behavior - - - -#### How to reproduce - - diff --git a/.github/ISSUE_TEMPLATE/Bug.yml b/.github/ISSUE_TEMPLATE/Bug.yml new file mode 100644 index 00000000..a3f2a6d0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Bug.yml @@ -0,0 +1,38 @@ +name: 'Q&A' +description: Something on shlink is broken or not working as documented? +labels: ['bug'] +body: + - type: input + validations: + required: true + attributes: + label: shlink-web-client version + placeholder: x.y.z + - type: dropdown + validations: + required: true + attributes: + label: How do you use shlink-web-client + options: + - https://app.shlink.io + - Docker image + - Self-hosted + - Other (explain in summary) + - type: textarea + validations: + required: true + attributes: + label: Current behavior + value: '' + - type: textarea + validations: + required: true + attributes: + label: Expected behavior + value: '' + - type: textarea + validations: + required: true + attributes: + label: How to reproduce + value: '' diff --git a/.github/ISSUE_TEMPLATE/Question_Support.md b/.github/ISSUE_TEMPLATE/Question_Support.md deleted file mode 100644 index d44aa571..00000000 --- a/.github/ISSUE_TEMPLATE/Question_Support.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: Question - Support -about: Do you have a problem setting up or using shlink? -labels: question ---- - - - -#### Shlink web client version - -* Version: x.y.z -* How do you use shlink-web-client: app.shlink.io|Docker image|self-hosted - -#### Summary - - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..44c11cb8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Question - Support + about: Do you need help setting up or using shlink-web-client? + url: https://github.com/shlinkio/shlink-web-client/discussions/new?category=q-a