Adds a Reports dashboard view (`ReportsView`) to the reports plugin with a full supporting stack of components (`ReportComparisonDrawer`, `ReportDetailPanel`, `ReportFiltersBar`, `ReportListItem`, `ReportEmptyState`), hooks (`useReports`, `useReportPreview`, `useReportSectionDiff`, `useViewportMode` Fusion-Task-Id: FN-3786
7 lines
349 B
TypeScript
7 lines
349 B
TypeScript
import type { PluginDashboardViewContext } from "@fusion/dashboard/app/plugins/types";
|
|
import { ReportsView } from "./dashboard/ReportsView.js";
|
|
|
|
export function ReportsDashboardView({ context }: { context?: PluginDashboardViewContext }) {
|
|
return <ReportsView projectId={context?.projectId} addToast={context?.addToast ?? (() => undefined)} />;
|
|
}
|