Skip to content

instance Show Account also shows sub-accounts - #2687

Draft
thielema wants to merge 1 commit into
simonmichael:mainfrom
thielema:instance-show-account
Draft

instance Show Account also shows sub-accounts#2687
thielema wants to merge 1 commit into
simonmichael:mainfrom
thielema:instance-show-account

Conversation

@thielema

Copy link
Copy Markdown
Contributor

I was confused for days because code comments talk about account trees and according functions morally have to deal with trees not individual accounts. However, the type is named Account and it does not show sub accounts in debug output.

I added showing the sub-accounts to instance Show Account. But maybe, for some debug situations this is too noisy?

Only this way you can see the tree structure of accounts and sub accounts.
@thielema
thielema force-pushed the instance-show-account branch from 980b269 to 15701d1 Compare August 11, 2026 11:55
@simonmichael

Copy link
Copy Markdown
Owner

Yes, Account is a tree. Yes, it sounds like printing the whole tree will be too noisy ? But I'm not sure how many debug messages print an Account.

@simonmichael simonmichael added the A-WISH Some kind of improvement request or proposal. label Aug 11, 2026
@simonmichael

Copy link
Copy Markdown
Owner

I haven't seen this in action yet. But if it is too noisy, adding elided info like "asubs: (3 subaccounts)" might be enough of a hint to look deeper. Or perhaps it could be sensitive to debug level, showing all subs only at level 9.

@simonmichael

Copy link
Copy Markdown
Owner

Or, showing them in compact form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-WISH Some kind of improvement request or proposal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants