Simpl-Resultat/src
le king fu f3e8e94b16 feat(reports): hierarchical real-vs-real compare with subtotals
Render the real-vs-real comparable report as a parent/child category tree
with subtotal rows, mirroring the budget report — rows grouped into
expense/income/transfer sections with per-section and grand totals and a
subtotals-on-top/bottom toggle. The compare service now builds the tree on
top of the flat per-category deltas, so leaf-category figures are unchanged
and the #243 transfer netting is preserved (a balanced transfer group
subtotals to ~0, i.e. the group's net).

- reportService: buildCompareTree() synthesizes subtotal rows from the flat
  leaves + category metadata; getCompareMonthOverMonth/YoY return the tree
  (COMPARE_DELTA_SQL and rowsToDeltas untouched).
- CategoryDelta gains optional parent_id/is_parent/depth/category_type.
- ComparePeriodTable: sections, depth indentation, reorderRows toggle,
  section/grand net totals.
- Cartes top-movers and ComparePeriodChart filter to leaf rows only.
- reorderRows constraint loosened to the two fields it reads.
- i18n (FR+EN) section labels; CHANGELOG entries.

Resolves #247

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-04 17:32:38 -04:00
..
__fixtures__ test(categories): complete test coverage for migration flow (#123) 2026-04-21 19:25:13 -04:00
__integration__ fix(db): serialize DB access to fix "database is locked"; live-update log console 2026-06-30 16:50:39 -04:00
components feat(reports): hierarchical real-vs-real compare with subtotals 2026-07-04 17:32:38 -04:00
contexts fix: address reviewer feedback (#54) 2026-04-09 15:46:27 -04:00
data feat(categories): add v1 IPC seed, i18n keys, and migration v8 (#115) 2026-04-19 16:41:55 -04:00
hooks fix(db): serialize DB access to fix "database is locked"; live-update log console 2026-06-30 16:50:39 -04:00
i18n feat(reports): hierarchical real-vs-real compare with subtotals 2026-07-04 17:32:38 -04:00
pages feat(balance): detail-account wizard (toggle to detailed at pivot date) (#215) 2026-06-06 13:55:58 -04:00
services feat(reports): hierarchical real-vs-real compare with subtotals 2026-07-04 17:32:38 -04:00
shared feat(reports): hierarchical real-vs-real compare with subtotals 2026-07-04 17:32:38 -04:00
utils feat(reports): hierarchical real-vs-real compare with subtotals 2026-07-04 17:32:38 -04:00
App.tsx refactor(settings): split monolithic Settings page into 3 sub-pages (#190) 2026-05-03 09:50:02 -04:00
main.tsx Fix updater latest.json and add log viewer in settings 2026-02-28 21:09:10 -05:00
styles.css feat(categories): add categories standard guide page (#117) 2026-04-20 21:02:38 -04:00
vite-env.d.ts Initial project scaffold: Tauri v2 + React + TypeScript + TailwindCSS v4 2026-02-07 11:05:11 +00:00