Simpl-Resultat/src/components/dashboard
le king fu 193ef1d9dd
All checks were successful
PR Check / rust (pull_request) Successful in 20m42s
PR Check / frontend (pull_request) Successful in 2m22s
feat(dashboard): converge home page on the Cartes report model
DashboardPage now reuses the Cartes report's presentational widgets
(KpiCard with MoM/YoY deltas, top movers, budget adherence) sourced from
getCartesSnapshot against a Dashboard-owned reference month (defaults to
the last complete month). The expense-only pie chart is replaced by a
ranked bar chart of top expense categories (resurrecting the previously
unused CategoryBarChart), and the account (import-source) filter
introduced on Trends/Compare/Budget now also applies to the Dashboard's
own transactional widgets via a Dashboard-local accountIds state (kept
separate from useReportsPeriod, since the Dashboard owns its own two
temporal axes).

A new net-worth tile surfaces the Balance sheet's latest total
(getSnapshotTotalsByDate) — a distinct metric from every transactional
card here, so it stays hidden (never a misleading "$0") until at least
one balance account has a recorded snapshot, reusing deriveLandingState
rather than re-inferring emptiness from nulls. It is not scoped by the
account filter (balance_accounts is a disjoint concept from
import_sources) and is fetched independently on mount.

The category-over-time trend chart now passes typeFilter "expense",
fixing a latent mismatch where a revenue category could silently show
up in a chart titled "expenses over time".

Resolves #279
2026-07-11 17:13:23 -04:00
..
CategoriesV1DiscoveryBanner.tsx feat(categories): add dashboard v1 discovery banner (#118) 2026-04-20 21:11:56 -04:00
CategoryPieChart.tsx fix: make pie chart legend always visible with hover percentages (#23) 2026-03-09 21:17:59 -04:00
NetWorthTile.tsx feat(dashboard): converge home page on the Cartes report model 2026-07-11 17:13:23 -04:00
PeriodSelector.tsx fix(ui): apply WebKitGTK date picker workaround to remaining 7 inputs (#188) 2026-05-03 16:19:20 -04:00
RecentTransactionsList.tsx fix: CAD currency, real-time import progress, per-row duplicate control, orphaned sources cleanup, dashboard expenses-only 2026-02-10 12:36:12 +00:00