Sustainable Kibana Architecture: Move plugins owned by @elastic/appex-sharedux (#204959)

## Summary

Part of https://github.com/elastic/kibana/pull/203163

Relocating only shared-ux-owned plugins for now
This commit is contained in:
Anton Dosov 2025-01-03 12:38:57 +01:00 committed by GitHub
parent 020e17e0ad
commit 9215df9200
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2026 changed files with 854 additions and 807 deletions

View file

@ -84,7 +84,7 @@ export function renderApp(context, { sectionBasePath, element }) {
We can also create a utility in `kibana_react` to make it easy for folks to `mount` a React app:
```ts
// src/plugins/kibana_react/public/mount_with_react.tsx
// src/platform/plugins/shared/kibana_react/public/mount_with_react.tsx
import { KibanaContextProvider } from './context';
export const mountWithReact = (
@ -105,7 +105,7 @@ export const mountWithReact = (
}
// my_plugin/public/plugin.ts
import { mountWithReact } from 'src/plugins/kibana_react/public';
import { mountWithReact } from 'src/platform/plugins/shared/kibana_react/public';
export class MyPlugin {
setup(core, { management }) {

View file

@ -571,7 +571,7 @@ Kibana instance, only one worker should have polling enabled.
#### Reporting
We will probably want to restrict to a single headless per Kibana instance. For that, we will have to change the logic
in [createQueueFactory](https://github.com/elastic/kibana/blob/4584a8b570402aa07832cf3e5b520e5d2cfa7166/x-pack/plugins/reporting/server/lib/create_queue.ts#L60-L64)
in [createQueueFactory](https://github.com/elastic/kibana/blob/4584a8b570402aa07832cf3e5b520e5d2cfa7166/x-pack/platform/plugins/private/reporting/server/lib/create_queue.ts#L60-L64)
to only have the 'main' worker be polling for reporting tasks.
#### Telemetry