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

charts: better error handling; backwards-compat #1750

Merged
merged 2 commits into from
Feb 4, 2024

Conversation

yagebu
Copy link
Member

@yagebu yagebu commented Feb 4, 2024

Previously, charts with invalid data were quietly discarded, bubble up
the error instead.

On loading the data for a custom element, render a
potential validation error message a bit more prominently and with more
context.

Also, add backwards-compatibility handler (with a warning) for hierarchy
charts that still have the "tree" nested one level deeper. The
modifier key has been removed in v1.26 and is now inferred
automatically.

Previously, charts with invalid data were quietly discarded, bubble up
the error instead.

On loading the data for a <svelte-component> custom element, render a
potential validation error message a bit more prominently and with more
context.

Also, add backwards-compatibility handler (with a warning) for hierarchy
charts that still have the "tree" nested one level deeper. The
`modifier` key has been removed in v1.26 and is now inferred
automatically.
@yagebu yagebu merged commit e4a869e into beancount:main Feb 4, 2024
18 checks passed
@yagebu yagebu deleted the chart-custom-element branch February 4, 2024 16:36
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.

1 participant