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 apps to always migrate legacy queries on state change #33276

Merged
merged 1 commit into from Mar 15, 2019

Conversation

lukasolson
Copy link
Member

@lukasolson lukasolson commented Mar 14, 2019

Fixes #31060.

In #27353, the handling of migrating legacy queries moved into a conditional. However, we always want to migrate legacy queries when state changes, regardless of whether or not the query itself has changed.

This PR moves the migration of legacy queries out of the conditional and directly into the watcher for state changes.

@lukasolson lukasolson self-assigned this Mar 14, 2019
@lukasolson lukasolson added review Feature:Query Bar Querying and query bar features v7.0.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 v7.2.0 v6.7.1 labels Mar 14, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

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

Ah that makes sense. LGTM!

@lukasolson
Copy link
Member Author

7.x (7.1.0): 87b7899
7.0 (7.0.0): 8878c48
6.7 (6.7.1): 9637b13

@lukasolson lukasolson deleted the fixDashboardQueryString branch December 2, 2019 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Query Bar Querying and query bar features review Team:Visualizations Visualization editors, elastic-charts and infrastructure v6.7.1 v7.0.0 v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants