The Analyse page replaces both. Drop the /spendings and /SpendingsOverTime
pages, their menu entries, and ChartService.GetExpensesPerMonthAsync with its
helpers and tests. Vermögen stays until the Analyse page covers assets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New page /analytics shows the current mandator's expenses across all years,
with drill-down all -> subclass -> account -> booking-text group, year range
and month/quarter/year filters, KPI tiles, a stacked bar chart and a category
list. Filters and drill-down position live in the URL.
- MultiYearRepository reads any mandator/year (read-only, shared cache)
- ExpenseAnalysis flattens all years and answers queries in memory: net
amounts (refunds count negative), accounts keyed by number with the latest
name, bookings counted in the year of their books, year-over-year
comparison over the same months
- Chart.js 4.5.1 vendored in wwwroot/lib/chartjs, wrapped by
wwwroot/js/charts.js and StackedBarChart.razor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a Blazor built-in ErrorBoundary around @Body with a friendly
FluentMessageBar + retry / home buttons. Also hook
NavigationManager.LocationChanged so the boundary resets on any nav
(otherwise the error state persists across NavigateTo and "Zur
Startseite" still shows the failure banner).
U-6 split into U-6a (this) and U-6b (per-handler try/catch to route
expected exceptions to IMessageService — deferred).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>