Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new layout bare-wide #2253

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants