diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 6c4ac490..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -name: 🐛 Bug Report -about: Create a report to help improve this plugin ---- - - - -## Bug report - -### Describe the bug - -A clear and concise description of what the bug is. - -### Steps to reproduce the behavior - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -### Expected behavior - -A clear and concise description of what you expected to happen. - -### Screenshots - -If applicable, add screenshots to help explain your problem. - -### Code snippets - -If applicable, add code samples to help explain your problem. - -### System - -- Node.js version: -- NPM version: -- Strapi version: -- Plugin version: -- Database: -- Operating system: - -### Additional context - -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..83240340 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,124 @@ +name: 🐛 Bug Report +description: Create a report to help improve this plugin +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Hello 👋 Thank you for submitting an issue. + + - type: dropdown + id: addon + attributes: + label: Addon + description: Please select the addon related to this issue + options: + - No specific addon – This bug report is related to Webtools Core + - Webtools Core: Sitemap Addon + - Webtools Pro: Redirects Addon + - Webtools Pro: Links Addon + validations: + required: true + + - type: textarea + id: bug-description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + placeholder: Tell us what happened + validations: + required: true + + - type: textarea + id: reproduction-steps + attributes: + label: Steps to reproduce the behavior + description: Please provide detailed steps to reproduce the issue + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + placeholder: What should have happened instead? + validations: + required: true + + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem. + placeholder: Drag and drop screenshots here or paste image URLs + + - type: textarea + id: code-snippets + attributes: + label: Code snippets + description: If applicable, add code samples to help explain your problem. + render: javascript + placeholder: Add your code here + + - type: input + id: nodejs-version + attributes: + label: Node.js version + description: Please ensure you are using the Node LTS version + placeholder: e.g., v18.17.0 + validations: + required: true + + - type: input + id: npm-version + attributes: + label: NPM version + placeholder: e.g., 9.6.7 + validations: + required: true + + - type: input + id: strapi-version + attributes: + label: Strapi version + placeholder: e.g., 4.15.5 + validations: + required: true + + - type: input + id: plugin-version + attributes: + label: Plugin version + placeholder: e.g., 1.2.3 + validations: + required: true + + - type: input + id: database + attributes: + label: Database + placeholder: e.g., PostgreSQL, MySQL, SQLite + validations: + required: true + + - type: input + id: operating-system + attributes: + label: Operating system + placeholder: e.g., macOS 13.6, Windows 11, Ubuntu 22.04 + validations: + required: true + + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context about the problem here. + placeholder: Any additional information that might be helpful diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index b94de9fd..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: 🚀 Feature Request -about: Suggest an idea to help make this plugin even better! ---- - - - -## Feature request - -### Summary - -Quick summary what's this feature request about. - -### Why is it needed? - -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -### Suggested solution(s) - -A clear and concise description of what you want to happen. - -### Related issue(s)/PR(s) - -Let us know if this is related to any issue/pull request. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..c8ddbb21 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,56 @@ +name: 🚀 Feature Request +description: Suggest an idea to help make this plugin even better! +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Hello 👋 Thank you for submitting a feature request. + + - type: dropdown + id: addon + attributes: + label: Addon + description: Please select the addon related to this request + options: + - No specific addon – This feature request is related to Webtools Core + - Webtools Core: Sitemap Addon + - Webtools Pro: Redirects Addon + - Webtools Pro: Links Addon + validations: + required: true + + - type: textarea + id: summary + attributes: + label: Summary + description: Quick summary what's this feature request about. + placeholder: Briefly describe the feature you'd like to see + validations: + required: true + + - type: textarea + id: why-needed + attributes: + label: Why is it needed? + description: A clear and concise description of what the problem is. + placeholder: Ex. I'm always frustrated when [...] + validations: + required: true + + - type: textarea + id: suggested-solution + attributes: + label: Suggested solution(s) + description: A clear and concise description of what you want to happen. + placeholder: Describe your ideal solution + validations: + required: true + + - type: textarea + id: related-issues + attributes: + label: Related issue(s)/PR(s) + description: Let us know if this is related to any issue/pull request. + placeholder: "#123, #456, or links to related issues/PRs"