Skip to content

render tree-tables in frontend - #1664

Merged
yagebu merged 3 commits into
beancount:mainfrom
yagebu:frontend-tree-tables
Aug 27, 2023
Merged

yagebu merged 3 commits into
beancount:mainfrom
yagebu:frontend-tree-tables

Conversation

@yagebu

@yagebu yagebu commented Aug 27, 2023 •

Copy link
Copy Markdown
Member

This simplifies the code needed and will ease maintenance. This would
also make it easier to have options that determine the rendering of
these accounts trees to be handled in the frontend

Fixes #1116

@yagebu
yagebu force-pushed the frontend-tree-tables branch 3 times, most recently from 53452be to 59ea046 Compare August 27, 2023 09:14
This simplifies the code needed and will ease maintenance. This would
also make it easier to have options that determine the rendering of
these accounts trees to be handled in the frontend
The budget and unrealized gains diff are now always rendered on a new
line, so shrinking the width by 1em should still leave enough space.
@yagebu
yagebu merged commit cc72226 into beancount:main Aug 27, 2023
@yagebu
yagebu deleted the frontend-tree-tables branch August 27, 2023 10:54
robcohen added a commit to rustledger/rustfava that referenced this pull request Jul 1, 2026
STAGED — v0.18.0 is not yet released (rustledger#1665 open); finalize by
downloading the wasm, running the suite, and flipping the C1 xfail in the
differential test once it ships.

rustledger 3.1.0 (beancount#1663/beancount#1664) is a minor WIT bump (3.0.0 -> 3.1.0) with no
function-signature changes:
- Bump the interface-ID constant `_WIT_VERSION` 3.0.0 -> 3.1.0 (a mismatch makes
  get_export_index return None and every call fail). SUPPORTED_API_MAJOR stays 3.
- `load`/`load-file` now report balance-assertion failures (previously only
  validate did — the C1 gap, rustfava-side beancount#1663). No loader change needed: the
  errors flow through the existing errors list.
- `balance-dir` gains `diff` (computed - asserted): present on every *checked*
  assertion, zero = passed. RLBalance.from_json reads it, but only carries a
  NON-ZERO diff as `diff_amount` — the journal/red-green contract treats a
  present diff_amount as "failed", so mapping the zero-diff through verbatim
  would render every passing balance red. Verified the mapping (passed->None,
  failed->carried, legacy key->carried).
- Bump RUSTLEDGER_VERSION -> v0.18.0.
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.

When using Filter, Balance/Changes screen should not show accounts which have zero value because of the filter

1 participant