Herculino Trotta
4bf2c2552b
feat(net-worth): collapse consolidated breakdown and align share badges
...
Consolidated rows are collapsible and remember their state per currency in localStorage. Share percentages render as badges on a shared subgrid column so they line up regardless of amount width. Currency and account menus drop their extra padding to align with the card title.
2026-11-11 13:57:21 -03:00
Asish Kumar
d590dc39ab
feat(net-worth): break consolidated totals down by currency share
...
A consolidated total on the Net Worth page was a single number: it said
what everything is worth in one currency, but not how much of it each
currency makes up, which is what you want to know when you hold the same
money in several currencies (or in currencies standing for gold, stocks
or crypto).
calculate_currency_totals now keeps, next to each consolidated total, the
components it was built from: the currency's own total and the exchanged
total of every currency that exchanges into it, all in the consolidated
currency. calculate_consolidated_shares gives each of them its share of
the total as a percentage, drops the ones that add nothing and sorts the
rest from largest to smallest. Shares are taken over the absolute total,
so a currency that adds to it always has a positive share and one that
takes from it (debt) a negative one; with a zero total there's no share.
Currencies that hide their exchanged amounts still show up, since they
still count towards the consolidated total, and so do exchange targets
that only exist through the deep search.
On the Net Worth page, each Consolidated row now lists its components
with their share and amount in the consolidated currency. Clicking one
shows that currency's line on the charts, like the currency rows above.
2026-11-11 21:27:17 +05:30
Herculino Trotta
8e09f3e8d8
feat(net-worth): add consolidated chart lines
2026-08-15 14:36:13 -03:00
Herculino Trotta
605ece705e
feat: fixes
2025-11-22 01:30:43 -03:00
Herculino Trotta
e2e1c5cff5
feat: changes and fixes
2025-11-18 01:04:39 -03:00
Herculino Trotta
a878af28f1
feat: more changes and fixes
2025-11-05 13:09:31 -03:00
Herculino Trotta
0a4d4c12b9
feat: another batch of fixes
2025-11-04 10:29:40 -03:00
Herculino Trotta
9ade58a003
feat: another batch
2025-11-03 01:40:13 -03:00
Herculino Trotta
89b2d0118d
feat: another batch of fixes
2025-11-02 03:03:22 -03:00
Herculino Trotta
a63367a772
feat: first batch of work
2025-11-01 03:15:44 -03:00
Herculino Trotta
e600d87968
feat: automated replacement
2025-10-28 14:13:30 -03:00
Herculino Trotta
9dce5e9efe
feat(networth): add a chart with the currency difference between each month
2025-09-20 11:02:23 -03:00
Herculino Trotta
9ef8fdec49
refactor(networth): convert into a single page instead of two
2025-08-06 11:43:49 -03:00
Herculino Trotta
5e7e918085
feat: add FAB to networth and all transactions pages
2025-07-19 23:59:58 -03:00
Herculino Trotta
d81d89d9f6
feat: auto-refresh overview and networth pages (10m for overview and 1h for networth)
...
Useful if you want to leave WYGIWYH open in a fixed tab
2025-07-12 02:26:15 -03:00
Herculino Trotta
b4e9446cf6
chore: update tailwind to v4
...
As is customary in the JS world EVERYTHING must break with each major version
2025-06-21 16:12:44 -03:00
Herculino Trotta
c5a352cf4d
feat(networth): only display consolidated amounts if they're different from the total
2025-05-12 20:33:50 -03:00
Herculino Trotta
cfcca54aa6
fix(networth): consolidated color doesn't reflect consolidated amount
2025-05-12 20:29:43 -03:00
Herculino Trotta
9705441e2d
feat: indicate what paid/project button means
...
Closes #122
2025-02-01 19:06:04 -03:00
Herculino Trotta
cc2e2293ed
fix(networth): chart initializing multiple times resulting in weird animation
2025-01-06 00:14:15 -03:00
Herculino Trotta
1047fb23dd
fix(networth): charts not changing between views
2025-01-03 17:50:41 -03:00
Herculino Trotta
de550033c6
refactor(networth): reorganize page to have a clear split between accounts and currencies
2024-12-27 01:59:39 -03:00
Herculino Trotta
a90b188e32
fix(networth): random broken rendering for charts when changing pages with htmx
2024-12-27 01:49:43 -03:00
Herculino Trotta
906095dcdd
feat(cotton): add info_card component
2024-12-24 13:21:57 -03:00
Herculino Trotta
d7a6cf0f42
fix(network): charts are very short on mobile
2024-12-15 02:05:43 -03:00
Herculino Trotta
1ffbd4f9f5
fix(networth): missing title for each page type
2024-12-15 01:42:02 -03:00
Herculino Trotta
4c23b75066
fix(networth): projected currency totals not displayed correctly
2024-12-15 01:33:53 -03:00
Herculino Trotta
2993ead631
refactor(networth): add functions for interacting with charts
2024-12-14 11:07:27 -03:00
Herculino Trotta
b744aed388
feat(networth): show all chart data points when clicking on account or currency card title
2024-12-14 02:49:09 -03:00
Herculino Trotta
216f9b8ef4
feat(networth): hide other chart data points when clicking on account or currency name
2024-12-14 02:42:05 -03:00
Herculino Trotta
84bb247918
feat: improve calculations for net_worth
2024-11-17 11:36:32 -03:00
Herculino Trotta
e5e002497f
feat: display more decimal places when needed on net worth
2024-11-17 11:10:21 -03:00
Herculino Trotta
2623fb3da5
feat: convert returns None if Currency convertion has same currency for both or if amount if 0
2024-11-16 23:59:46 -03:00
Herculino Trotta
05fc4bca7f
feat: show currency exchange rate where needed
2024-11-09 02:57:05 -03:00
Herculino Trotta
fcbce21cfa
feat: color networth values based on sign
2024-11-01 17:27:38 -03:00
Herculino Trotta
edf07082e2
feat: add yearly overview by account
2024-10-31 23:13:29 -03:00
Herculino Trotta
8322466d1f
refactor: formatting
2024-10-20 19:21:51 -03:00
Herculino Trotta
8a3799c359
feat: implement django-cotton
2024-10-18 15:05:01 -03:00
Herculino Trotta
e12b5e62c4
fix: networth charts starting on bottom
2024-10-14 21:26:30 -03:00
Herculino Trotta
aecbcb3430
feat: add actions
2024-10-14 21:01:11 -03:00
Herculino Trotta
8a61946c16
refactor: translate networth page title
2024-10-14 13:22:40 -03:00
Herculino Trotta
62bb256c7d
feat: add charts to net worth
2024-10-14 11:07:22 -03:00
Herculino Trotta
d20897a28a
more changes
2024-10-13 12:10:50 -03:00
Herculino Trotta
3dde44b1cd
changes
2024-10-09 00:31:21 -03:00