From 9c1ac4a708cd8fc98d6da0e0edf1963bdfd06866 Mon Sep 17 00:00:00 2001 From: BotBlake Date: Thu, 19 Dec 2024 03:32:02 +0100 Subject: [PATCH 1/6] update_issue_template_folder --- .github/{ => ISSUE_TEMPLATE}/issue_template.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => ISSUE_TEMPLATE}/issue_template.md (100%) diff --git a/.github/issue_template.md b/.github/ISSUE_TEMPLATE/issue_template.md similarity index 100% rename from .github/issue_template.md rename to .github/ISSUE_TEMPLATE/issue_template.md From ce293531dc7ca365a698105e89827d2a35283f35 Mon Sep 17 00:00:00 2001 From: BotBlake Date: Thu, 19 Dec 2024 03:36:54 +0100 Subject: [PATCH 2/6] update_template_header --- .github/ISSUE_TEMPLATE/issue_template.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/issue_template.md b/.github/ISSUE_TEMPLATE/issue_template.md index 5cc69fb3..bcd970d1 100644 --- a/.github/ISSUE_TEMPLATE/issue_template.md +++ b/.github/ISSUE_TEMPLATE/issue_template.md @@ -1,3 +1,12 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + **Describe the bug** @@ -18,6 +27,7 @@ **System (please complete the following information):** + - OS: [e.g. Android, Debian, Windows] - Jellyfin Version: [e.g. 10.0.1] - Kodi Version: [e.g. 18.3] From 7b539a2d0415dff7c7ca089968a721ae56baccee Mon Sep 17 00:00:00 2001 From: BotBlake Date: Thu, 19 Dec 2024 04:12:02 +0100 Subject: [PATCH 3/6] add bug_report issue form (new) --- .github/ISSUE_TEMPLATE/bug_report.yml | 101 ++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..14c327b1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,101 @@ +name: "Bug Report [new]" +description: "Report an issue with the software." +title: "[BUG] " +labels: ["type:bug", "bug"] +body: + - type: markdown + content: | + Please provide the following information to help us diagnose the problem. + + - type: input + id: summary + attributes: + label: "Summary" + description: "Provide a short description of the issue." + placeholder: "e.g., App crashes when opening a file" + + - type: dropdown + id: os + attributes: + label: "Operating System" + description: "Select your operating system." + options: + - "Windows" + - "Debuntu" + - "Kodi specific distros" + - "Other Linux" + - "Mac" + - "Xbox" + - "Other" + + - type: dropdown + id: jellyfin_version + attributes: + label: "Jellyfin Server Version" + description: "Select the Jellyfin server version." + options: + - "10.7" + - "10.8" + - "10.9" + - "10.10" + - "Other" + + - type: dropdown + id: kodi_version + attributes: + label: "Kodi Version" + description: "Select the Kodi version." + options: + - "19" + - "20" + - "21" + - "Other" + + - type: dropdown + id: addon_mode + attributes: + label: "Addon Mode" + description: "Select how you are using the addon." + options: + - "Addon-mode" + - "Direct-path mode ('native')" + + - type: textarea + id: steps_to_reproduce + attributes: + label: "Steps to Reproduce" + description: "Provide detailed steps to reproduce the issue." + placeholder: "e.g., 1. Do this. 2. Then do that." + + - type: file-upload + id: logs + attributes: + label: "Logs" + description: "Upload logs to help with debugging." + multiple: true + filetypes: [".log", ".txt"] + + - type: file-upload + id: screenshots + attributes: + label: "Screenshots (optional)" + description: "Upload screenshots that show the issue." + multiple: true + filetypes: [".png", ".jpg", ".jpeg", ".gif"] + optional: true + + - type: file-upload + id: server_logs + attributes: + label: "Server Logs (optional)" + description: "Upload server logs if available." + multiple: true + filetypes: [".log", ".txt"] + optional: true + + - type: textarea + id: additional_info + attributes: + label: "Additional Information (optional)" + description: "Provide any other relevant information." + optional: true From 6a58b9ebe56e29ee067e1b3dce9d3633229e158c Mon Sep 17 00:00:00 2001 From: BotBlake Date: Thu, 19 Dec 2024 05:17:55 +0100 Subject: [PATCH 4/6] fix_bug_report_form --- .github/ISSUE_TEMPLATE/bug_report.yml | 146 ++++++++++++-------------- 1 file changed, 66 insertions(+), 80 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 14c327b1..1e188225 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,101 +1,87 @@ -name: "Bug Report [new]" +name: "Bug Report [NEW]" description: "Report an issue with the software." -title: "[BUG] " -labels: ["type:bug", "bug"] +title: "[Bug]: " +labels: ["bug"] body: - - type: markdown - content: | - Please provide the following information to help us diagnose the problem. - - - type: input + - type: textarea id: summary attributes: label: "Summary" description: "Provide a short description of the issue." placeholder: "e.g., App crashes when opening a file" - - - type: dropdown - id: os - attributes: - label: "Operating System" - description: "Select your operating system." - options: - - "Windows" - - "Debuntu" - - "Kodi specific distros" - - "Other Linux" - - "Mac" - - "Xbox" - - "Other" - - - type: dropdown - id: jellyfin_version - attributes: - label: "Jellyfin Server Version" - description: "Select the Jellyfin server version." - options: - - "10.7" - - "10.8" - - "10.9" - - "10.10" - - "Other" - - - type: dropdown - id: kodi_version - attributes: - label: "Kodi Version" - description: "Select the Kodi version." - options: - - "19" - - "20" - - "21" - - "Other" - - - type: dropdown - id: addon_mode - attributes: - label: "Addon Mode" - description: "Select how you are using the addon." - options: - - "Addon-mode" - - "Direct-path mode ('native')" - + validations: + required: true + - type: textarea id: steps_to_reproduce attributes: label: "Steps to Reproduce" description: "Provide detailed steps to reproduce the issue." - placeholder: "e.g., 1. Do this. 2. Then do that." - - - type: file-upload + placeholder: | + e.g., + 1. Open the app. + 2. Click on the file. + 3. The app crashes. + validations: + required: true + + - type: input + id: os + attributes: + label: "Operating System" + description: "Specify the operating system you are using." + placeholder: "e.g., Ubuntu 24.04" + + - type: input + id: jellyfin_server + attributes: + label: "Jellyfin Server Version" + description: "Specify the version of the Jellyfin server you're using. If you're using an unstable build, please include the commit hash." + placeholder: "e.g., 10.9 or 10.10" + + - type: input + id: kodi_version + attributes: + label: "Kodi Version" + description: "Specify the Kodi version you're using." + placeholder: "e.g., 20.0" + + - type: dropdown + id: addon_mode + attributes: + label: "Addon Mode" + description: "Select how you're using the addon." + options: + - "Addon-mode" + - "Direct-path mode ('native')" + validations: + required: true + + - type: textarea id: logs attributes: label: "Logs" - description: "Upload logs to help with debugging." - multiple: true - filetypes: [".log", ".txt"] - - - type: file-upload - id: screenshots - attributes: - label: "Screenshots (optional)" - description: "Upload screenshots that show the issue." - multiple: true - filetypes: [".png", ".jpg", ".jpeg", ".gif"] - optional: true - - - type: file-upload + description: "Please provide the logs." + placeholder: "Paste your logs here..." + render: "bash" + validations: + required: true + + - type: textarea id: server_logs attributes: - label: "Server Logs (optional)" - description: "Upload server logs if available." - multiple: true - filetypes: [".log", ".txt"] - optional: true - + label: "Server Logs" + description: "Please provide the server logs." + placeholder: "Paste your server logs here..." + render: "bash" + validations: + required: false + - type: textarea id: additional_info attributes: - label: "Additional Information (optional)" + label: "Additional Information" description: "Provide any other relevant information." - optional: true + placeholder: "e.g., Additional context or setup details" + validations: + required: false \ No newline at end of file From ab904cc59a4d8fe293614b922f68545b48136400 Mon Sep 17 00:00:00 2001 From: BotBlake Date: Thu, 19 Dec 2024 17:43:44 +0100 Subject: [PATCH 5/6] adress review --- .github/ISSUE_TEMPLATE/bug_report.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1e188225..2dc16ba2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -8,7 +8,7 @@ body: attributes: label: "Summary" description: "Provide a short description of the issue." - placeholder: "e.g., App crashes when opening a file" + placeholder: "When playing a movie via the «Resume from» context menu, I get the error message «xyz»" validations: required: true @@ -18,9 +18,8 @@ body: label: "Steps to Reproduce" description: "Provide detailed steps to reproduce the issue." placeholder: | - e.g., 1. Open the app. - 2. Click on the file. + 2. Click on a movie. 3. The app crashes. validations: required: true @@ -33,7 +32,7 @@ body: placeholder: "e.g., Ubuntu 24.04" - type: input - id: jellyfin_server + id: jellyfin_server_version attributes: label: "Jellyfin Server Version" description: "Specify the version of the Jellyfin server you're using. If you're using an unstable build, please include the commit hash." @@ -52,6 +51,7 @@ body: label: "Addon Mode" description: "Select how you're using the addon." options: + - "Please Select..." - "Addon-mode" - "Direct-path mode ('native')" validations: @@ -62,8 +62,8 @@ body: attributes: label: "Logs" description: "Please provide the logs." - placeholder: "Paste your logs here..." - render: "bash" + placeholder: "Paste your Kodi logs here..." + render: "python" validations: required: true @@ -71,9 +71,9 @@ body: id: server_logs attributes: label: "Server Logs" - description: "Please provide the server logs." + description: "Please provide server logs (if relevant)." placeholder: "Paste your server logs here..." - render: "bash" + render: "csharp" validations: required: false @@ -82,6 +82,6 @@ body: attributes: label: "Additional Information" description: "Provide any other relevant information." - placeholder: "e.g., Additional context or setup details" + placeholder: "Additional context, setup details or screenshots" validations: - required: false \ No newline at end of file + required: false From 7f17cb2be9711175f95925997ba5365163a0b5a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Fri, 20 Dec 2024 17:02:45 +0100 Subject: [PATCH 6/6] Apply suggestions from code review Rename templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/ISSUE_TEMPLATE/issue_template.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 2dc16ba2..b301e02f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,4 +1,4 @@ -name: "Bug Report [NEW]" +name: "Bug Report" description: "Report an issue with the software." title: "[Bug]: " labels: ["bug"] diff --git a/.github/ISSUE_TEMPLATE/issue_template.md b/.github/ISSUE_TEMPLATE/issue_template.md index bcd970d1..2ddd9fc2 100644 --- a/.github/ISSUE_TEMPLATE/issue_template.md +++ b/.github/ISSUE_TEMPLATE/issue_template.md @@ -1,5 +1,5 @@ --- -name: Bug report +name: Bug report [old template] about: Create a report to help us improve title: '' labels: bug