kibana/x-pack/packages/ml
Kibana Machine 109b4b6926
[8.10] [ML] Fixes dark mode in flyouts and modals (#164399) (#164559)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[ML] Fixes dark mode in flyouts and modals
(#164399)](https://github.com/elastic/kibana/pull/164399)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2023-08-23T10:47:18Z","message":"[ML]
Fixes dark mode in flyouts and modals (#164399)\n\nA recent EUI change
has caused a problem with the theme when using the\r\ndeprecated
`toMountPoint` inside `overlays.openFlyout` to
create\r\nflyouts.\r\nThis causes the contents of the rendered flyout to
not know the current\r\ntheme, this is obvious when running in dark
mode.\r\n\r\nThe fix is to switch to the non-deprecated version of
`toMountPoint`.\r\n\r\nFlyouts:\r\nCreate anomaly detection job from
Lens flyout in Dashboard.\r\nAnomaly swim lane and anomaly chart job
embeddables job selection flyout\r\nin Dashboard.\r\nLog pattern
analysis flyout in Discover.\r\n\r\nModals:\r\nTrained models start
deployment modal.\r\nTrained models force stop deployment
modal.\r\nTrained models stop deployment modal when there are
multiple\r\ndeployments.\r\n\r\nMisc:\r\nPage not found banner.\r\nJobs
list header, which contains the settings button.\r\nDFA clone job
warning toast when the original data view no
longer\r\nexists.\r\nComponents in ml's date picker package\r\n\r\nFixes
https://github.com/elastic/kibana/issues/164379\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Dima Arnautov
<arnautov.dima@gmail.com>","sha":"af440aae4b55e3090dc6a7983105fd98e16402ab","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["non-issue",":ml","release_note:skip","Feature:ML/AIOps","v8.10.0","v8.11.0"],"number":164399,"url":"https://github.com/elastic/kibana/pull/164399","mergeCommit":{"message":"[ML]
Fixes dark mode in flyouts and modals (#164399)\n\nA recent EUI change
has caused a problem with the theme when using the\r\ndeprecated
`toMountPoint` inside `overlays.openFlyout` to
create\r\nflyouts.\r\nThis causes the contents of the rendered flyout to
not know the current\r\ntheme, this is obvious when running in dark
mode.\r\n\r\nThe fix is to switch to the non-deprecated version of
`toMountPoint`.\r\n\r\nFlyouts:\r\nCreate anomaly detection job from
Lens flyout in Dashboard.\r\nAnomaly swim lane and anomaly chart job
embeddables job selection flyout\r\nin Dashboard.\r\nLog pattern
analysis flyout in Discover.\r\n\r\nModals:\r\nTrained models start
deployment modal.\r\nTrained models force stop deployment
modal.\r\nTrained models stop deployment modal when there are
multiple\r\ndeployments.\r\n\r\nMisc:\r\nPage not found banner.\r\nJobs
list header, which contains the settings button.\r\nDFA clone job
warning toast when the original data view no
longer\r\nexists.\r\nComponents in ml's date picker package\r\n\r\nFixes
https://github.com/elastic/kibana/issues/164379\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Dima Arnautov
<arnautov.dima@gmail.com>","sha":"af440aae4b55e3090dc6a7983105fd98e16402ab"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164399","number":164399,"mergeCommit":{"message":"[ML]
Fixes dark mode in flyouts and modals (#164399)\n\nA recent EUI change
has caused a problem with the theme when using the\r\ndeprecated
`toMountPoint` inside `overlays.openFlyout` to
create\r\nflyouts.\r\nThis causes the contents of the rendered flyout to
not know the current\r\ntheme, this is obvious when running in dark
mode.\r\n\r\nThe fix is to switch to the non-deprecated version of
`toMountPoint`.\r\n\r\nFlyouts:\r\nCreate anomaly detection job from
Lens flyout in Dashboard.\r\nAnomaly swim lane and anomaly chart job
embeddables job selection flyout\r\nin Dashboard.\r\nLog pattern
analysis flyout in Discover.\r\n\r\nModals:\r\nTrained models start
deployment modal.\r\nTrained models force stop deployment
modal.\r\nTrained models stop deployment modal when there are
multiple\r\ndeployments.\r\n\r\nMisc:\r\nPage not found banner.\r\nJobs
list header, which contains the settings button.\r\nDFA clone job
warning toast when the original data view no
longer\r\nexists.\r\nComponents in ml's date picker package\r\n\r\nFixes
https://github.com/elastic/kibana/issues/164379\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Dima Arnautov
<arnautov.dima@gmail.com>","sha":"af440aae4b55e3090dc6a7983105fd98e16402ab"}}]}]
BACKPORT-->

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2023-08-23 05:00:27 -07:00
..
agg_utils [ML] AIOps: Add/edit change point charts embeddable from the Dashboard app (#163694) 2023-08-15 19:10:07 +02:00
aiops_components [ML] AIOps: Auto-detect if spike or dip selected in log rate analysis. (#163100) 2023-08-09 08:05:07 +02:00
aiops_utils [ML] AIOps: Auto-detect if spike or dip selected in log rate analysis. (#163100) 2023-08-09 08:05:07 +02:00
anomaly_utils [ML] Data Frame Analytics: Allow interval time range selection in custom URLs (#159874) 2023-06-21 09:55:01 -06:00
category_validator [ML] Log pattern analysis field validation (#162319) 2023-07-28 16:44:23 +01:00
data_frame_analytics_utils [ML] Add map view for models in Trained Models and expand support for models in Analytics map (#162443) 2023-07-31 11:01:09 -07:00
data_grid [ML] Package @kbn/ml-data-grid (#155530) 2023-06-06 11:20:37 +02:00
date_picker [8.10] [ML] Fixes dark mode in flyouts and modals (#164399) (#164559) 2023-08-23 05:00:27 -07:00
date_utils [ML] Package @kbn/ml-data-grid (#155530) 2023-06-06 11:20:37 +02:00
error_utils [ML] Reverting use of isPopulatedObject in error utils (#159913) 2023-06-19 13:52:11 +01:00
in_memory_table [ML] Add new Data comparison view (#161365) 2023-07-31 08:24:01 -07:00
is_defined [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
is_populated_object [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
kibana_theme [ML] Apply theme based on the User Profile settings (#158258) 2023-05-25 11:57:48 +02:00
local_storage [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
nested_property [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
number_utils [ML] Creating number utils package for roundToDecimalPlace function (#154910) 2023-04-13 10:53:37 -07:00
query_utils [ML] Add new Data comparison view (#161365) 2023-07-31 08:24:01 -07:00
random_sampler_utils [ML] Add new Data comparison view (#161365) 2023-07-31 08:24:01 -07:00
response_stream [ML] @kbn/ml-response-stream: Fix race condition related to throttling. (#162803) 2023-07-31 17:39:25 +02:00
route_utils [ML] AIOps: Adds execution context to client side data.search requests (#154891) 2023-04-19 15:51:31 +02:00
runtime_field_utils [ML] Package @kbn/ml-data-grid (#155530) 2023-06-06 11:20:37 +02:00
string_hash [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
trained_models_utils [ML] Hide inference stats for PyTorch models (#160599) 2023-06-28 05:55:28 -07:00
url_state [ML] AIOps: Fix race condition where stale url state would reset search bar. (#154885) 2023-04-18 15:17:49 +02:00