diff --git a/web/src/App.tsx b/web/src/App.tsx index f697bd3fb..9274a81c9 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -78,7 +78,11 @@ import { BlocksScreen } from './screens/BlocksScreen'; import { DecosScreen } from './screens/DecosScreen'; import { DecoTemplatesScreen } from './screens/DecoTemplatesScreen'; import { TemplatesScreen } from './screens/TemplatesScreen'; -import { navigateToPath } from './routing'; +import { + PlayoutAlternateSchedulesScreen, + PlayoutTemplatesEditorScreen +} from './screens/PlayoutScheduleEditors'; +import { navigateToPath, parsePlayoutSubRoute } from './routing'; import { Badge, Button, @@ -106,12 +110,14 @@ import { bulkRenumberChannels, createPlayout, deleteChannel, + getDecos, messageFromError, addScheduleItem, deleteScheduleItem, getSchedules, resetAllPlayouts, replaceScheduleItems, + updatePlayoutDefaultDeco, updatePlayoutDetails, usePlayoutsScreenQuery, useScheduleScreenQuery, @@ -128,6 +134,7 @@ import { type ChannelGuideProgramme, type CreatePlayoutRequest, type DashboardChannel, + type DecoListItem, type SchedulePickerData, type DashboardChannelState, type DashboardHealthQueryState, @@ -315,6 +322,8 @@ const routes: ScreenRoute[] = [ allowSubPaths: true }, { + // The alternate-schedules / templates editors live at sub-paths + // (/app/playouts/{id}/alternate-schedules, /app/playouts/{id}/templates). id: 'playouts', path: '/app/playouts', label: 'Playouts', @@ -324,7 +333,8 @@ const routes: ScreenRoute[] = [ icon: