Analyse page: income, net and assets views; narrow-screen layout #6

Merged
clayschaad merged 2 commits from analytics-income-assets into main 2026-10-22 16:42:43 +00:00

2 commits

Author SHA1 Message Date
ab96ec0fd1 Fix cut-off descenders in Analyse KPI tiles
Fluent sets a fixed 20px line height; the 24px tile values overflowed their
box by 6px, and the ellipsis-truncated "Grösster Posten" value cut off the
lower part of g, p, y. Use a relative line height for tile values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:42:02 +02:00
64494e2de8 Analyse page: income, net and assets views; narrow-screen layout
- View switch Ausgaben | Einnahmen | Netto | Vermögen (URL: view=).
  ExpenseAnalysis becomes AccountingAnalysis:
  - Income: bookings from income accounts positive, to them negative
  - Net: income positive, expenses negative, ordered by size; bar chart with
    a net line, savings-rate tile, no treemap (areas can't be negative)
  - Assets: month-end balances of asset accounts in CHF (foreign balances
    converted once per currency, like the balance sheet); periods take their
    last balance, drill-down ends at the account
- Change colours follow the view: more expenses red, more income/assets green
- Old Vermögen chart page and its menu entry removed
- Narrow screens: side menu starts collapsed below 700px, slimmer header,
  wrapping button groups, two KPI tiles per row, pinned name column in the
  year table

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:46 +02:00