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

fix: gracefully fail charts if columns have changed #596

Merged
merged 2 commits into from
Dec 22, 2023
Merged

Conversation

Sparkier
Copy link
Member

Description

fix ZEN-414

This disentangles the fetching of chart data from the chart. The reason behind this is that fetching chart data has some failure cases (e.g. a column for a slice filter does not exist anymore) that should not break charts altogether. It should still be possible to change the chart spec. Furthermore, this adds an error message if the chart data could not be loaded.

@Sparkier Sparkier requested a review from cabreraalex December 22, 2023 16:42
@Sparkier Sparkier self-assigned this Dec 22, 2023
Copy link

linear bot commented Dec 22, 2023

@Sparkier
Copy link
Member Author

Our openapi codegen creates the function for fetching the data twice for some reason and I don't really understand why.

@cabreraalex
Copy link
Member

yeah odd it did for me too

Copy link
Member

@cabreraalex cabreraalex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, have to make sure it plays well with the new settings PR after merge.

@Sparkier Sparkier merged commit d19ef04 into main Dec 22, 2023
5 checks passed
@Sparkier Sparkier deleted the ab-chart-fails branch December 22, 2023 18:53
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