Problem
The admin analytics dashboard has no booking trend visualisation. Admins cannot spot weekly or monthly usage patterns at a glance.
Proposed Solution
Create frontend/cntr/charts/BookingTrendsChart.tsx using the installed recharts library. Renders a LineChart with two lines: "New Bookings" (blue) and "Cancellations" (red) over a time axis. Props: data: { date: string, bookings: number, cancellations: number }[], period: 'week' | 'month'. Shows a skeleton when data is empty. All implementation must live inside frontend/cntr/.
Acceptance Criteria
Problem
The admin analytics dashboard has no booking trend visualisation. Admins cannot spot weekly or monthly usage patterns at a glance.
Proposed Solution
Create
frontend/cntr/charts/BookingTrendsChart.tsxusing the installedrechartslibrary. Renders aLineChartwith two lines: "New Bookings" (blue) and "Cancellations" (red) over a time axis. Props:data: { date: string, bookings: number, cancellations: number }[],period: 'week' | 'month'. Shows a skeleton whendatais empty. All implementation must live insidefrontend/cntr/.Acceptance Criteria
frontend/cntr/charts/BookingTrendsChart.tsxrechartsLineChart,Line,XAxis,YAxis,Tooltip,Legend,ResponsiveContainerResponsiveContainerwith 100% widthdata.length === 0frontend/cntr/charts/BookingTrendsChart.test.tsx