Currently in src/plugins/data/public we have an autocomplete_provider and suggestions_provider.
autocomplete is exposed in the setup contract under data.autocomplete
suggestions are exposed in the start contract under getSuggestions
Since these are both thematically related, I think we should merge them together into a single autocomplete service in the data plugin. Perhaps something like
setup contract:
start contract:
autocomplete.getProvider
autocomplete.getSuggestions
Currently in
src/plugins/data/publicwe have anautocomplete_providerandsuggestions_provider.autocompleteis exposed in thesetupcontract underdata.autocompletesuggestionsare exposed in thestartcontract undergetSuggestionsSince these are both thematically related, I think we should merge them together into a single
autocompleteservice in the data plugin. Perhaps something likesetup contract:
autocomplete.addProviderstart contract:
autocomplete.getProviderautocomplete.getSuggestions