diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..19fa969b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,69 @@ +name: Bug report +description: Create a report to help us improve tiptap +labels: + - bug +body: + - type: textarea + id: problem + attributes: + label: What’s the bug you are facing? + description: A clear and concise description of what the bug is. + placeholder: "I’m always frustrated when …" + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: How can we reproduce the bug on our side? + description: Steps to reproduce the behavior + validations: + required: true + - type: markdown + attributes: + value: | + Chances that we can fix your issue are way higher, if you can provide a CodeSandbox to reproduce the issue. + + * Vue: https://codesandbox.io/s/tiptap-issue-template-b83rr?file=/src/components/Tiptap.vue + * React: https://codesandbox.io/s/tiptap-react-08yxr + - type: textarea + id: codesandbox + attributes: + label: Can you provide a CodeSandbox? + validations: + required: false + - type: textarea + id: expectation + attributes: + label: What did you expect to happen? + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: expectation + attributes: + label: What did you expect to happen? + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: context + attributes: + label: Anything to add? (optional) + description: "Add any other context, screenshots, videos or GIFs here." + - type: checkboxes + attributes: + label: Did you update your dependencies? + description: `yarn upgrade-interactive` + options: + - label: Yes, I’ve updated my dependencies to use the latest version of all packages. + required: true + - type: checkboxes + attributes: + label: Are you sponsoring us? + options: + - label: Yes, I’m a sponsor. 💖 + required: false + - type: markdown + attributes: + value: | + Thanks for taking the time to send us feedback! diff --git a/.github/ISSUE_TEMPLATE/bug_report_default.md b/.github/ISSUE_TEMPLATE/bug_report_default.md deleted file mode 100644 index 62e33986..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report_default.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -name: Bug report (tiptap v2) -about: Create a report to help us improve tiptap -url: https://github.com/ueberdosis/tiptap/issues/new -title: '' -labels: - - bug -assignees: '' ---- - -**Description** -A clear and concise description of what the bug is. - -**Steps to reproduce the bug** -Steps to reproduce the behavior: -1. Go to … -2. Type in … -3. Click on … -4. See error message - -**CodeSandbox** -I created a CodeSandbox to help you debug the issue: - -* Vue: https://codesandbox.io/s/tiptap-issue-template-b83rr?file=/src/components/Tiptap.vue -* React: https://codesandbox.io/s/tiptap-react-08yxr - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshot, video, or GIF** -If applicable, add screenshots to help explain your problem. - -**Environment?** - - operating system: - - browser: - - mobile/desktop: - - tiptap version: - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 72847f82..7ec624af 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -31,7 +31,7 @@ body: id: context attributes: label: Anything to add? (optional) - placeholder: "Add any other context or screenshots here." + description: "Add any other context or screenshots here." - type: checkboxes attributes: label: Are you sponsoring us? diff --git a/.github/ISSUE_TEMPLATE/feedback.yml b/.github/ISSUE_TEMPLATE/feedback.yml index 095c4c02..5c177ad5 100644 --- a/.github/ISSUE_TEMPLATE/feedback.yml +++ b/.github/ISSUE_TEMPLATE/feedback.yml @@ -37,7 +37,7 @@ body: id: context attributes: label: Anything to add? (optional) - placeholder: "Add any other context or screenshots here." + description: "Add any other context or screenshots here." - type: markdown attributes: value: |