[8.x] Sustainable Kibana Architecture: Move plugins owned by @elastic/appex-sharedux (#204959) (#205508)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move plugins owned by
`@elastic/appex-sharedux`
(#204959)](https://github.com/elastic/kibana/pull/204959)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2025-01-03T11:38:57Z","message":"Sustainable
Kibana Architecture: Move plugins owned by `@elastic/appex-sharedux`
(#204959)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana/pull/203163\r\n\r\nRelocating only
shared-ux-owned plugins for
now","sha":"9215df9200edac72f2225760043ac45c9e82cdf0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor","plugin
groups"],"number":204959,"url":"https://github.com/elastic/kibana/pull/204959","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move plugins owned by `@elastic/appex-sharedux`
(#204959)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana/pull/203163\r\n\r\nRelocating only
shared-ux-owned plugins for
now","sha":"9215df9200edac72f2225760043ac45c9e82cdf0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204959","number":204959,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move plugins owned by `@elastic/appex-sharedux`
(#204959)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana/pull/203163\r\n\r\nRelocating only
shared-ux-owned plugins for
now","sha":"9215df9200edac72f2225760043ac45c9e82cdf0"}}]}] BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
This commit is contained in:
Anton Dosov 2025-01-05 20:48:48 +01:00 committed by GitHub
parent 861c2de3e5
commit d58b812ece
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2032 changed files with 900 additions and 827 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