From 765d0b32e60bbf2ee22e33c0d3d7a878140b018e Mon Sep 17 00:00:00 2001 From: chimurai <655241+chimurai@users.noreply.github.com> Date: Sun, 25 Apr 2021 11:31:43 +0200 Subject: [PATCH] chore(github): issue forms (#569) --- .github/ISSUE_TEMPLATE/bug.yml | 46 ++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++++ .github/ISSUE_TEMPLATE/feature.yml | 12 ++++++++ 3 files changed, 63 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..c89e3b8c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,46 @@ +name: Bug report +description: 'Create a report to help us improve' +labels: bug +body: + - type: markdown + attributes: + value: 'Please note your issue will be closed without comment if do not fill out the issue checklist and provide ALL the requested information.' + - type: textarea + attributes: + render: shell + label: '`yarn why http-proxy-middleware` OR `npm ls http-proxy-middleware` output (mask private folder names with *****)' + validations: + required: true + - type: checkboxes + attributes: + description: Please verify that you've followed these steps. + options: + - label: I updated to latest `http-proxy-middleware`. + required: true + - type: textarea + attributes: + label: 'Describe the bug (be clear and concise)' + validations: + required: true + - type: textarea + attributes: + render: shell + label: 'Server and `http-proxy-middleware` configuration' + validations: + required: true + - type: markdown + attributes: + value: 'If possible, please provide minimal example on CodeSandbox that demonstrates the issue. You can use the following template: https://codesandbox.io/s/http-proxy-middleware-44oc1' + - type: textarea + attributes: + label: 'Step-by-step reproduction instructions' + validations: + required: true + - type: textarea + attributes: + label: 'Expected behavior' + validations: + required: true + - type: textarea + attributes: + label: 'Additional context (optional)' diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..52e5dd04 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Get help in GitHub Discussions + url: https://github.com/chimurai/http-proxy-middleware/discussions + about: Have a question? The quickest way to get help is on http-proxy-middleware's GitHub Discussions! diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..e77f8224 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,12 @@ +name: Feature Request +description: 'Suggest an idea for this project' +labels: feature +body: + - type: textarea + attributes: + label: "Describe the feature you'd love to see" + validations: + required: true + - type: textarea + attributes: + label: 'Additional context (optional)'