Commit Graph
28 Commits
Author SHA1 Message Date
Herculino Trotta dea8cfee4e test(net-worth): assert share text instead of badge markup 2026-11-11 14:02:56 -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 9dce5e9efe feat(networth): add a chart with the currency difference between each month 2025-09-20 11:02:23 -03:00
Herculino Trotta 1abe9e9f62 feat(currencies): allow archiving 2025-08-29 22:47:00 -03:00
Herculino Trotta 7e4defb9cc refactor: remove debug prints 2025-08-16 17:38:22 -03:00
google-labs-jules[bot] 7f8261b9cc refactor: Style transaction items for untracked accounts
This commit extends the "Untrack Account" feature by applying a special style to transaction items that belong to an untracked account.

- The transaction item template is modified to apply a "dimmed" style to transactions from untracked accounts.
- The styling follows the precedence: Account (untracked) > Category (muted) > Transaction (hidden).
- The dropdown menu for transaction items now shows "Controlled by account" if the transaction's account is untracked.
2025-08-09 05:47:18 +00:00
Herculino Trotta 9ef8fdec49 refactor(networth): convert into a single page instead of two 2025-08-06 11:43:49 -03:00
Herculino Trotta 1213ffebeb feat(transactions:calculations): add deep_search param to return consolidated amounts for currencies without transactions / sort results by their final total 2025-05-12 20:43:47 -03:00
Herculino Trotta 29aa1c9d2b fix(net-worth): non-used currencies showing up on charts 2025-03-23 01:34:53 -03:00
Herculino Trotta 020dd74f80 feat: multi tenancy support 2025-03-08 12:03:17 -03:00
Herculino Trotta 1ffbd4f9f5 fix(networth): missing title for each page type 2024-12-15 01:42:02 -03:00
Herculino Trotta 188e737121 feat(networth): add projected view 2024-12-15 01:22:33 -03:00
Herculino Trotta b3896df466 fix: wrong calculations 2024-11-18 10:15:52 -03:00
Herculino Trotta c9b4cd3408 fix: wrong calculations 2024-11-18 01:17:37 -03:00
Herculino Trotta 6fa9b77e1d feat: improve calculations for net_worth 2024-11-17 14:46:47 -03:00
Herculino Trotta 84bb247918 feat: improve calculations for net_worth 2024-11-17 11:36:32 -03:00
Herculino Trotta 05fc4bca7f feat: show currency exchange rate where needed 2024-11-09 02:57:05 -03:00
Herculino Trotta 26a6c72902 feat(style): add delay to htmx indicator 2024-10-31 23:40:42 -03:00
Herculino Trotta bfd0cc45a3 feat: add option to archive accounts 2024-10-27 21:54:02 -03:00
Herculino Trotta 3772eb94d6 refactor: remove debug print 2024-10-17 13:24:10 -03:00
Herculino Trotta 25385d6d09 refactor: fetch currency balance from currency instead of account 2024-10-17 13:18:00 -03:00
Herculino Trotta e9359a3dfd fix: networth doesn't load if there aren't any transactions 2024-10-17 13:04:41 -03:00
Herculino Trotta 75b78bd2fa fix: networth historical account balance 2024-10-14 13:22:25 -03:00
Herculino Trotta dad0d96b58 feat: improve networth calculations 2024-10-14 11:08:06 -03:00
Herculino Trotta 212ee2bf28 feat: improve networth calculations 2024-10-14 11:06:02 -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