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

Switch to table-layout for tabular layout #1850

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Aug 21, 2022

  1. Configuration menu
    Copy the full SHA
    460c3b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6119977 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0fc5ea View commit details
    Browse the repository at this point in the history
  4. ref!: tabular: Port balance format code over to table-layout.

    It also means that --layout=bare can function with custom format
    strings. The commodity column will be displayed immediately after the
    totals column, left aligned. Default width for a balance report with
    --layout=bare is harmonised with the ordinary balance report.
    Xitian9 committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    ad4cc47 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0011d4d View commit details
    Browse the repository at this point in the history
  6. ref!: tabular: show(Mixed)?Amount(Lines)?B now return RenderText instead

    of WideBuilder.
    
    Use buildCell to convert this to String, Text, Builder, or other
    representable forms.
    Xitian9 committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    439de57 View commit details
    Browse the repository at this point in the history
  7. cln!: tabular: Remove unneeded tabular modules.

    Text.WideString and Text.Tabular.AsciiWide modules are now redundant and
    can be removed. A local definition of Table and concatTables has been
    moved to Hledger.Utils.Text.
    Xitian9 committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    2d16503 View commit details
    Browse the repository at this point in the history
  8. ref!: tabular: Use ElidableList rather than home-grown functions.

    showMixedAmountOneLineB will now return an ElidableList. This will be
    padded or trimmed automagically when rendered with grid or
    table-producing functions, or with the pad or trim functions.
    
    The return types of showMixedAmount(|Lines|OneLine)B have changed, but
    since the return types are still instances of Cell they can be treated
    the same: just use buildCell to render as you will.
    Xitian9 committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    2f41a1b View commit details
    Browse the repository at this point in the history