feat(youtube): register content calendar as admin view

Adds the Content Calendar view at /admin/content-calendar and
integrates it into the YouTube Dashboards nav group.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Martin Porwoll 2026-02-14 17:18:12 +00:00
parent 5394f628e4
commit 692498871c
4 changed files with 17 additions and 0 deletions

View file

@ -31,6 +31,7 @@ import { TenantSelector as TenantSelector_d6d5f193a167989e2ee7d14202901e62 } fro
import { TenantSelectionProvider as TenantSelectionProvider_d6d5f193a167989e2ee7d14202901e62 } from '@payloadcms/plugin-multi-tenant/rsc' import { TenantSelectionProvider as TenantSelectionProvider_d6d5f193a167989e2ee7d14202901e62 } from '@payloadcms/plugin-multi-tenant/rsc'
import { TenantDashboardView as TenantDashboardView_1468a86d093d5b2444131ed5ce14599e } from '@/components/admin/TenantDashboardView' import { TenantDashboardView as TenantDashboardView_1468a86d093d5b2444131ed5ce14599e } from '@/components/admin/TenantDashboardView'
import { YouTubeAnalyticsDashboardView as YouTubeAnalyticsDashboardView_cda40d57a6ea0fffb8f4ea8808c0cdea } from '@/components/admin/YouTubeAnalyticsDashboardView' import { YouTubeAnalyticsDashboardView as YouTubeAnalyticsDashboardView_cda40d57a6ea0fffb8f4ea8808c0cdea } from '@/components/admin/YouTubeAnalyticsDashboardView'
import { ContentCalendarView as ContentCalendarView_dc5cac4fdd3c3b500e8b5909dfd5ffd5 } from '@/components/admin/ContentCalendarView'
import { CollectionCards as CollectionCards_f9c02e79a4aed9a3924487c0cd4cafb1 } from '@payloadcms/next/rsc' import { CollectionCards as CollectionCards_f9c02e79a4aed9a3924487c0cd4cafb1 } from '@payloadcms/next/rsc'
export const importMap = { export const importMap = {
@ -67,5 +68,6 @@ export const importMap = {
"@payloadcms/plugin-multi-tenant/rsc#TenantSelectionProvider": TenantSelectionProvider_d6d5f193a167989e2ee7d14202901e62, "@payloadcms/plugin-multi-tenant/rsc#TenantSelectionProvider": TenantSelectionProvider_d6d5f193a167989e2ee7d14202901e62,
"@/components/admin/TenantDashboardView#TenantDashboardView": TenantDashboardView_1468a86d093d5b2444131ed5ce14599e, "@/components/admin/TenantDashboardView#TenantDashboardView": TenantDashboardView_1468a86d093d5b2444131ed5ce14599e,
"@/components/admin/YouTubeAnalyticsDashboardView#YouTubeAnalyticsDashboardView": YouTubeAnalyticsDashboardView_cda40d57a6ea0fffb8f4ea8808c0cdea, "@/components/admin/YouTubeAnalyticsDashboardView#YouTubeAnalyticsDashboardView": YouTubeAnalyticsDashboardView_cda40d57a6ea0fffb8f4ea8808c0cdea,
"@/components/admin/ContentCalendarView#ContentCalendarView": ContentCalendarView_dc5cac4fdd3c3b500e8b5909dfd5ffd5,
"@payloadcms/next/rsc#CollectionCards": CollectionCards_f9c02e79a4aed9a3924487c0cd4cafb1 "@payloadcms/next/rsc#CollectionCards": CollectionCards_f9c02e79a4aed9a3924487c0cd4cafb1
} }

View file

@ -0,0 +1,10 @@
'use client'
import React from 'react'
import { ContentCalendar } from './ContentCalendar'
export const ContentCalendarView: React.FC = () => {
return <ContentCalendar />
}
export default ContentCalendarView

View file

@ -8,6 +8,7 @@ export const YouTubeAnalyticsNavLinks: React.FC = () => {
const links = [ const links = [
{ href: '/admin/youtube-analytics', label: 'YouTube Analytics' }, { href: '/admin/youtube-analytics', label: 'YouTube Analytics' },
{ href: '/admin/content-calendar', label: 'Content-Kalender' },
] ]
return ( return (

View file

@ -141,6 +141,10 @@ export default buildConfig({
Component: '@/components/admin/YouTubeAnalyticsDashboardView#YouTubeAnalyticsDashboardView', Component: '@/components/admin/YouTubeAnalyticsDashboardView#YouTubeAnalyticsDashboardView',
path: '/youtube-analytics', path: '/youtube-analytics',
}, },
ContentCalendar: {
Component: '@/components/admin/ContentCalendarView#ContentCalendarView',
path: '/content-calendar',
},
}, },
}, },
}, },