From 2878881e1015d83b79749862a269e4e9ff55ad25 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 11 Oct 2024 06:59:18 +0200 Subject: [PATCH 1/4] 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? From 665b6dd7e77884d3211d5543007db9287fc9dd7b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 11 Oct 2024 07:01:26 +0200 Subject: [PATCH 2/4] =?UTF-8?q?Describe=20the=20bug=20=E2=86=92=20Bug=20de?= =?UTF-8?q?scription?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 6d36fb3d..10472ecd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -46,7 +46,7 @@ body: - type: textarea id: "description" attributes: - label: "Describe the bug" + label: "Bug description" description: |- A concise description of what the bug is. If applicable, add screenshots to help explain your problem. From 47a8a174e62486f281330dfbc72bab5a1900d3d3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 11 Oct 2024 07:02:35 +0200 Subject: [PATCH 3/4] Convert feature request to issue form --- .github/ISSUE_TEMPLATE/feature_request.md | 20 ------------ .github/ISSUE_TEMPLATE/feature_request.yml | 37 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 20 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 36014cde..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -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/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..33eb2156 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,37 @@ +name: "Feature request" +description: "Suggest an idea for this project" + +labels: +- "enhancement" + + +body: +- type: textarea + id: "problem" + attributes: + label: "Problem I have" + description: |- + If your request is related to a problem, please provide a clear and concise description of what the problem is. + placeholder: |- + I'm always frustrated when [...] + +- type: textarea + id: "solution" + attributes: + label: "Solution I'd like" + description: |- + A clear and concise description of what you want to happen. + +- type: textarea + id: "alternatives" + attributes: + label: "Alternatives considered" + description: |- + A clear and concise description of any alternative solutions or features you've considered. + +- type: textarea + id: "other" + attributes: + label: "Other" + description: |- + Anything you want to add? From 6ff127c8b3ef53d05c5033951e0e04788570ef43 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 11 Oct 2024 07:04:37 +0200 Subject: [PATCH 4/4] Allow bypassing issue forms --- .github/ISSUE_TEMPLATE/config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..0086358d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true