From 2878881e1015d83b79749862a269e4e9ff55ad25 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 11 Oct 2024 06:59:18 +0200 Subject: [PATCH] Convert bug report to issue form --- .github/ISSUE_TEMPLATE/bug_report.md | 41 -------------- .github/ISSUE_TEMPLATE/bug_report.yml | 81 +++++++++++++++++++++++++++ 2 files changed, 81 insertions(+), 41 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 6dc764db..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. -- Which site: [e.g. dev.phanpy.social OR phanpy.social] -- Which site version: [On Phanpy, go to Settings -> About] -- Which instance: [e.g. mastodon.social] - -**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..6d36fb3d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,81 @@ +name: "Bug report" +description: "Create a report to help us improve" + +labels: +- "bug" + +body: +- type: input + id: "site" + attributes: + label: "Site" + description: |- + What site(s) did you encounter this bug on? + placeholder: |- + phanpy.social + +- type: input + id: "version" + attributes: + label: "Version" + description: |- + Which Phanpy version(s) did you encounter this bug on? + You can see and copy your current version by opening the Settings menu and scrolling down to the About section. + placeholder: |- + 2024.10.08.0a176e2 + +- type: input + id: "instance" + attributes: + label: "Instance" + description: |- + Which instance(s) did you encounter this bug on? + placeholder: |- + mastodon.social + +- type: textarea + id: "Browser" + attributes: + label: "Browser" + description: |- + Which browser(s) did you encounter this bug on? + placeholder: |- + - Firefox 132.0b5 on Windows 11 + - Safari 18 on iOS 18 on iPhone 16 Pro Max + +- type: textarea + id: "description" + attributes: + label: "Describe the bug" + description: |- + A concise description of what the bug is. + If applicable, add screenshots to help explain your problem. + You can paste screenshots here and GitHub will convert them to Markdown for you. + +- type: textarea + id: "steps" + attributes: + label: "To reproduce" + description: |- + A list of steps that can be performed to make the bug happen again. + If possible, add screenshots to help demonstrate the steps. + You can paste screenshots here and GitHub will convert them to Markdown for you. + placeholder: |- + 1. Go to '...' + 2. Click on '...' + 3. Scroll down to '...' + 4. See error + +- type: textarea + id: "behavior" + attributes: + label: "Expected behavior" + description: |- + A concise description of what you expected to happen. + +- type: textarea + id: "other" + attributes: + label: "Other" + description: |- + Anything you want to add?