Simpl-Resultat/docs
le king fu 1a44788f07
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 3m16s
fix(reports): open the category zoom on the clicked card category, fill its left box
The category zoom now reads the zoomed category from the `cat` query param
written by the report cards' links, and writes it back (replace) when the
selection changes, so a click on a card opens the zoom on that category and
the selector and the URL always agree. Data read for another category is
never shown.

getCategoryZoom sums each direct child over its whole subtree (bounded
recursive CTE), so the donut of a first-level category shows its
subcategories instead of nothing, and returns the key figures of the
period's transactions (count, average, largest, smallest), oriented like the
total and computed in SQL over every row, a split transaction counting once
for its net in the scope. When the donut has no part to draw (a leaf, the
subcategories left out), the box beside the evolution chart shows those
figures; "No data" only when there is no transaction.

test: reproduces #548 (hook mounted on ?cat=, level-1 parts on real SQLite,
leaf metrics, render of the box)

Fixes #548

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 17:13:43 -05:00
..
adr fix(ci): network hint only on network errors, docs say cargo update 2026-11-14 09:01:21 -05:00
archive docs: organize technical documentation into docs/ folder 2026-02-19 07:34:01 -05:00
analyse-onboarding-2026-09.md docs: add the onboarding analysis behind spec-onboarding-phase1 2026-09-30 21:21:14 -04:00
api-contract-prices.md feat(license): online revocation check — a revoked key falls back to Free (#365) 2026-10-02 14:45:34 -04:00
architecture.md fix(ci): network hint only on network errors, docs say cargo update 2026-11-14 09:01:21 -05:00
audit-bilan-2026-05.md feat(balance): audit quick wins — terminology, optional symbol, movable snapshot date (#201) 2026-05-31 21:05:13 +00:00
guide-utilisateur.md fix(reports): open the category zoom on the clicked card category, fill its left box 2026-11-15 17:13:43 -05:00
qa-onboarding.html docs(onboarding): cards of the Categories and Reports pages 2026-10-13 21:48:47 -04:00
qa-refonte-seed-categories-ipc.md test(categories): complete test coverage for migration flow (#123) 2026-04-21 19:25:13 -04:00
qa-update-cycle.md docs: start the update bridge at v0.1.1 and give the displayed key ids (#524) 2026-11-07 15:19:23 -05:00