Add income and spending insight cards to dashboard #668

Merged
JoshAntBrown merged 10 commits from feature/transaction-insight-cards into main 2024-04-24 20:34:50 +08:00

10 Commits

Author SHA1 Message Date
Josh Brown
bca06e63dc Add test for transaction snapshot 2024-04-23 21:49:27 +01:00
Josh Brown
d3b4d55d8d Refactor rolling total queries 2024-04-23 20:52:13 +01:00
Josh Brown
1b66160f72 Fix lint 2024-04-23 20:52:13 +01:00
Josh Brown
34fd313174 Further reduce risk of sql injection 2024-04-23 20:52:13 +01:00
Josh Brown
28519fb517 Use family currency for insight cards 2024-04-23 20:52:13 +01:00
Josh Brown
01d47b5c69 Refactor and tidy 2024-04-23 20:52:13 +01:00
Josh Brown
66649ae674 Refactor aggregation filter
I think this is easier to read and understand whats happening at a
glance
2024-04-23 20:52:13 +01:00
Josh Brown
dabd0eadbf Aggregate chips after 3 top accounts in insight card 2024-04-23 20:52:13 +01:00
Josh Brown
d05af20fa4 Highlight accounts with most income and spending in the last 30 days 2024-04-23 20:52:13 +01:00
Josh Brown
ea936518e3 Generate time series for rolling 30 day sum of income and spending 2024-04-23 20:52:13 +01:00