Skip to content

Commit 4c8d506

Browse files
committed
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.
1 parent 72efbfd commit 4c8d506

File tree

6 files changed

+37
-0
lines changed

6 files changed

+37
-0
lines changed

.github/ISSUE_TEMPLATE/2_bug_report_linux.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ labels: ["os:linux"]
44
type: Bug
55
body:
66
- type: textarea
7+
id: mpv_information
78
attributes:
89
label: "mpv Information"
910
placeholder: |
@@ -24,6 +25,7 @@ body:
2425
validations:
2526
required: false
2627
- type: textarea
28+
id: other_information
2729
attributes:
2830
label: "Other Information"
2931
description: >
@@ -53,6 +55,7 @@ body:
5355
validations:
5456
required: true
5557
- type: textarea
58+
id: reproduction_steps
5659
attributes:
5760
label: "Reproduction Steps"
5861
description: >
@@ -74,18 +77,21 @@ body:
7477
validations:
7578
required: true
7679
- type: textarea
80+
id: expected_behavior
7781
attributes:
7882
label: "Expected Behavior"
7983
placeholder: "What were you expecting?"
8084
validations:
8185
required: true
8286
- type: textarea
87+
id: actual_behavior
8388
attributes:
8489
label: "Actual Behavior"
8590
placeholder: "What happened instead?"
8691
validations:
8792
required: true
8893
- type: textarea
94+
id: log_file
8995
attributes:
9096
label: "Log File"
9197
placeholder: "Drag and drop log file here (Don't paste content directly)"
@@ -109,6 +115,7 @@ body:
109115
validations:
110116
required: true
111117
- type: textarea
118+
id: sample_files
112119
attributes:
113120
label: "Sample Files"
114121
placeholder: "Drag and drop sample files here"

.github/ISSUE_TEMPLATE/2_bug_report_macos.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ labels: ["os:mac"]
44
type: Bug
55
body:
66
- type: textarea
7+
id: mpv_information
78
attributes:
89
label: "mpv Information"
910
placeholder: |
@@ -24,6 +25,7 @@ body:
2425
validations:
2526
required: false
2627
- type: textarea
28+
id: other_info
2729
attributes:
2830
label: "Other Information"
2931
description: >
@@ -46,6 +48,7 @@ body:
4648
validations:
4749
required: true
4850
- type: textarea
51+
id: reproduction_steps
4952
attributes:
5053
label: "Reproduction Steps"
5154
description: >
@@ -67,18 +70,21 @@ body:
6770
validations:
6871
required: true
6972
- type: textarea
73+
id: expected_behavior
7074
attributes:
7175
label: "Expected Behavior"
7276
placeholder: "What were you expecting?"
7377
validations:
7478
required: true
7579
- type: textarea
80+
id: actual_behavior
7681
attributes:
7782
label: "Actual Behavior"
7883
placeholder: "What happened instead?"
7984
validations:
8085
required: true
8186
- type: textarea
87+
id: log_file
8288
attributes:
8389
label: "Log File"
8490
placeholder: "Drag and drop log file here (Don't paste content directly)"
@@ -104,6 +110,7 @@ body:
104110
validations:
105111
required: true
106112
- type: textarea
113+
id: sample_files
107114
attributes:
108115
label: "Sample Files"
109116
placeholder: "Drag and drop sample files here"

.github/ISSUE_TEMPLATE/2_bug_report_windows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ labels: ["os:win"]
44
type: Bug
55
body:
66
- type: textarea
7+
id: mpv_information
78
attributes:
89
label: "mpv Information"
910
placeholder: |
@@ -24,6 +25,7 @@ body:
2425
validations:
2526
required: false
2627
- type: textarea
28+
id: other_information
2729
attributes:
2830
label: "Other Information"
2931
description: >
@@ -48,6 +50,7 @@ body:
4850
validations:
4951
required: true
5052
- type: textarea
53+
id: reproduction_steps
5154
attributes:
5255
label: "Reproduction Steps"
5356
description: >
@@ -69,18 +72,21 @@ body:
6972
validations:
7073
required: true
7174
- type: textarea
75+
id: expected_behavior
7276
attributes:
7377
label: "Expected Behavior"
7478
placeholder: "What were you expecting?"
7579
validations:
7680
required: true
7781
- type: textarea
82+
id: actual_behavior
7883
attributes:
7984
label: "Actual Behavior"
8085
placeholder: "What happened instead?"
8186
validations:
8287
required: true
8388
- type: textarea
89+
id: log_file
8490
attributes:
8591
label: "Log File"
8692
placeholder: "Drag and drop log file here (Don't paste content directly)"
@@ -105,6 +111,7 @@ body:
105111
validations:
106112
required: true
107113
- type: textarea
114+
id: sample_files
108115
attributes:
109116
label: "Sample Files"
110117
placeholder: "Drag and drop sample files here"

.github/ISSUE_TEMPLATE/3_bug_report.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ labels: []
44
type: Bug
55
body:
66
- type: textarea
7+
id: mpv_information
78
attributes:
89
label: "mpv Information"
910
placeholder: |
@@ -24,6 +25,7 @@ body:
2425
validations:
2526
required: false
2627
- type: textarea
28+
id: important_information
2729
attributes:
2830
label: "Important Information"
2931
description: >
@@ -46,6 +48,7 @@ body:
4648
validations:
4749
required: true
4850
- type: textarea
51+
id: reproduction_steps
4952
attributes:
5053
label: "Reproduction Steps"
5154
description: >
@@ -67,18 +70,21 @@ body:
6770
validations:
6871
required: true
6972
- type: textarea
73+
id: expected_behavior
7074
attributes:
7175
label: "Expected Behavior"
7276
placeholder: "What were you expecting?"
7377
validations:
7478
required: true
7579
- type: textarea
80+
id: actual_behavior
7681
attributes:
7782
label: "Actual Behavior"
7883
placeholder: "What happened instead?"
7984
validations:
8085
required: true
8186
- type: textarea
87+
id: log_file
8288
attributes:
8389
label: "Log File"
8490
placeholder: "Drag and drop log file here (Don't paste content directly)"
@@ -102,6 +108,7 @@ body:
102108
validations:
103109
required: true
104110
- type: textarea
111+
id: sample_files
105112
attributes:
106113
label: "Sample Files"
107114
placeholder: "Drag and drop sample files here"

.github/ISSUE_TEMPLATE/4_bug_report_build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ labels: ["core:meson"]
44
type: Bug
55
body:
66
- type: textarea
7+
id: important_information
78
attributes:
89
label: "Important Information"
910
description: >
@@ -21,6 +22,7 @@ body:
2122
validations:
2223
required: true
2324
- type: textarea
25+
id: reproduction_steps
2426
attributes:
2527
label: "Reproduction Steps"
2628
description: >
@@ -30,18 +32,21 @@ body:
3032
validations:
3133
required: true
3234
- type: textarea
35+
id: expected_behavior
3336
attributes:
3437
label: "Expected Behavior"
3538
placeholder: "What were you expecting?"
3639
validations:
3740
required: true
3841
- type: textarea
42+
id: actual_behavior
3943
attributes:
4044
label: "Actual Behavior"
4145
placeholder: "What happened instead?"
4246
validations:
4347
required: true
4448
- type: textarea
49+
id: log_file
4550
attributes:
4651
label: "Log File"
4752
placeholder: "Drag and drop log file here (Don't paste content directly)"

.github/ISSUE_TEMPLATE/5_feature_request.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ labels: ["meta:feature-request"]
44
type: Feature
55
body:
66
- type: textarea
7+
id: expected_behavior
78
attributes:
89
label: "Expected behavior of the wanted feature"
910
description: >
@@ -20,9 +21,11 @@ body:
2021
validations:
2122
required: true
2223
- type: textarea
24+
id: alternative_behavior
2325
attributes:
2426
label: "Alternative behavior of the wanted feature"
2527
- type: textarea
28+
id: log_file
2629
attributes:
2730
label: "Log File"
2831
description: >
@@ -34,6 +37,7 @@ body:
3437
If you have trouble producing a log file, you can alternatively use `-v -v`, save the
3538
terminal output to a file, and attach it to the issue.
3639
- type: textarea
40+
id: sample_files
3741
attributes:
3842
label: "Sample Files"
3943
placeholder: "Drag and drop sample files here"

0 commit comments

Comments
 (0)