diff --git a/CHANGELOG.md b/CHANGELOG.md index e9dcec7..beaba29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 2026-05-07 15:26 CEST — refactor(app): extract view-model builders into scripts/views.py + +- Pulled ~350 lines of inline per-row computation out of `adults_view`, `juniors_view`, and `payments` into three pure functions in `scripts/views.py`: `build_adults_view_model`, `build_juniors_view_model`, `build_payments_view_model`. +- Moved `get_month_labels`, `group_payments_by_person`, `adapt_junior_members` from `app.py` to `scripts/views.py`. Route handlers now ~25 lines each. +- Hotfixed missing `import re` that caused 500 on `/qr` after the refactor. +- No behaviour change; all 27 tests pass. Prep for `/api/*` shadow endpoints (M5). + ## 2026-05-07 14:13 CEST — feat(go): --print-fio-table + Fio debug logging + date parser fix - Added `--print-fio-table` flag to `fuj sync --dry-run`: prints an aligned table of every Fio transaction in the window with `STATUS=NEW/DUP`, using `text/tabwriter`. Key files: `go/internal/services/banksync/fio_table.go`, `sync.go`, `cmd/fuj/main.go`.