hledger-sankey icon indicating copy to clipboard operation
hledger-sankey copied to clipboard

`sankey.py` doesn't fully work with the latest hledger anymore.

Open basvandijk opened this issue 8 months ago • 1 comments

I think https://github.com/simonmichael/hledger/commit/3e2685fe95a8b0d4ee5f1614cd82de1dbac60c0b broke sankey.py because, before that commit, accounts in --tree mode were displayed with their full name which sankey.py expects but that commit displayed the accounts with just their displayName indented with 2 times the depth amount of non-breaking spaces.

I guess we could work around this in sankey.py by re-constructing the full account names by replacing the non-breaking spaces with the parent account.

basvandijk avatar May 04 '25 18:05 basvandijk

CC @simonmichael , @thielema

basvandijk avatar May 04 '25 18:05 basvandijk