From 58838b48d893ff309aa5cb1de00468f6699a1cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20=C5=BBuraw?= <9116238+krzysztofzuraw@users.noreply.github.com> Date: Thu, 25 May 2023 17:04:55 +0200 Subject: [PATCH] Change bug report to form (#3692) --- .github/ISSUE_TEMPLATE/bug_report.md | 63 --------------------------- .github/ISSUE_TEMPLATE/bug_report.yml | 46 +++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ 3 files changed, 51 insertions(+), 63 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index b29dd2d0a..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - -### Description of the issue - -… - -### Steps to reproduce the problem - -1. -2. - -### Expected Result - -… - -### Actual Result - -… - -### Screenshots - - -### HTTP request and response from inspector - - -``` -// insert request and response here -``` - -### Console output - - -``` -// insert console output here -``` - -### System information - -Dashboard version: - -`v?.?.?` (e.g. `v3.6.0`) - -Core version: - -`v?.?.?` - -Operating system: - -- [ ] Windows -- [ ] Linux -- [ ] MacOS -- [ ] Other - -Browser: - -- [ ] Safari -- [ ] Chrome -- [ ] Edge -- [ ] Other diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..659b65e67 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,46 @@ +name: Bug report +description: Create a report to help us improve +title: "" +labels: ["bug"] + +body: + - type: textarea + id: Description + attributes: + label: Description of the issue + description: Describe your goal, use case, or provide context of your problem. + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce the problem + description: Reproduction steps. + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: What did you expect to happen? + description: Describe why the behavior described earlier is incorrect. + validations: + required: true + - type: textarea + id: additional-info + attributes: + label: Additional information + description: Include any logs from the console, screenshots that could help us understand the problem. Make sure to omit any personal identifiable information or data sensitive to your business. + validations: + required: false + - type: textarea + id: environment + attributes: + label: Environment + description: Provide some information about your environment. + value: | + Browser and version: … + OS and version: … + Dashboard version: … + Core version: … + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..21fab136b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: 💬 GitHub Discussions + url: https://github.com/saleor/dashboard/discussions + about: If you have a support question or need help getting dashboard to work, please use GitHub Discussions.