diff --git a/web/src/App.tsx b/web/src/App.tsx index 763935d37..634f0d5da 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -54,6 +54,7 @@ import { } from 'lucide-react'; import chicoryMarkUrl from '../../design-system/assets/chicory-mark.svg'; import { ChannelBuilderScreen } from './builder/ChannelBuilder'; +import { ChannelEditScreen } from './screens/ChannelEditScreen'; import { SettingsScreen } from './screens/SettingsScreen'; import { navigateToPath } from './routing'; import { @@ -124,6 +125,7 @@ type ScreenId = | 'dashboard' | 'channels' | 'builder' + | 'editChannel' | 'guide' | 'schedules' | 'playouts' @@ -181,6 +183,21 @@ const routes: ScreenRoute[] = [ primaryAction: 'Create Channel', placeholder: 'Channel builder workspace' }, + { + // Not in the sidebar nav; reached via the edit pencil on the channel table. The + // screen owns parsing the {id} suffix (see ChannelEditScreen), so it opts into + // sub-paths like /app/edit-channel/5. + id: 'editChannel', + path: '/app/edit-channel', + label: 'Edit Channel', + title: 'Edit Channel', + kicker: 'Channel', + description: 'Full channel editor: identity, playout, streaming, selection and branding.', + icon: