-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Vega and Timelion visualizations losing filter on save #17719
Comments
cc @nyurik - same thing seems to happen with vega. Not sure if it's the same bug or different |
I'll try to take a look later today |
Doesn't appear to be an issue with the filter bar/query bar itself. Seems that for some reason these viz types don't store the query/filters for some reason. @elastic/kibana-visualizations Any ideas? |
maybe #17713 will solve this ? |
#17713 won't fix that. That's an issue with those visualizations bypass courier and SearchSource. Both visualization types (and TSVB) have a horrible and buggy way of reading out filters and query (at least if it's Lucene - as mentioned in #17722). Storing filters and queries is implemented for search source automatically. Any visualization that doesn't use them is required to implement saving filters and queries itself. Since non implemented it, they should not show the filter and query bar in the editor (as TSVB does). That way the user at least doesn't have THAT weird behavior. They still have super weird behavior regarding pinned filters (see #17025). The short term solution for this will be: fallback to the not ideal solution we have for TSVB and hiding the filter/query bar for Vega and Timelion (will open a PR for that). For actually proper building a solution one of two things would be required:
|
I've opened #17735 for review, that solves it the way we have it for TSVB (and actually also had it at least in 5.6 for timelion). |
Not valid anymore |
This is found in v6.3
Seems like it might be specific to the filter I selected. There is an exception in the console but it was from earlier.
cc @elastic/kibana-discovery @elastic/kibana-visualizations
The text was updated successfully, but these errors were encountered: