reports page: spec-driven generate panel, list, and sliceable viewer

Add a /reports page built on react-openapi's runtime configs:
- inline generate panel (GroupSpec enum, prefetched payee picker,
  strict DD-MM-YYYY range, 400 surfacing)
- metadata report list with view/regenerate/delete
- viewer that slices the cached per-entity payload via
  metadata.group_options, aggregates metrics + txns, pivots
  period x payee, and renders month accordions
- route + nav entry; no hand-rolled schema duplication
This commit is contained in:
2026-08-19 22:00:14 +05:30
parent 25ec534597
commit f08bc72037
7 changed files with 1235 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ interface HeaderProps {
const NAV_LINKS = [
{ label: "Home", path: "/" },
{ label: "Expenses", path: "/expenses" },
{ label: "Reports", path: "/reports" },
{ label: "Fetch Requests", path: "/fetch-requests" },
];