-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes from review: kuery param, getPath cleanup, use chrome.docTitle,…
… and teardown breadcrumb and doc title
- Loading branch information
Showing
6 changed files
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,8 +64,13 @@ export class IngestManagerPlugin | |
IngestManagerStartDeps, | ||
IngestManagerStart | ||
]; | ||
const { renderApp } = await import('./applications/ingest_manager'); | ||
return renderApp(coreStart, params, deps, startDeps, config); | ||
const { renderApp, teardownIngestManager } = await import('./applications/ingest_manager'); | ||
const unmount = renderApp(coreStart, params, deps, startDeps, config); | ||
|
||
return () => { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jen-huang
Author
Contributor
|
||
unmount(); | ||
teardownIngestManager(coreStart); | ||
}; | ||
}, | ||
}); | ||
} | ||
|
My initial reaction was that this would go in the stop lifecycle, but after looking at it
kibana/src/core/public/plugins/plugin.ts
Line 123 in 8f99f60
It isn't given any of the core services, or any params, so I am not sure how we would access the chrome apis. Does @elastic/kibana-platform have any suggestions?