You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `ui/share` | `share` | `showShareContextMenu` is now called `toggleShareContextMenu`, `ShareContextMenuExtensionsRegistryProvider` is now called `register` |
@@ -1182,7 +1182,7 @@ This table shows where these uiExports have moved to in the New Platform. In mos
1182
1182
|`fieldFormatEditors`|||
1183
1183
|`fieldFormats`|||
1184
1184
|`hacks`| n/a | Just run the code in your plugin's `start` method. |
1185
-
| `home` | [`plugins.feature_catalogue.register`](./src/plugins/feature_catalogue) | Must add `feature_catalogue` as a dependency in your kibana.json. |
1185
+
| `home` | [`plugins.home.featureCatalogue.register`](./src/plugins/home/public/feature_catalogue) | Must add `home` as a dependency in your kibana.json. |
1186
1186
| `indexManagement` | | Should be an API on the indexManagement plugin. |
1187
1187
| `injectDefaultVars` | n/a | Plugins will only be able to "whitelist" config values for the frontend. See [#41990](https://github.com/elastic/kibana/issues/41990) |
1188
1188
| `inspectorViews` | | Should be an API on the data (?) plugin. |
Copy file name to clipboardExpand all lines: src/plugins/home/README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,7 @@
1
-
# Feature catalogue plugin
1
+
# home plugin
2
+
Moves the legacy `ui/registry/feature_catalogue` module for registering "features" that should be shown in the home page's feature catalogue to a service within a "home" plugin. The feature catalogue refered to here should not be confused with the "feature" plugin for registering features used to derive UI capabilities for feature controls.
3
+
4
+
# Feature catalogue (public service)
2
5
3
6
Replaces the legacy `ui/registry/feature_catalogue` module for registering "features" that should be showed in the home
4
7
page's feature catalogue. This should not be confused with the "feature" plugin for registering features used to derive
@@ -9,15 +12,15 @@ UI capabilities for feature controls.
9
12
```ts
10
13
// For legacy plugins
11
14
import { npSetup } from'ui/new_platform';
12
-
npSetup.plugins.feature_catalogue.register(/* same details here */);
15
+
npSetup.plugins.home.featureCatalogue.register(/* same details here */);
13
16
14
-
// For new plugins: first add 'feature_catalogue` to the list of `optionalPlugins`
17
+
// For new plugins: first add 'home` to the list of `optionalPlugins`
15
18
// in your kibana.json file. Then access the plugin directly in `setup`:
16
19
17
20
classMyPlugin {
18
21
setup(core, plugins) {
19
-
if (plugins.feature_catalogue) {
20
-
plugins.feature_catalogue.register(/* same details here. */);
22
+
if (plugins.home) {
23
+
plugins.home.featureCatalgoue.register(/* same details here. */);
0 commit comments