Skip to content

[7.x] Move ui/value_suggestions ⇒ NP data plugin (#45762)#47425

Merged
lizozom merged 1 commit intoelastic:7.xfrom
lizozom:backport/7.x/pr-45762
Oct 6, 2019
Merged

[7.x] Move ui/value_suggestions ⇒ NP data plugin (#45762)#47425
lizozom merged 1 commit intoelastic:7.xfrom
lizozom:backport/7.x/pr-45762

Conversation

@lizozom
Copy link
Contributor

@lizozom lizozom commented Oct 6, 2019

Backports the following commits to 7.x:

* Bind search bar

* create prewired data components

* Pass NP data plugin to shim plugin, to access autocomplete
Pass storage and autocomplete to createSearchBar method
Add appName and autocomplete to IDataPluginServices
QueryBarInput to consume autocomplete and appName from context
QueryBarTopRow to consume appName from context
Remove appName from SearchBar
Added AutocompletePublicPluginSetup and AutocompletePublicPluginStart types

* Use KibanaContextProvider in vis editor and graph

* Use KibanaContextProvider in maps

* Use prewirted SearchBar in TopNavMenu

* Use KibanaContextProbider in Lens

* Fix appName usage in query bar input

* fixed query bar top row appName

* update tests

* fixed bind search bar bug

* mock SearchBar

* Removed unnecessary mocks

* Delete unused mock

* Fixed exporting of data plugin types

* Updated maps snapshot

* Fixed some TS issues

* Fixed jest tests

* Context adjustments in TSVB

* componentWillMount

* Code review fixes

* Pass dataTestSubj to query bar input

* Graph data

* - Pass NP data plugin to KibanaReactContext
- Move value_suggestions to NP

* - Pass NP data plugin to KibanaReactContext
- Move value_suggestions to NP

* ts fixes

* Added karma getSuggestions fake

* Refactored kuery autocomplete tests to jest

* Filter bar context for directives

* updated snapshot

* fix diffs

* fixed lens test
@lizozom lizozom added the backport This PR is a backport of another PR label Oct 6, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@lizozom lizozom merged commit 8ffd187 into elastic:7.x Oct 6, 2019
@lizozom lizozom deleted the backport/7.x/pr-45762 branch November 14, 2019 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants