Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fold single child with parent account in the account table #2054

upsuper started this conversation in Ideas
Discussion options

For certain account settings, it may be very common for an account to only have a single child account without anything on its own, like

+ Assets
 + Amazon
 | + Points
 + BCinemas
 | + Points
 + DigitalOcean
 + Credits

I think it would be more compact and look nicer if we fold them together, something like

+ Assets
 + Amazon:Points
 + BCinemas:Points
 + DigitalOcean:Credits

Similar to how GitHub folds directories with a single subdirectory (see .github/workflows, src/fava, and stubs/beancount):
107746970-cf7d7a00-6d6a-11eb-863e-8fb20450527c

WDYT?

You must be logged in to vote

Replies: 2 comments

Comment options

In flat layouts like the one on GitHub, I find this sort of folding useful as it saves some clicking.

In tree layouts, I am not a great fan of this folding of directories, mainly because it distorts the visual depth of an account in the hierarchy. In Fava, the folding would also be complicated by the fact that intermediate accounts might also have transactions, so the folding would be somewhat inconsistent.

I think that this folding can already be achieved by just naming the accounts appropriately (Assets:AmazonPoints instead of Assets:Amazon:Points for example).

You must be logged in to vote
0 replies
Comment options

In Fava, the folding would also be complicated by the fact that intermediate accounts might also have transactions, so the folding would be somewhat inconsistent.

When there are transactions on the intermediate accounts, or at least when there is non-zero balance in the intermediate accounts, they shouldn't be folded. I don't think it's very inconsistent, as far as you can see that the intermediate account has different balance than the leaf one.

I think that this folding can already be achieved by just naming the accounts appropriately (Assets:AmazonPoints instead of Assets:Amazon:Points for example).

It's true, but there is value not to do that. For example, you may want the level of merchant to always exist for accounting consistency or future extension. The intermediate account may also contain closed leaf account that you no longer care about.

The problem I'd like to solve is that when you use this kind of convention for account name, the account table becomes very long and low in information density. I think it would be good to at least allow user to choose (as an option) whether to do so.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1230 on July 02, 2025 18:31.

AltStyle によって変換されたページ (->オリジナル) /