Skip to content

Conversation

thielema
Copy link
Contributor

@thielema thielema commented Oct 5, 2024

This is a draft for a new type of layout. This is the original reason why I started to work on hledger export functions ...

I called it bare-wide, because it is like bare but the amounts are put in one column per commodity. Sometimes it requires two header rows and horizontally merged headers for dates. I implemented it for HTML and FODS output of plain balance, multi-period balance and compound balances. Not implemented for budget reports, but those reports support only bare and non-bare layouts, anyway.

I thought about alternative names like sub (one sub-column per commodity), columns, separate. Maybe you have better ideas.

I have also some draft code for a table type with labels for header groups. This could enable layout bare-wide for the text outputs. This draft code is not contained in this pull request.

I found a command in multiBalanceReportHtmlRows that reads:

-- TODO: should the commodity_column be displayed as a subaccount in this case as well?

I do not know whether it is still relevant. I have moved it to compoundBalanceReportAsHtml but it might be even more confusing there.

@thielema thielema force-pushed the layout-bare-wide branch 2 times, most recently from a2799a0 to a5c83ac Compare October 9, 2024 10:02
@simonmichael
Copy link
Owner

Interesting! I will try to use it, when it can also display the date headings again. (Perhaps this PR should be marked draft.)

@simonmichael
Copy link
Owner

I don't remember what that TODO comment was about, we can drop it.

@thielema
Copy link
Contributor Author

thielema commented Oct 9, 2024 via email

@simonmichael simonmichael marked this pull request as draft October 9, 2024 19:09
@simonmichael
Copy link
Owner

(I was seeing the green Open badge on github. I have changed the status to Draft so I don't accidentally merge too soon..)

@thielema
Copy link
Contributor Author

thielema commented Oct 9, 2024 via email

@simonmichael
Copy link
Owner

simonmichael commented Oct 9, 2024 via email

@thielema
Copy link
Contributor Author

thielema commented Oct 9, 2024 via email

@simonmichael
Copy link
Owner

simonmichael commented Oct 9, 2024 via email

@thielema thielema force-pushed the layout-bare-wide branch 12 times, most recently from 13cec57 to 5d02eaf Compare October 18, 2024 17:03
@thielema thielema force-pushed the layout-bare-wide branch 3 times, most recently from bbc178b to 17ae71f Compare October 24, 2024 07:59
@simonmichael simonmichael added A-WISH Some kind of improvement request or proposal. needs-value-proposition To unblock: needs clearer justification, review of benefits vs costs needs-mockup/screenshot To unblock: needs a rough mockup, eg in plain text, or a screenshot html The html output format. fods The FODS output format. labels May 17, 2025
@simonmichael
Copy link
Owner

Any new thoughts on this hledger PR: new layout bare-wide ? Is the feature still valuable ?

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. fods The FODS output format. html The html output format. needs-mockup/screenshot To unblock: needs a rough mockup, eg in plain text, or a screenshot needs-value-proposition To unblock: needs clearer justification, review of benefits vs costs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants