Refactor bumper template background management: rename background upload endpoint to reflect new functionality, update related command and handler to use image ID instead of extension, and adjust data models to support image references. Remove obsolete background handling code and enhance UI components for improved image selection and display.
This commit is contained in:
@@ -95,7 +95,7 @@ export type EpisodeDto = {
|
||||
episode: number | null
|
||||
title: string | null
|
||||
overview: string | null
|
||||
hasStill: boolean
|
||||
stillImageId: string | null
|
||||
airDate: string | null
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ export type BumperTemplateDto = {
|
||||
backgroundColor2: string
|
||||
accentColor: string
|
||||
textColor: string
|
||||
hasBackground: boolean
|
||||
backgroundImageId: string | null
|
||||
hasAudio: boolean
|
||||
audioDurationSeconds: number | null
|
||||
}
|
||||
@@ -236,5 +236,5 @@ export type PublicEpgEntryDto = {
|
||||
episodeId: string | null
|
||||
episodeTitle: string | null
|
||||
episodeOverview: string | null
|
||||
episodeHasStill: boolean
|
||||
episodeStillImageId: string | null
|
||||
}
|
||||
|
||||
@@ -230,6 +230,7 @@ const resources = {
|
||||
bumperPreviewHint: 'Пример со звуком и анимацией (примерные названия шоу). Использует сохранённые настройки.',
|
||||
bumperBackground: 'Фон-картинка',
|
||||
bumperBackgroundHint: 'Картинка фона; иначе — постер шоу или градиент',
|
||||
bumperBackgroundPick: 'Выбрать из галереи',
|
||||
bumperFileLoaded: 'загружено',
|
||||
bumperFileDefault: 'по умолчанию',
|
||||
bumperUpload: 'Загрузить',
|
||||
@@ -533,6 +534,7 @@ const resources = {
|
||||
bumperPreviewHint: 'Sample with sound and animation (example show names). Uses saved settings.',
|
||||
bumperBackground: 'Background image',
|
||||
bumperBackgroundHint: 'Background image; otherwise the show poster or a gradient',
|
||||
bumperBackgroundPick: 'Pick from gallery',
|
||||
bumperFileLoaded: 'loaded',
|
||||
bumperFileDefault: 'default',
|
||||
bumperUpload: 'Upload',
|
||||
|
||||
Reference in New Issue
Block a user