From 992eaab5527da985fe0cbd5aabea15b2736d7bef Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Mon, 28 Aug 2023 08:28:07 +0200 Subject: [PATCH] Replace md issue template by yaml form template --- .github/ISSUE_TEMPLATE/bug_report.md | 35 ----------------- .github/ISSUE_TEMPLATE/bug_report.yml | 54 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 35 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 68cc5331..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve 2FAuth - ---- - -**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):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**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..5d359fa1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,54 @@ +name: Bug report +description: Create a bug report to help improve 2FAuth +projects: Bubka/1 +body: + - type: input + id: 2fauth_version + attributes: + label: Version + description: The 2FAuth version on which the issue occurs + placeholder: x.y.z + validations: + required: true + - type: textarea + id: reproduction_steps + attributes: + label: Details & Steps to reproduce + description: A clear and concise description of what is happening and how to reproduce it. Screenshots are welcome. + validations: + required: true + - type: textarea + id: expectation + attributes: + label: Expectation + description: A description of what you expected to happen + validations: + required: true + - type: textarea + id: error_logs + attributes: + label: Error & Logs + description: >- + Error message, stack trace, error/access logs from the web server, php or your database system. + placeholder: 2FAuth logs can be found in [2FAuth_install_directory]/storage/logs/ + render: shell + - type: textarea + id: environment + attributes: + label: Execution environment + description: How do you run 2FAuth, how do you access it and how it is configured + placeholder: >- + The /about page of your 2FAuth instance displays environment variables, + user preferences and admin settings you can easily copy and past here as a good starting point + - type: checkboxes + id: context + attributes: + label: Containerization + options: + - label: Docker + required: false + - type: textarea + id: additional_info + attributes: + label: Additional information + description: Any additional information you would like to submit