Update issue templates

This commit is contained in:
freearhey 2025-03-19 00:47:53 +03:00
parent 075c53143e
commit 7d97bc8094
8 changed files with 368 additions and 99 deletions

View file

@ -62,24 +62,6 @@ body:
description: Name of the city from which the channel is transmitted description: Name of the city from which the channel is transmitted
placeholder: 'Hefei' placeholder: 'Hefei'
- type: input
id: broadcast_area
attributes:
label: Broadcast Area
description: List of codes describing the broadcasting area of the channel separated by `;`. Any combination of `r/<region_code>`, `c/<country_code>`, `s/<subdivision_code>`
placeholder: 'c/CN;r/EUR'
validations:
required: true
- type: input
id: languages
attributes:
label: Languages
description: List of languages in which the channel is broadcast separated by `;`. A list of all supported languages and their codes can be found in [data/languages.csv](https://github.com/iptv-org/database/blob/master/data/languages.csv)
placeholder: 'zho;eng'
validations:
required: true
- type: input - type: input
id: categories id: categories
attributes: attributes:
@ -98,27 +80,6 @@ body:
validations: validations:
required: true required: true
- type: input
id: launched
attributes:
label: Launched (optional)
description: Launch date of the channel (`YYYY-MM-DD`)
placeholder: '2016-07-28'
- type: input
id: closed
attributes:
label: Closed (optional)
description: Date on which the channel closed (`YYYY-MM-DD`)
placeholder: '2020-05-31'
- type: input
id: replaced_by
attributes:
label: Replaced By (optional)
description: The ID of the channel that this channel was replaced by
placeholder: 'CCTV1.cn'
- type: input - type: input
id: website id: website
attributes: attributes:
@ -135,7 +96,92 @@ body:
validations: validations:
required: true required: true
- type: markdown
attributes:
value: |
## Main Feed
Description of the main feed of the channel
- type: input
id: feed_name
attributes:
label: Feed Name
description: "Name of the feed in English. May include: `a-z`, `0-9`, `space`, `-`, `!`, `:`, `&`, `.`, `+`, `'`, `/`, `»`, `#`, `%`, `°`, `$`, `@`, `?`, `|`, `¡`"
placeholder: 'SD'
value: 'SD'
validations:
required: true
- type: input
id: broadcast_area
attributes:
label: Broadcast Area
description: "List of codes describing the broadcasting area of the feed separated by `;`. Any combination of `r/<region_code>`, `c/<country_code>`, `s/<subdivision_code>`. A full list of supported codes can be found here: [countries](https://github.com/iptv-org/database/blob/master/data/countries.csv), [subdivisions](https://github.com/iptv-org/database/blob/master/data/subdivisions.csv), [regions](https://github.com/iptv-org/database/blob/master/data/regions.csv)"
placeholder: 'c/CN'
validations:
required: true
- type: input
id: timezones
attributes:
label: Timezones
description: List of broadcast time zones separated by `;`. A list of all supported timezones and their codes can be found in [data/timezones.csv](https://github.com/iptv-org/database/blob/master/data/timezones.csv)
placeholder: 'Asia/Shanghai'
validations:
required: true
- type: input
id: languages
attributes:
label: Languages
description: List of languages in which the feed is broadcast separated by `;`. A list of all supported languages and their codes can be found in [data/languages.csv](https://github.com/iptv-org/database/blob/master/data/languages.csv)
placeholder: 'zho;eng'
validations:
required: true
- type: input
id: video_format
attributes:
label: Format
description: Video format of the broadcast
default: 6
options:
- '4320p'
- '2160p'
- '1080p'
- '1080i'
- '720p'
- '576p'
- '576i'
- '480p'
- '480i'
- '360p'
- '240p'
validations:
required: true
- type: input
id: launched
attributes:
label: Launched (optional)
description: Launch date of the feed (`YYYY-MM-DD`)
placeholder: '2016-07-28'
- type: input
id: closed
attributes:
label: Closed (optional)
description: Date on which the feed closed (`YYYY-MM-DD`)
placeholder: '2020-05-31'
- type: input
id: replaced_by
attributes:
label: Replaced By (optional)
description: "ID of the channel and feed this feed was replaced with. Possible values: `<channel_id>` or `<channel_id>@<feed_id>`"
placeholder: 'CCTV1.cn@SD'
- type: textarea - type: textarea
attributes: attributes:
label: Notes label: Notes
description: 'Anything else we should know about this channel?' description: 'Anything else we should know?'

View file

@ -4,6 +4,11 @@ title: 'Edit: '
labels: ['channels:edit'] labels: ['channels:edit']
body: body:
- type: markdown
attributes:
value: |
Please specify exactly what should be changed. To delete an existing value without replacement use the `~` symbol.
- type: input - type: input
id: id id: id
attributes: attributes:
@ -13,11 +18,6 @@ body:
validations: validations:
required: true required: true
- type: markdown
attributes:
value: |
Please specify exactly what should be changed. To delete an existing value without replacement use the `~` symbol.
- type: input - type: input
id: name id: name
attributes: attributes:
@ -67,20 +67,6 @@ body:
description: Name of the city from which the channel is transmitted description: Name of the city from which the channel is transmitted
placeholder: 'Hefei' placeholder: 'Hefei'
- type: input
id: broadcast_area
attributes:
label: Broadcast Area
description: List of codes describing the broadcasting area of the channel separated by `;`. Any combination of `r/<region_code>`, `c/<country_code>`, `s/<subdivision_code>`
placeholder: 'c/CN;r/EUR'
- type: input
id: languages
attributes:
label: Languages
description: List of languages in which the channel is broadcast separated by `;`. A list of all supported languages and their codes can be found in [data/languages.csv](https://github.com/iptv-org/database/blob/master/data/languages.csv)
placeholder: 'zho;eng'
- type: input - type: input
id: categories id: categories
attributes: attributes:
@ -97,27 +83,6 @@ body:
- 'FALSE' - 'FALSE'
- 'TRUE' - 'TRUE'
- type: input
id: launched
attributes:
label: Launched
description: Launch date of the channel (`YYYY-MM-DD`)
placeholder: '2016-07-28'
- type: input
id: closed
attributes:
label: Closed
description: Date on which the channel closed (`YYYY-MM-DD`)
placeholder: '2020-05-31'
- type: input
id: replaced_by
attributes:
label: Replaced By
description: The ID of the channel that this channel was replaced by
placeholder: 'CCTV1.cn'
- type: input - type: input
id: website id: website
attributes: attributes:

View file

@ -4,9 +4,14 @@ title: 'Remove: '
labels: ['channels:remove'] labels: ['channels:remove']
body: body:
- type: markdown
attributes:
value: |
Deleting a channel will also delete all associated feeds and records in the blocklist.
- type: input - type: input
attributes: attributes:
label: Channel ID (required) label: Channel ID
description: The ID of the channel that should be removed description: The ID of the channel that should be removed
placeholder: 'AnhuiTV.cn' placeholder: 'AnhuiTV.cn'
validations: validations:
@ -14,7 +19,7 @@ body:
- type: dropdown - type: dropdown
attributes: attributes:
label: Reason (required) label: Reason
description: Select the reason for removal from the list below description: Select the reason for removal from the list below
options: options:
- 'Duplicate' - 'Duplicate'
@ -25,5 +30,5 @@ body:
- type: textarea - type: textarea
attributes: attributes:
label: Notes label: Notes (optional)
description: 'Any additional information' description: 'Anything else we should know?'

113
.github/ISSUE_TEMPLATE/4_feeds_add.yml vendored Normal file
View file

@ -0,0 +1,113 @@
name: Add feed
description: Request to add a channel feed into the database
title: 'Add: '
labels: ['feeds:add']
body:
- type: markdown
attributes:
value: |
Please fill out the issue form as much as you can so we could efficiently process your request.
- type: input
id: channel_id
attributes:
label: Channel ID (required)
description: ID of the channel to which this feed belongs
placeholder: 'HBO.us'
validations:
required: true
- type: input
id: feed_name
attributes:
label: Feed Name
description: "Name of the feed in English. May include: `a-z`, `0-9`, `space`, `-`, `!`, `:`, `&`, `.`, `+`, `'`, `/`, `»`, `#`, `%`, `°`, `$`, `@`, `?`, `|`, `¡`"
placeholder: 'SD'
validations:
required: true
- type: dropdown
id: is_main
attributes:
label: Main Feed
description: Indicates if this feed is the main for the channel
options:
- 'FALSE'
- 'TRUE'
validations:
required: true
- type: input
id: broadcast_area
attributes:
label: Broadcast Area
description: "List of codes describing the broadcasting area of the feed separated by `;`. Any combination of `r/<region_code>`, `c/<country_code>`, `s/<subdivision_code>`. A full list of supported codes can be found here: [data/countries.csv](https://github.com/iptv-org/database/blob/master/data/countries.csv), [data/subdivisions.csv](https://github.com/iptv-org/database/blob/master/data/subdivisions.csv), [data/regions.csv](https://github.com/iptv-org/database/blob/master/data/regions.csv)"
placeholder: 'c/CN'
validations:
required: true
- type: input
id: timezones
attributes:
label: Timezones
description: List of broadcast time zones separated by `;`. A list of all supported timezones and their codes can be found in [data/timezones.csv](https://github.com/iptv-org/database/blob/master/data/timezones.csv)
placeholder: 'Asia/Shanghai'
validations:
required: true
- type: input
id: languages
attributes:
label: Languages
description: List of languages in which the feed is broadcast separated by `;`. A list of all supported languages and their codes can be found in [data/languages.csv](https://github.com/iptv-org/database/blob/master/data/languages.csv)
placeholder: 'zho;eng'
validations:
required: true
- type: input
id: video_format
attributes:
label: Format
description: Video format of the broadcast
default: 6
options:
- '4320p'
- '2160p'
- '1080p'
- '1080i'
- '720p'
- '576p'
- '576i'
- '480p'
- '480i'
- '360p'
- '240p'
validations:
required: true
- type: input
id: launched
attributes:
label: Launched (optional)
description: Launch date of the feed (`YYYY-MM-DD`)
placeholder: '2016-07-28'
- type: input
id: closed
attributes:
label: Closed (optional)
description: Date on which the feed closed (`YYYY-MM-DD`)
placeholder: '2020-05-31'
- type: input
id: replaced_by
attributes:
label: Replaced By (optional)
description: "ID of the channel and feed this feed was replaced with. Possible values: `<channel_id>` or `<channel_id>@<feed_id>`"
placeholder: 'CCTV1.cn@SD'
- type: textarea
attributes:
label: Notes
description: 'Anything else we should know?'

109
.github/ISSUE_TEMPLATE/5_feeds_edit.yml vendored Normal file
View file

@ -0,0 +1,109 @@
name: ✏️ Edit feed
description: Request to edit feed description
title: 'Edit: '
labels: ['feeds:edit']
body:
- type: markdown
attributes:
value: |
Please specify exactly what should be changed. To delete an existing value without replacement use the `~` symbol.
- type: input
id: channel_id
attributes:
label: Channel ID (required)
description: ID of the channel to which this feed belongs
placeholder: 'HBO.us'
validations:
required: true
- type: input
id: feed_id
attributes:
label: Feed ID (required)
description: The ID of the feed that should be updated
placeholder: 'West'
validations:
required: true
- type: input
id: feed_name
attributes:
label: Feed Name
description: "Name of the feed in English. May include: `a-z`, `0-9`, `space`, `-`, `!`, `:`, `&`, `.`, `+`, `'`, `/`, `»`, `#`, `%`, `°`, `$`, `@`, `?`, `|`, `¡`"
placeholder: 'West HD'
- type: dropdown
id: is_main
attributes:
label: Main Feed
description: Indicates if this feed is the main for the channel
options:
- 'FALSE'
- 'TRUE'
- type: input
id: broadcast_area
attributes:
label: Broadcast Area
description: "List of codes describing the broadcasting area of the feed separated by `;`. Any combination of `r/<region_code>`, `c/<country_code>`, `s/<subdivision_code>`. A full list of supported codes can be found here: [countries](https://github.com/iptv-org/database/blob/master/data/countries.csv), [subdivisions](https://github.com/iptv-org/database/blob/master/data/subdivisions.csv), [regions](https://github.com/iptv-org/database/blob/master/data/regions.csv)"
placeholder: 'c/CN'
- type: input
id: timezones
attributes:
label: Timezones
description: List of broadcast time zones separated by `;`. A list of all supported timezones and their codes can be found in [data/timezones.csv](https://github.com/iptv-org/database/blob/master/data/timezones.csv)
placeholder: 'Asia/Shanghai'
- type: input
id: languages
attributes:
label: Languages
description: List of languages in which the feed is broadcast separated by `;`. A list of all supported languages and their codes can be found in [data/languages.csv](https://github.com/iptv-org/database/blob/master/data/languages.csv)
placeholder: 'zho;eng'
- type: input
id: video_format
attributes:
label: Format
description: Video format of the broadcast
options:
- '4320p'
- '2160p'
- '1080p'
- '1080i'
- '720p'
- '576p'
- '576i'
- '480p'
- '480i'
- '360p'
- '240p'
- type: input
id: launched
attributes:
label: Launched
description: Launch date of the feed (`YYYY-MM-DD`)
placeholder: '2016-07-28'
- type: input
id: closed
attributes:
label: Closed
description: Date on which the feed closed (`YYYY-MM-DD`)
placeholder: '2020-05-31'
- type: input
id: replaced_by
attributes:
label: Replaced By
description: "ID of the channel and feed this feed was replaced with. Possible values: `<channel_id>` or `<channel_id>@<feed_id>`"
placeholder: 'CCTV1.cn@SD'
- type: textarea
attributes:
label: Notes
description: 'Anything else we should know?'

View file

@ -0,0 +1,38 @@
name: 🗑️ Remove feed
description: Request to remove a feed from the database
title: 'Remove: '
labels: ['feeds:remove']
body:
- type: input
id: channel_id
attributes:
label: Channel ID
description: ID of the channel to which this feed belongs
placeholder: 'HBO.us'
validations:
required: true
- type: input
id: feed_id
attributes:
label: Feed ID
description: The ID of the feed that should be updated
placeholder: 'West'
validations:
required: true
- type: dropdown
attributes:
label: Reason
description: Select the reason for removal from the list below
options:
- 'Duplicate'
- 'Other'
validations:
required: true
- type: textarea
attributes:
label: Notes (optional)
description: 'Anything else we should know?'

View file

@ -5,7 +5,7 @@ labels: ['blocklist:add']
body: body:
- type: input - type: input
id: id id: channel
attributes: attributes:
label: Channel ID label: Channel ID
description: The ID of the channel that should be blocked description: The ID of the channel that should be blocked
@ -28,7 +28,7 @@ body:
id: ref id: ref
attributes: attributes:
label: Reference label: Reference
description: Link to the official request for channel removal description: Link to DMCA notice or approved channel removal request
placeholder: 'https://github.com/iptv-org/iptv/issues/1831' placeholder: 'https://github.com/iptv-org/iptv/issues/1831'
validations: validations:
required: true required: true
@ -36,4 +36,4 @@ body:
- type: textarea - type: textarea
attributes: attributes:
label: Notes (optional) label: Notes (optional)
description: 'Any additional information' description: 'Anything else we should know?'

View file

@ -5,24 +5,17 @@ labels: ['blocklist:remove']
body: body:
- type: input - type: input
id: channel
attributes: attributes:
label: Channel ID (required) label: Channel ID
description: The ID of the channel that should be removed description: The ID of the channel that should be removed
placeholder: 'AnhuiTV.cn' placeholder: 'AnhuiTV.cn'
validations: validations:
required: true required: true
- type: dropdown
attributes:
label: Reason (required)
description: Select the reason for removal from the list below
options:
- 'Invalid channel id'
- 'Other'
validations:
required: true
- type: textarea - type: textarea
attributes: attributes:
label: Notes label: Notes
description: 'Any additional information' description: 'Describe in detail the reason for removing the channel from the blocklist'
validations:
required: true