feat(FN-3786): add reports dashboard view and comparison tooling
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
This commit is contained in:
@@ -42,6 +42,20 @@ describe("reports plugin manifest", () => {
|
||||
expect(plugin.manifest.fusionVersion).toBe(manifest.fusionVersion);
|
||||
});
|
||||
|
||||
it("registers dashboard view", () => {
|
||||
expect(plugin.dashboardViews).toEqual([
|
||||
{
|
||||
viewId: "reports",
|
||||
label: "Reports",
|
||||
componentPath: "./dashboard-view",
|
||||
icon: "FileText",
|
||||
placement: "primary",
|
||||
order: 35,
|
||||
},
|
||||
]);
|
||||
expect(manifest.dashboardViews).toEqual(plugin.dashboardViews);
|
||||
});
|
||||
|
||||
it("includes full settings schema", () => {
|
||||
expect(plugin.manifest.settingsSchema).toBeDefined();
|
||||
for (const key of expectedKeys) {
|
||||
|
||||
Reference in New Issue
Block a user