Skip to content

Commit

Permalink
ci: Update issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jy95 committed Aug 13, 2024
1 parent fef6745 commit 37f749a
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/01-add-game.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Add game
name: 🆕 Add game
description: Add a new game into the database
title: '[ADD_GAME]'
labels:
Expand Down Expand Up @@ -41,8 +41,7 @@ body:
label: Identifier
description: What is the game playlist ID or video ID on Youtube ?
placeholder: >-
ex. PLRfhDHeBTBJ56jE5Kb3Wb6vBZZKLgM0dR (Playlist ID) or dn6QTMujBiY
(Video ID)
ex. PLRfhDHeBTBJ56jE5Kb3Wb6vBZZKLgM0dR or dn6QTMujBiY
validations:
required: true
- type: dropdown
Expand Down
98 changes: 98 additions & 0 deletions .github/ISSUE_TEMPLATE/02-update-game.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: 🔄 Update game
description: Update a existing game fields into the database
title: '[UPDATE_GAME]'
labels:
- database
body:
- type: markdown
attributes:
value: |
Please fill in the following fields to update this game into database !
- type: dropdown
id: identifierKind
attributes:
label: Kind of content
description: Is it a playlist or a video ?
options:
- Playlist (Default)
- Video
default: 0
- type: input
id: identifierValue
attributes:
label: Identifier
description: What is the game playlist ID or video ID on Youtube ?
placeholder: >-
ex. PLRfhDHeBTBJ56jE5Kb3Wb6vBZZKLgM0dR or dn6QTMujBiY
- type: input
id: title
attributes:
label: Name of the game
description: What is the game name in the language it was played ?
placeholder: ex. Splinter Cell HD
- type: input
id: releaseDate
attributes:
label: Release Date
description: When was this game published ?
placeholder: YYYY-MM-DD
- type: dropdown
id: platform
attributes:
label: Platform
description: On which platform was the content on ?
options:
- PC (Default)
- GBA
- PSP
- PS1
- PS2
- PS3
- type: dropdown
id: genres
attributes:
label: Categories
description: 'What are the game genres (Action, Adventure, ...) ?'
multiple: true
options:
- Action
- Adventure
- Arcade
- Board Games
- Card
- Casual
- Educational
- Family
- Fighting
- Indie
- MMORPG
- Platformer
- Puzzle
- RPG
- Racing
- Shooter
- Simulation
- Sports
- Strategy
- Misc
- type: input
id: duration
attributes:
label: Duration of the game
description: >-
How long is that game ? Express it with ISO 8601 time notation
(HH:MM:SS)
placeholder: '02:23:15'
value: '00:00:00'
- type: input
id: availableAt
attributes:
label: Start Date
description: When will this game be released on channel ?
placeholder: YYYY-MM-DD
- type: input
id: endAt
attributes:
label: End Date
description: When will this game be finished on channel ?
placeholder: YYYY-MM-DD

0 comments on commit 37f749a

Please sign in to comment.