-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//release_note:plugin_api_changesContains a Plugin API changes section for the breaking plugin API changes section.Contains a Plugin API changes section for the breaking plugin API changes section.v7.2.0
Description
This issue is just there to create a single dev docs entry in the API changes blog post, for any of the ui/public directory removals, so not every removal PR pops up as it's own section in the blog post.
Dev Docs
ui/public cleanup
Relocated modules
In preparation for Kibana's upcoming new platform, we are in the process of migrating away from the ui/public directory. Over time, the contents of this directory will be either deprecated or housed inside a parent plugin. If your plugin imports from any of the following ui/public modules, you will need to update your import statements as indicated below, so that you are pulling these modules from their new locations.
ui/search_bar #35389
// deprecated
import 'ui/search_bar';
// new location
import { data } from 'plugins/data';
data.search.loadLegacyDirectives();
// deprecated
import { SearchBar } from 'ui/public/search_bar/components';
// new location
import { data } from 'plugins/data';
const { SearchBar } = data.search.ui;ui/query_bar #35390
// deprecated
import 'ui/query_bar';
// new location
import { data } from 'plugins/data';
data.query.loadLegacyDirectives();
// deprecated
import { QueryBar } from 'ui/public/query_bar/components';
// new location
import { data } from 'plugins/data';
const { QueryBar } = data.query.ui;Metadata
Metadata
Assignees
Labels
Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//release_note:plugin_api_changesContains a Plugin API changes section for the breaking plugin API changes section.Contains a Plugin API changes section for the breaking plugin API changes section.v7.2.0