Strom/Wasser: year filter for the charts, move pages under "Charts" #12

Merged
clayschaad merged 1 commit from bill-charts-year-filter into main 2026-10-30 20:24:56 +00:00
Owner

Changes

  • Year filter for the charts on Strom and Wasser: "Von"/"Bis" dropdowns and "Alle Jahre", like on the Analyse page
    • default: all years; while on all years, new bills show up automatically
    • periods (or bills) overlapping the range are kept whole, e.g. 2024–2024 shows 23/24 and 24/25 per bill
    • the grid still lists all bills
  • Period toggle, year range and split note are now one shared component BillChartToolbar (logic in BillChartFilter), replacing the copies on both pages
  • Strom and Wasser moved into the Charts group of the menu
  • Tests: BillChartFilterTestShould; CLAUDE.md updated

Testing

  • Build clean, dotnet test 160 passed
  • Not yet checked in the running app

🤖 Generated with Claude Code

## Changes - **Year filter** for the charts on Strom and Wasser: "Von"/"Bis" dropdowns and "Alle Jahre", like on the Analyse page - default: all years; while on all years, new bills show up automatically - periods (or bills) overlapping the range are kept whole, e.g. 2024–2024 shows `23/24` and `24/25` per bill - the grid still lists all bills - Period toggle, year range and split note are now one shared component `BillChartToolbar` (logic in `BillChartFilter`), replacing the copies on both pages - Strom and Wasser moved into the **Charts** group of the menu - Tests: `BillChartFilterTestShould`; CLAUDE.md updated ## Testing - Build clean, `dotnet test` 160 passed - Not yet checked in the running app 🤖 Generated with [Claude Code](https://claude.com/claude-code)
clayschaad added 1 commit 2026-10-30 20:24:55 +00:00
The charts on both pages can be limited to a from/to year range
("Alle Jahre" resets it); periods overlapping the range are kept whole.
Period toggle, year range and split note are now one shared component
(BillChartToolbar over BillChartFilter). Both pages move into the
"Charts" group of the menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clayschaad merged commit 28b23579de into main 2026-10-30 20:24:56 +00:00
clayschaad deleted branch bill-charts-year-filter 2026-10-30 20:24:56 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clayschaad/AccountingNext#12
No description provided.