Skip to content

[AI] Remove the reporting infrastructure - #166

Merged
chrisvasz merged 1 commit into
masterfrom
claude/reporting-infrastructure-rebuild-b1e10d
Oct 14, 2026
Merged

chrisvasz merged 1 commit into
masterfrom
claude/reporting-infrastructure-rebuild-b1e10d

Conversation

@chrisvasz

@chrisvasz chrisvasz commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Removes all existing reports so they can be rebuilt from scratch. The Reports sidebar link, /reports route and shortcut stay; the page renders blank.

  • UI: the whole components/reports tree (dashboard, every report type, graphs, custom/saved reports, Monte Carlo), report/dashboard hooks, #reports queries/mutations, report cache invalidation on sync, the copy-widget modal, the report picker in GenericInput, and report/dashboard entries in the command bar. Report e2e tests and snapshots are gone too.
  • Formula report card: QueryManager, queryTimeFrame, useFormulaExecution. The formula editor and engine stay since rules use them.
  • Backend: reports, dashboard and forecast handler sets (forecast only served Balance Forecast), dashboard/report model and DB row types, and AQL schema entries for custom_reports, dashboard, dashboard_pages.
  • Settings: the Sankey, Balance Forecast, Budget Analysis and Monte Carlo experimental flags and the reportsView* prefs.
  • Cleanup: files and deps only reports used (recharts, react-grid-layout, html-to-image, csv-stringify in web, es-toolkit in core).

Notes for review:

  • DB tables and migrations are untouched (migrations are additive-only), so existing budgets keep their old report/dashboard rows. shared/dashboard.ts stays as frozen seed data because migration 1722804019000 imports it.
  • With the account balance chart also removed ([AI] Remove the account page balance chart #167), nothing draws charts anymore, so recharts and its focus-ring CSS in index.html are gone too.
  • desktop-client's tsconfig now lists node in types like the other packages; it had been picking up Node types transitively through a deleted report file.

Typecheck, lint, knip and the full uncached test suite pass. I didn't open the app to view the blank Reports page.

🤖 Generated with Claude Code

Rip out every report, the dashboard, and their backend handlers ahead of
rebuilding reports from scratch. The Reports sidebar link and route stay,
rendering a blank page.

Database tables and migrations are untouched (migrations are additive
only); shared/dashboard.ts stays as frozen seed data for the migration
that imports it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chrisvasz
chrisvasz force-pushed the claude/reporting-infrastructure-rebuild-b1e10d branch from aeb3a73 to e24640c Compare October 14, 2026 00:48
@chrisvasz
chrisvasz merged commit 0b0a195 into master Oct 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant