From aa8e0bd3f60f88aaab849448a00f9030876b5f0e Mon Sep 17 00:00:00 2001 From: Sebastian Kreft Date: Mon, 22 Feb 2021 17:35:14 -0300 Subject: [PATCH] Add Github Issue Templates (#1367) * Path intersection was not checking paths with circles. As an optimization the path intersection was checking the paths had three or more elements, caliming that otherwise there was nothing to fill. However a semi circle would actually contain 2 points. Fixes #1048. This adds a simplified test case for the 2 offending files reported in the issue. * Add issue templates We add issue templates for: - Bug Reports - Feature Requests - Plugin Requests - Pull Requests - Questions * Add Github issue templates Fixes #1364, but is is missing the template for pull requests see https://docs.github.com/en/github/building-a-strong-community/creating-a-pull-request-template-for-your-repository * fix * Use "New plugin" label Co-authored-by: Bogdan Chadkin --- .github/ISSUE_TEMPLATE/bug_report.md | 32 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++++ .github/ISSUE_TEMPLATE/plugin_request.md | 22 ++++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/plugin_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..67d466e14 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,32 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +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. + +**Desktop (please complete the following information):** + - SVGO Version [e.g. 2.0.3] + - NodeJs Version [e.g 14.0.4] + - OS: [e.g. iOS] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..0f1239f17 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Questions + url: https://stackoverflow.com/questions/tagged/svgo + about: Please ask and answer questions on StackOverflow with the svgo tag. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..11fc491ef --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: enhancement +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/plugin_request.md b/.github/ISSUE_TEMPLATE/plugin_request.md new file mode 100644 index 000000000..2c9c2afe3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/plugin_request.md @@ -0,0 +1,22 @@ +--- +name: Plugin request +about: Suggest a plugin for this project +title: '' +labels: 'New plugin' +assignees: '' + +--- + +**Is your plugin request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe what the plugin should do** +A clear and concise description of what you want to happen. + + + +**Additional context** +Include any links pointing to relevant specs or general knowledge that may validate your plugin idea. + +**Implementation** +- [ ] Are you volunteering to work on this plugin?