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:
Fusion
2026-05-10 12:27:36 -07:00
committed by gsxdsm
parent 2fa4ba940a
commit 4535db5419
33 changed files with 753 additions and 6 deletions

View File

@@ -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) {