Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

fix: issue template

Christian Feid5bf0a9a0572
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
deleted file mode 100644
index beabc33..0000000
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-name: Bug Report
-description: Help me identify and fix bugs by filling out the details below.
-title: "[BUG]: <short description>"
-labels: [bug]
-assignees: []
-projects: []
-
-body:
- - type: markdown
- attributes:
- value: |
- Thank you for reporting a bug! Please provide as much detail as possible.
-
- - type: input
- id: bug-summary
- attributes:
- label: Bug Summary
- description: A brief description of the issue.
- placeholder: "e.g., 'App crashes when ...'"
-
- - type: textarea
- id: details
- attributes:
- label: Details
- description: Provide all relevant information:
- - Steps to reproduce
- - Expected behavior
- - Actual behavior
- placeholder: |
- **Steps to Reproduce:**
- 1. Go to...
- 2. Click on...
- 3. See the error...
-
- **Expected Behaviour:**
- Describe what should have happened.
-
- **Actual Behaviour:**
- Describe what happened instead, including error messages or codes.
- value: |
- **Steps to Reproduce:**
- 1.
- 2.
- 3.
-
- **Expected Behaviour:**
-
- **Actual Behaviour:**
-
- - type: input
- id: environment
- attributes:
- label: Environment
- description: Include OS, browser, wether you're using docker or running my-yt with node.js.
- placeholder: "e.g., Windows 10, Chrome 114, Docker/node.js"
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000..e8174c7
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,50 @@
+name: "Bug report"
+description: Report errors or unexpected behavior
+type: Bug
+labels:
+- bug
+body:
+- type: markdown
+ attributes:
+ value: Please make sure to [search for existing issues](https://github.com/christian-fei/my-yt/issues) before filing a new one! Please also check the [contributor todo list](https://github.com/christian-fei/my-yt/issues/5) and ensure there isn't already an entry for your issue/improvement proposal.
+
+- type: dropdown
+ attributes:
+ label: Installation method
+ description: How do you run my-yt?
+ multiple: false
+ options:
+ - docker
+ - node.js
+ validations:
+ required: true
+
+- type: input
+ attributes:
+ label: Bug Summary
+ description: A brief description of the issue.
+ placeholder: "e.g., 'App crashes when ...'"
+ validations:
+ required: true
+
+- type: textarea
+ attributes:
+ label: Steps to reproduce
+ description: We highly suggest including screenshots and the application logs (check your terminal).
+ placeholder: Having detailed steps helps us reproduce the bug.
+ validations:
+ required: true
+
+- type: textarea
+ attributes:
+ label: ✔️ Expected Behavior
+ placeholder: What were you expecting?
+ validations:
+ required: false
+
+- type: textarea
+ attributes:
+ label: ❌ Actual Behavior
+ placeholder: What happened instead?
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 3ba13e0..8c2894a 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1 +1,7 @@
blank_issues_enabled: false
+issue_templates:
+ - name: "Bug Report"
+ description: "Report a bug in the system."
+ title: "[Bug]: "
+ labels: ["bug"]
+ body: "./ISSUE_TEMPLATE/bug_report.md"
\ No newline at end of file