From 451b6558502cf58b1fc71b35efb0a37032aca8c9 Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Wed, 29 Sep 2021 00:09:35 +0200 Subject: [PATCH] github: transform the feature request template to an issue form --- .github/ISSUE_TEMPLATE/bug_report_default.md | 1 - .github/ISSUE_TEMPLATE/feature_request.md | 21 -------- .github/ISSUE_TEMPLATE/feature_request.yml | 52 ++++++++++++++++++++ 3 files changed, 52 insertions(+), 22 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report_default.md b/.github/ISSUE_TEMPLATE/bug_report_default.md index 29fe13bc..62e33986 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_default.md +++ b/.github/ISSUE_TEMPLATE/bug_report_default.md @@ -5,7 +5,6 @@ url: https://github.com/ueberdosis/tiptap/issues/new title: '' labels: - bug - - v2 assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 821226c8..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Feature request -about: Suggest a new feature for tiptap v2 -title: '' -labels: - - feature request - - v2 -assignees: '' ---- - -**The problem I am facing** -A clear and concise description of what the problem is. For example: I’m always frustrated when … - -**The solution I would like** -A clear and concise description of what you want to happen. - -**Alternatives I have considered** -A clear and concise description of any alternative solutions or features you have considered. - -**Additional context** -Add any other context or screenshots here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..65c769e9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,52 @@ +name: Feature request +description: Suggest a new feature for tiptap +labels: + - feature request +body: + - type: textarea + id: problem + attributes: + label: What problem are you facing? + description: A clear and concise description of what the problem is. + placeholder: "I’m always frustrated when …" + validations: + required: true + - type: textarea + id: solution + attributes: + label: What’s the solution you would like to see? + description: A clear and concise description of what you want to happen. + placeholder: "I’d like …" + validations: + required: true + - type: textarea + id: solution + attributes: + label: What alternatives did you consider? + description: A clear and concise description of what you want to happen. + placeholder: "I’ve considered to …" + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: What alternatives did you consider? + description: A clear and concise description of what you want to happen. + placeholder: "I’ve considered to …" + validations: + required: true + - type: textarea + id: context + attributes: + label: Anything to add? (optional) + placeholder: "Add any other context or screenshots here." + - type: checkboxes + id: sponsr + attributes: + label: Are you sponsoring us? + options: + - label: Yes, I’m a sponsor. 💖 + - type: markdown + attributes: + value: | + Thanks for taking the time to send us feedback!