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

Decoupling UI Settings from buildEsQuery #25994

Merged
merged 3 commits into from
Nov 28, 2018

Conversation

markov00
Copy link
Member

@markov00 markov00 commented Nov 21, 2018

Summary

Decoupling buildEsQuery from UI setting config object. We removed the uiSettings object in favour to a simple js object with the required params:
{ allowLeadingWildcards: boolean, queryStringOptions: any }

In preparation for #17722

This PR is branched from #23345, so it's recommended to merge that PR before this one.

Note to reviewers:

  • because this is branched on top of an open PR, you can review the diffs only on this last commit: 3e8e021

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@markov00 markov00 added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Nov 21, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@markov00 markov00 changed the title Kql decuple config Decoupling UI Settings from buildEsQuery Nov 21, 2018
@elasticmachine
Copy link
Contributor

💔 Build Failed

@markov00 markov00 mentioned this pull request Nov 21, 2018
1 task
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@timroes
Copy link
Contributor

timroes commented Nov 23, 2018

Could you rebase on master, so this is easier to review? :)

@elasticmachine
Copy link
Contributor

💔 Build Failed

@markov00
Copy link
Member Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

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

LGTM! Code review & checked it out and tested manually and things seemed to be working properly.

@markov00 markov00 merged commit cfb3a3c into elastic:master Nov 28, 2018
@markov00 markov00 deleted the kql_decuple_config branch November 28, 2018 09:28
markov00 added a commit to markov00/kibana that referenced this pull request Feb 1, 2019
* Decuple the UI setting config from kbn-es-query package

* Remove BuildESQueryProvider on ml utils
markov00 added a commit that referenced this pull request Feb 4, 2019
* Decuple the UI setting config from kbn-es-query package

* Remove BuildESQueryProvider on ml utils
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:KQL KQL review Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants