feat: add year switcher to Dashboard, Transactions and Budget

Year was previously hardcoded to the current year on all three pages
(useState with no setter) — only the month could be changed via
MonthSelector, making it impossible to look at or compare older years
even though transaction history goes back further than the current
year.

Adds GET /transactions/years (contiguous range from the earliest
transaction through the current year) and a YearSelector component
matching MonthSelector's style, wired into all three pages alongside
a real year useState.
This commit is contained in:
ZProger
2026-08-16 22:10:49 +03:00
parent e9eae92975
commit f3fbe4d546
8 changed files with 99 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "aurum-frontend",
"private": true,
"version": "0.15.4",
"version": "0.16.0",
"type": "module",
"scripts": {
"dev": "vite",