first commit
Some checks failed
Build / run (push) Has been cancelled

This commit is contained in:
maher
2025-10-29 11:42:25 +01:00
commit 703f50a09d
4595 changed files with 385164 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
import React from 'react';
import {useOutletContext} from 'react-router-dom';
import {AdminReportOutletContext} from '@app/admin/reports/mtdb-admin-report-page';
import {InsightsReportRow} from '@app/admin/reports/insights/insights-report-row';
import {InsightsPlaysChart} from '@app/admin/reports/insights/insights-plays-chart';
import {InsightsDevicesChart} from '@app/admin/reports/insights/insights-devices-chart';
import {InsightsSeriesChart} from '@app/admin/reports/insights/insights-series-chart';
import {InsightsMoviesChart} from '@app/admin/reports/insights/insights-movies-chart';
import {InsightsVideosChart} from '@app/admin/reports/insights/insights-videos-chart';
import {InsightsUsersChart} from '@app/admin/reports/insights/insights-users-chart';
import {InsightsLocationsChart} from '@app/admin/reports/insights/insights-locations-chart';
import {InsightsPlatformsChart} from '@app/admin/reports/insights/insights-platforms-chart';
import {InsightsChartsContext} from '@app/admin/reports/insights/insights-charts-context';
export function AdminInsightsReport() {
const {dateRange} = useOutletContext<AdminReportOutletContext>();
const model = 'video_play=0';
return (
<InsightsChartsContext.Provider value={{dateRange, model}}>
<InsightsReportRow>
<InsightsPlaysChart />
<InsightsDevicesChart />
</InsightsReportRow>
<InsightsReportRow>
<InsightsSeriesChart />
<InsightsMoviesChart />
</InsightsReportRow>
<InsightsReportRow>
<InsightsVideosChart />
<InsightsUsersChart />
</InsightsReportRow>
<InsightsReportRow>
<InsightsLocationsChart />
<InsightsPlatformsChart />
</InsightsReportRow>
</InsightsChartsContext.Provider>
);
}