Ver Fonte

Update and create new issue templates for better ctageorisation

[128 of 600 issues are just questions and support and this is getting out of hand IMHO](https://github.com/PrivateBin/PrivateBin/issues?q=is%3Aissue+is%3Aopen+label%3Aquestion%2Fsupport), so I thought we need to do something while of course IMHO keeping support in some sense that is vital to an open-source project.

Anyway, this here now:
* Converts the "one and only issue template" to multiple ones with the new GitHub way, see https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/
  Note this uses mostly the templates they have, modifies them to use proper headers (sorry but I don't get why they always want to use **bold text** as headers, when you have real markdown headings) and adjusts/ports the
* We could use even more elaborate issue forms, but that  was too much for me to do now and is also beta, so maybe when they have a visual editor for that or so 😉 https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms

The aim:
* is to get support requests and stuff directly sorted and tagged, so they are out the way
* is to nudge people to improve the quality of issues/reports by providing a more useful template or their use case
* is to redirect people to the appropriate resource (give me a moment)
rugk há 3 anos atrás
pai
commit
1a37f7b865

+ 46 - 0
.github/ISSUE_TEMPLATE/bug_report.md

@@ -0,0 +1,46 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: ''
+labels: bug
+assignees: ''
+
+---
+
+<-- Describe the bug: A clear and concise description of what the bug is. -->
+
+## Steps to reproduce
+<!-- Tell us how to reproduce the problem. -->
+1.
+2.
+
+### What happens
+
+
+### What should happen
+
+
+## Additional information
+<!--
+Here you can add screenshots. If the issue is e.g. a client-side issue (= an issue, which happens in your browser) press F12 and copy and paste the console output or add a screenshot.
+If you have access to the server log files, also copy them here.
+-->
+
+## Basic information
+
+<!-- If you use a public server enter the address of it here. -->
+**Server address**:
+
+<!-- The Operation System of your server -->
+**Server OS:**
+
+<!-- The webserver running on your server, preferably including the version -->
+**Webserver:**
+
+<!-- The version of your browser (when it is a client-side issue) -->
+**Browser:**
+
+<!-- The version of PrivateBin, if you use an unstable version paste the commit hash or the GitHub link to the commit here (you can get it by running `git rev-parse HEAD`) -->
+**PrivateBin version:**
+
+I can reproduce this issue on <https://privatebin.net>: Yes / No

+ 22 - 0
.github/ISSUE_TEMPLATE/feature_request.md

@@ -0,0 +1,22 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: ''
+labels: enhancement
+assignees: ''
+
+---
+
+## The problem
+
+<-- 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 -->
+
+## The solution
+<-- A clear and concise description of what you want to happen. Pitch your solution! What would happen, if we don't implement this? -->
+
+## Alternatives
+<!-- 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. -->

+ 50 - 0
.github/ISSUE_TEMPLATE/question-and-support.md

@@ -0,0 +1,50 @@
+---
+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. -->
+
+<!-- Please tick this to confirm, you did it.-->
+* [ ] Yes I have read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ) and I found no solution/answer there.
+
+## What you did
+<!-- Tell us how to reproduce the problem. -->
+1.
+2.
+
+### What happens
+
+
+### What should happen
+
+
+## Additional information
+<!--
+Here you can add screenshots. If the issue is e.g. a client-side issue (= an issue, which happens in your browser) press F12 and copy and paste the console output or add a screenshot.
+If you have access to the server log files, also copy them here.
+-->
+
+## Basic information
+
+<!-- If you use a public server enter the address of it here. -->
+**Server address**:
+
+<!-- The Operation System of your server -->
+**Server OS:**
+
+<!-- The webserver running on your server, preferably including the version -->
+**Webserver:**
+
+<!-- The version of your browser (when it is a client-side issue) -->
+**Browser:**
+
+<!-- The version of PrivateBin, if you use an unstable version paste the commit hash or the GitHub link to the commit here (you can get it by running `git rev-parse HEAD`) -->
+**PrivateBin version:**
+
+I can reproduce this issue on <https://privatebin.net>: Yes / No