add issue template yml from lemmy-ui (#3086)
authorRaymond Berger <RayBB@users.noreply.github.com>
Wed, 14 Jun 2023 20:21:03 +0000 (22:21 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 20:21:03 +0000 (22:21 +0200)
* add issue template yml from lemmy-ui

* prettier

* Empty-Commit for CI

* improve Qs

* add instance question

* delete hexbear

* backend version

.github/ISSUE_TEMPLATE/BUG_REPORT.md [deleted file]
.github/ISSUE_TEMPLATE/BUG_REPORT.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md [deleted file]
.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/QUESTION.md [deleted file]
.github/ISSUE_TEMPLATE/QUESTION.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/hexbear.md [deleted file]

diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md
deleted file mode 100644 (file)
index 6217971..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
----
-name: "\U0001F41E Bug Report"
-about: Create a report to help us improve Lemmy
-title: ""
-labels: bug
-assignees: ""
----
-
-- [ ] Did you check to see if this issue already exists?
-- [ ] Is this only a single bug? Do not put multiple bugs in one issue.
-- [ ] Is this a question or discussion? Don't use this, use https://lemmy.ml/c/lemmy_support .
-- [ ] Is this a UI / front end issue? Use the [lemmy-ui](https://github.com/LemmyNet/lemmy-ui) repo.
-
-### Issue Summary
-
-A summary of the bug.
-
-### Steps to Reproduce
-
-1. (for example) I clicked login, and an endless spinner show up.
-2. I tried to install lemmy via this guide, and I'm getting this error.
-3. ...
-
-### Technical details
-
-- Please post your log: `sudo docker-compose logs > lemmy_log.out`.
-- What OS are you trying to install lemmy on?
-- Any browser console errors?
diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml
new file mode 100644 (file)
index 0000000..af35f77
--- /dev/null
@@ -0,0 +1,68 @@
+name: "\U0001F41E Bug Report"
+description: Create a report to help us improve lemmy
+title: "[Bug]: "
+labels: ["bug", "triage"]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Found a bug? Please fill out the sections below. 👍
+        Thanks for taking the time to fill out this bug report!
+        For front end issues, use [lemmy](https://github.com/LemmyNet/lemmy-ui)
+  - type: checkboxes
+    attributes:
+      label: Requirements
+      description: Before you create a bug report please do the following.
+      options:
+        - label: Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support
+          required: true
+        - label: Did you check to see if this issue already exists?
+          required: true
+        - label: Is this only a single bug? Do not put multiple bugs in one issue.
+          required: true
+        - label: Is this a UI / front end issue? Use the [lemmy-ui](https://github.com/LemmyNet/lemmy-ui) repo.
+          required: true
+  - type: textarea
+    id: summary
+    attributes:
+      label: Summary
+      description: A summary of the bug.
+    validations:
+      required: true
+  - type: textarea
+    id: reproduce
+    attributes:
+      label: Steps to Reproduce
+      description: |
+        Describe the steps to reproduce the bug.
+        The better your description is _(go 'here', click 'there'...)_ the fastest you'll get an _(accurate)_ resolution.
+      value: |
+        1.
+        2.
+        3.
+    validations:
+      required: true
+  - type: textarea
+    id: technical
+    attributes:
+      label: Technical Details
+      description: |
+        - Please post your log: `sudo docker-compose logs > lemmy_log.out`.
+        - What OS are you trying to install lemmy on?
+        - Any browser console errors?
+    validations:
+      required: true
+  - type: input
+    id: lemmy-backend-version
+    attributes:
+      label: Version
+      description: Which Lemmy backend version do you use? Displayed in the footer.
+      placeholder: ex. BE 0.17.4
+    validations:
+      required: true
+  - type: input
+    id: lemmy-instance
+    attributes:
+      label: Lemmy Instance URL
+      description: Which Lemmy instance do you use? The address
+      placeholder: lemmy.ml, lemmy.world, etc
diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
deleted file mode 100644 (file)
index 8f7caf2..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
----
-name: "\U0001F680 Feature request"
-about: Suggest an idea for improving Lemmy
-title: ""
-labels: enhancement
-assignees: ""
----
-
-- [ ] Did you check to see if this issue already exists?
-- [ ] Is this only a single feature request? Do not put multiple feature requests in one issue.
-- [ ] Is this a question or discussion? Don't use this, use https://lemmy.ml/c/lemmy_support.
-- [ ] Is this a UI / front end issue? Use the [lemmy-ui](https://github.com/LemmyNet/lemmy-ui) repo.
-
-**Describe the feature request below**
diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
new file mode 100644 (file)
index 0000000..fa4e7c9
--- /dev/null
@@ -0,0 +1,54 @@
+name: "\U0001F680 Feature request"
+description: Suggest an idea for improving Lemmy
+labels: ["enhancement"]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Have a suggestion about Lemmy's UI?
+        For backend issues, use [lemmy](https://github.com/LemmyNet/lemmy)
+  - type: checkboxes
+    attributes:
+      label: Requirements
+      description: Before you create a bug report please do the following.
+      options:
+        - label: Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support
+          required: true
+        - label: Did you check to see if this issue already exists?
+          required: true
+        - label: Is this only a feature request? Do not put multiple feature requests in one issue.
+          required: true
+        - label: Is this a UI / front end issue? Use the [lemmy-ui](https://github.com/LemmyNet/lemmy-ui) repo.
+          required: true
+  - type: textarea
+    id: problem
+    attributes:
+      label: Is your proposal related to a problem?
+      description: |
+        Provide a clear and concise description of what the problem is.
+        For example, "I'm always frustrated when..."
+    validations:
+      required: true
+  - type: textarea
+    id: solution
+    attributes:
+      label: Describe the solution you'd like.
+      description: |
+        Provide a clear and concise description of what you want to happen.
+    validations:
+      required: true
+  - type: textarea
+    id: alternatives
+    attributes:
+      label: Describe alternatives you've considered.
+      description: |
+        Let us know about other solutions you've tried or researched.
+    validations:
+      required: true
+  - type: textarea
+    id: context
+    attributes:
+      label: Additional context
+      description: |
+        Is there anything else you can add about the proposal?
+        You might want to link to related issues here, if you haven't already.
diff --git a/.github/ISSUE_TEMPLATE/QUESTION.md b/.github/ISSUE_TEMPLATE/QUESTION.md
deleted file mode 100644 (file)
index ef89c7d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-name: "? Question"
-about: General questions about Lemmy
-title: ""
-labels: question
-assignees: ""
----
-
-Do not use this for questions or support. Use [!lemmy_support](https://lemmy.ml/c/lemmy_support).
diff --git a/.github/ISSUE_TEMPLATE/QUESTION.yml b/.github/ISSUE_TEMPLATE/QUESTION.yml
new file mode 100644 (file)
index 0000000..734937e
--- /dev/null
@@ -0,0 +1,17 @@
+name: "? Question"
+description: General questions about Lemmy
+title: "Question: "
+labels: ["question", "triage"]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Have a question about Lemmy's UI?
+        Please check the docs first: https://join-lemmy.org/docs/en/index.html
+  - type: textarea
+    id: question
+    attributes:
+      label: Question
+      description: What's the question you have about Lemmy's UI?
+    validations:
+      required: true
diff --git a/.github/ISSUE_TEMPLATE/hexbear.md b/.github/ISSUE_TEMPLATE/hexbear.md
deleted file mode 100644 (file)
index 65483df..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-name: Hexbear
-about: For hexbear issues
-title: ""
-labels: hexbear
-assignees: ""
----
-
-For hexbear-related issues