From b38d22efa86fddb2e22fa4c3ed3d7cb5aa098676 Mon Sep 17 00:00:00 2001 From: der richter Date: Tue, 30 Dec 2025 14:50:32 +0100 Subject: [PATCH] github/issue_template: add IDs to textarea fields for URL queries adding IDs to the fields makes them pre-fillable with a URL query. adds the possibility to procedural generate links to pre-fill specific data. for example, mpv/library version or platform version data. possible application, menu entries or CLI output to submit bug reports. --- .github/ISSUE_TEMPLATE/2_bug_report_linux.yml | 7 +++++++ .github/ISSUE_TEMPLATE/2_bug_report_macos.yml | 7 +++++++ .github/ISSUE_TEMPLATE/2_bug_report_windows.yml | 7 +++++++ .github/ISSUE_TEMPLATE/3_bug_report.yml | 7 +++++++ .github/ISSUE_TEMPLATE/4_bug_report_build.yml | 5 +++++ .github/ISSUE_TEMPLATE/5_feature_request.yml | 4 ++++ 6 files changed, 37 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/2_bug_report_linux.yml b/.github/ISSUE_TEMPLATE/2_bug_report_linux.yml index dcf662aebe..b133397cbf 100644 --- a/.github/ISSUE_TEMPLATE/2_bug_report_linux.yml +++ b/.github/ISSUE_TEMPLATE/2_bug_report_linux.yml @@ -4,6 +4,7 @@ labels: ["os:linux"] type: Bug body: - type: textarea + id: mpv_information attributes: label: "mpv Information" placeholder: | @@ -24,6 +25,7 @@ body: validations: required: false - type: textarea + id: other_information attributes: label: "Other Information" description: > @@ -53,6 +55,7 @@ body: validations: required: true - type: textarea + id: reproduction_steps attributes: label: "Reproduction Steps" description: > @@ -74,18 +77,21 @@ body: validations: required: true - type: textarea + id: expected_behavior attributes: label: "Expected Behavior" placeholder: "What were you expecting?" validations: required: true - type: textarea + id: actual_behavior attributes: label: "Actual Behavior" placeholder: "What happened instead?" validations: required: true - type: textarea + id: log_file attributes: label: "Log File" placeholder: "Drag and drop log file here (Don't paste content directly)" @@ -109,6 +115,7 @@ body: validations: required: true - type: textarea + id: sample_files attributes: label: "Sample Files" placeholder: "Drag and drop sample files here" diff --git a/.github/ISSUE_TEMPLATE/2_bug_report_macos.yml b/.github/ISSUE_TEMPLATE/2_bug_report_macos.yml index a2e0157a5e..53dde2dd76 100644 --- a/.github/ISSUE_TEMPLATE/2_bug_report_macos.yml +++ b/.github/ISSUE_TEMPLATE/2_bug_report_macos.yml @@ -4,6 +4,7 @@ labels: ["os:mac"] type: Bug body: - type: textarea + id: mpv_information attributes: label: "mpv Information" placeholder: | @@ -24,6 +25,7 @@ body: validations: required: false - type: textarea + id: other_info attributes: label: "Other Information" description: > @@ -46,6 +48,7 @@ body: validations: required: true - type: textarea + id: reproduction_steps attributes: label: "Reproduction Steps" description: > @@ -67,18 +70,21 @@ body: validations: required: true - type: textarea + id: expected_behavior attributes: label: "Expected Behavior" placeholder: "What were you expecting?" validations: required: true - type: textarea + id: actual_behavior attributes: label: "Actual Behavior" placeholder: "What happened instead?" validations: required: true - type: textarea + id: log_file attributes: label: "Log File" placeholder: "Drag and drop log file here (Don't paste content directly)" @@ -104,6 +110,7 @@ body: validations: required: true - type: textarea + id: sample_files attributes: label: "Sample Files" placeholder: "Drag and drop sample files here" diff --git a/.github/ISSUE_TEMPLATE/2_bug_report_windows.yml b/.github/ISSUE_TEMPLATE/2_bug_report_windows.yml index 5fdc4634b1..79e5688573 100644 --- a/.github/ISSUE_TEMPLATE/2_bug_report_windows.yml +++ b/.github/ISSUE_TEMPLATE/2_bug_report_windows.yml @@ -4,6 +4,7 @@ labels: ["os:win"] type: Bug body: - type: textarea + id: mpv_information attributes: label: "mpv Information" placeholder: | @@ -24,6 +25,7 @@ body: validations: required: false - type: textarea + id: other_information attributes: label: "Other Information" description: > @@ -48,6 +50,7 @@ body: validations: required: true - type: textarea + id: reproduction_steps attributes: label: "Reproduction Steps" description: > @@ -69,18 +72,21 @@ body: validations: required: true - type: textarea + id: expected_behavior attributes: label: "Expected Behavior" placeholder: "What were you expecting?" validations: required: true - type: textarea + id: actual_behavior attributes: label: "Actual Behavior" placeholder: "What happened instead?" validations: required: true - type: textarea + id: log_file attributes: label: "Log File" placeholder: "Drag and drop log file here (Don't paste content directly)" @@ -105,6 +111,7 @@ body: validations: required: true - type: textarea + id: sample_files attributes: label: "Sample Files" placeholder: "Drag and drop sample files here" diff --git a/.github/ISSUE_TEMPLATE/3_bug_report.yml b/.github/ISSUE_TEMPLATE/3_bug_report.yml index 76d5f4b746..faa0065f52 100644 --- a/.github/ISSUE_TEMPLATE/3_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/3_bug_report.yml @@ -4,6 +4,7 @@ labels: [] type: Bug body: - type: textarea + id: mpv_information attributes: label: "mpv Information" placeholder: | @@ -24,6 +25,7 @@ body: validations: required: false - type: textarea + id: important_information attributes: label: "Important Information" description: > @@ -46,6 +48,7 @@ body: validations: required: true - type: textarea + id: reproduction_steps attributes: label: "Reproduction Steps" description: > @@ -67,18 +70,21 @@ body: validations: required: true - type: textarea + id: expected_behavior attributes: label: "Expected Behavior" placeholder: "What were you expecting?" validations: required: true - type: textarea + id: actual_behavior attributes: label: "Actual Behavior" placeholder: "What happened instead?" validations: required: true - type: textarea + id: log_file attributes: label: "Log File" placeholder: "Drag and drop log file here (Don't paste content directly)" @@ -102,6 +108,7 @@ body: validations: required: true - type: textarea + id: sample_files attributes: label: "Sample Files" placeholder: "Drag and drop sample files here" diff --git a/.github/ISSUE_TEMPLATE/4_bug_report_build.yml b/.github/ISSUE_TEMPLATE/4_bug_report_build.yml index 78d3450556..f82dca0dd2 100644 --- a/.github/ISSUE_TEMPLATE/4_bug_report_build.yml +++ b/.github/ISSUE_TEMPLATE/4_bug_report_build.yml @@ -4,6 +4,7 @@ labels: ["core:meson"] type: Bug body: - type: textarea + id: important_information attributes: label: "Important Information" description: > @@ -21,6 +22,7 @@ body: validations: required: true - type: textarea + id: reproduction_steps attributes: label: "Reproduction Steps" description: > @@ -30,18 +32,21 @@ body: validations: required: true - type: textarea + id: expected_behavior attributes: label: "Expected Behavior" placeholder: "What were you expecting?" validations: required: true - type: textarea + id: actual_behavior attributes: label: "Actual Behavior" placeholder: "What happened instead?" validations: required: true - type: textarea + id: log_file attributes: label: "Log File" placeholder: "Drag and drop log file here (Don't paste content directly)" diff --git a/.github/ISSUE_TEMPLATE/5_feature_request.yml b/.github/ISSUE_TEMPLATE/5_feature_request.yml index d2c656ad37..e115df31d7 100644 --- a/.github/ISSUE_TEMPLATE/5_feature_request.yml +++ b/.github/ISSUE_TEMPLATE/5_feature_request.yml @@ -4,6 +4,7 @@ labels: ["meta:feature-request"] type: Feature body: - type: textarea + id: expected_behavior attributes: label: "Expected behavior of the wanted feature" description: > @@ -20,9 +21,11 @@ body: validations: required: true - type: textarea + id: alternative_behavior attributes: label: "Alternative behavior of the wanted feature" - type: textarea + id: log_file attributes: label: "Log File" description: > @@ -34,6 +37,7 @@ body: If you have trouble producing a log file, you can alternatively use `-v -v`, save the terminal output to a file, and attach it to the issue. - type: textarea + id: sample_files attributes: label: "Sample Files" placeholder: "Drag and drop sample files here"