From 204d1756c97138e3abc470d8d49f954f0cfaeb41 Mon Sep 17 00:00:00 2001 From: rugk Date: Mon, 7 Aug 2023 17:56:38 +0000 Subject: [PATCH] refactor: redirect support questions to discussions including form + more links Discussions apparently onyl support forms see, so I quickly used ChatGPT to convert the Markdown file into the YAMl format and after telling the format it seems to have done that in a good eay: https://chat.openai.com/share/99718495-28d0-4382-ab5e-6a4a733c1ccb (maybe GitHub introduced that after end of 2021 hehe, so the LLM could not know that) --- .github/DISCUSSION_TEMPLATE/q-a.yml | 62 +++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 5 +- .github/ISSUE_TEMPLATE/config.yml | 13 ++++ .../ISSUE_TEMPLATE/question-and-support.md | 50 --------------- 4 files changed, 79 insertions(+), 51 deletions(-) create mode 100644 .github/DISCUSSION_TEMPLATE/q-a.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/question-and-support.md diff --git a/.github/DISCUSSION_TEMPLATE/q-a.yml b/.github/DISCUSSION_TEMPLATE/q-a.yml new file mode 100644 index 00000000..cf02916f --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/q-a.yml @@ -0,0 +1,62 @@ +title: "[Question and support] " +labels: ["question/support"] +body: + - type: markdown + attributes: + value: | + Describe the problem/question: A clear and concise description of what the problem/issue or question is. + - type: checkboxes + attributes: + label: Please tick this to confirm + options: + - label: Yes, I have read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ) and I found no solution/answer there. + - type: markdown + attributes: + value: | + ## What you did + Tell us how to reproduce the problem. + + 1. + 2. + - type: textarea + id: what_happens + attributes: + label: What happens + - type: textarea + id: what_should_happen + attributes: + label: What should happen + - type: textarea + id: additional_info + attributes: + label: Additional information + description: If you have access to the server log files, copy them here. + - type: input + id: server_address + attributes: + label: Server address + - type: input + id: server_os + attributes: + label: Server OS + - type: input + id: webserver + attributes: + label: Webserver + - type: input + id: browser + attributes: + label: Browser + - type: input + id: privatebin_version + attributes: + label: PrivateBin version + - type: radio + id: reproduce_issue + attributes: + label: I can reproduce this issue on [https://privatebin.net](https://privatebin.net) + options: + - label: Yes + value: Yes + - label: No + value: No diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0541a10f..9a02c084 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,12 +1,15 @@ --- name: Bug report -about: Create a report to help us improve +about: Create a report to help us improve (only for software bugs) title: '' labels: bug assignees: '' --- + + <-- Describe the bug: A clear and concise description of what the bug is. --> ## Steps to reproduce diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..2df8210a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,13 @@ +blank_issues_enabled: false +contact_links: + - name: Question and support + url: https://github.com/orgs/PrivateBin/discussions/new?category=q-a + about: Your setup is not working and you need help or you have a question regarding + PrivateBin + - name: Problem with the container image + url: https://github.com/PrivateBin/docker-nginx-fpm-alpine/issues/new + about: Please report all problems that apply **only** to the official (Docker) image `docker-nginx-fpm-alpine` here. + - name: Security issue + url: https://github.com/PrivateBin/PrivateBin/security/policy + about: Please report security vulnerabilities and other security issues here. + diff --git a/.github/ISSUE_TEMPLATE/question-and-support.md b/.github/ISSUE_TEMPLATE/question-and-support.md deleted file mode 100644 index 973deadf..00000000 --- a/.github/ISSUE_TEMPLATE/question-and-support.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -name: Question and support -about: Your setup is not working and you need help or you have a question regarding - PrivateBin -title: '' -labels: question/support -assignees: '' - ---- - -<-- Describe the problem/question: A clear and concise description of what the bug is. --> - - -* [ ] Yes I have read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ) and I found no solution/answer there. - -## What you did - -1. -2. - -### What happens - - -### What should happen - - -## Additional information - - -## Basic information - - -**Server address**: - - -**Server OS:** - - -**Webserver:** - - -**Browser:** - - -**PrivateBin version:** - -I can reproduce this issue on : Yes / No