Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [ML] Migrate anomaly explorer components from SCSS to Emotion (#…
…212793) (#213352) # Backport This will backport the following commits from `main` to `8.x`: - [[ML] Migrate anomaly explorer components from SCSS to Emotion (#212793)](#212793) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Pete Harverson","email":"pete@elastic.co"},"sourceCommit":{"committedDate":"2025-03-05T17:27:03Z","message":"[ML] Migrate anomaly explorer components from SCSS to Emotion (#212793)\n\n## Summary\n\nPart of: https://github.com/elastic/kibana/issues/140695\nMigrates SCSS to emotion for several of the components used across the\nAnomaly Explorer and Single Metric Viewer.\n\nRemoves the following SCSS files:\n\n```\n- x-pack/platform/plugins/shared/m/public/application/components/annotations/annotation_description_list/_index.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/_index.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/detector_description_list/_detector_description_list.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss\n- x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss\n- x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss\n```\n\nComponents edited:\n- Help popover\n\n<img width=\"759\" alt=\"Screenshot 2025-02-28 at 16 28 27\"\nsrc=\"https://github.com/user-attachments/assets/bc182d45-465b-406c-b122-921576ae8304\"\n/>\n\n- Annotation description list:\n\n<img width=\"952\" alt=\"Screenshot 2025-02-28 at 16 29 16\"\nsrc=\"https://github.com/user-attachments/assets/71cae50c-41be-4299-8362-92567b73188e\"\n/>\n\n\n- Rule editor detector description list:\n\n<img width=\"674\" alt=\"Screenshot 2025-02-28 at 16 30 02\"\nsrc=\"https://github.com/user-attachments/assets/f94a6878-3063-488f-85c5-2e6ee77bf1ad\"\n/>\n\n- Anomalies table entity filters:\n\n<img width=\"506\" alt=\"Screenshot 2025-02-28 at 16 30 53\"\nsrc=\"https://github.com/user-attachments/assets/f074f175-9310-4a70-97b6-09be44af2ad2\"\n/>\n\n- Explorer chart label badge and entity filters:\n\n<img width=\"362\" alt=\"Screenshot 2025-02-28 at 16 31 37\"\nsrc=\"https://github.com/user-attachments/assets/dd46ab81-e115-4e8c-ae00-864c83127c16\"\n/>\n\n---------\n\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"a1c520c49d26c2292d15d148a759d1dc72efc7d1","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore",":ml","release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"[ML] Migrate anomaly explorer components from SCSS to Emotion","number":212793,"url":"https://github.com/elastic/kibana/pull/212793","mergeCommit":{"message":"[ML] Migrate anomaly explorer components from SCSS to Emotion (#212793)\n\n## Summary\n\nPart of: https://github.com/elastic/kibana/issues/140695\nMigrates SCSS to emotion for several of the components used across the\nAnomaly Explorer and Single Metric Viewer.\n\nRemoves the following SCSS files:\n\n```\n- x-pack/platform/plugins/shared/m/public/application/components/annotations/annotation_description_list/_index.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/_index.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/detector_description_list/_detector_description_list.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss\n- x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss\n- x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss\n```\n\nComponents edited:\n- Help popover\n\n<img width=\"759\" alt=\"Screenshot 2025-02-28 at 16 28 27\"\nsrc=\"https://github.com/user-attachments/assets/bc182d45-465b-406c-b122-921576ae8304\"\n/>\n\n- Annotation description list:\n\n<img width=\"952\" alt=\"Screenshot 2025-02-28 at 16 29 16\"\nsrc=\"https://github.com/user-attachments/assets/71cae50c-41be-4299-8362-92567b73188e\"\n/>\n\n\n- Rule editor detector description list:\n\n<img width=\"674\" alt=\"Screenshot 2025-02-28 at 16 30 02\"\nsrc=\"https://github.com/user-attachments/assets/f94a6878-3063-488f-85c5-2e6ee77bf1ad\"\n/>\n\n- Anomalies table entity filters:\n\n<img width=\"506\" alt=\"Screenshot 2025-02-28 at 16 30 53\"\nsrc=\"https://github.com/user-attachments/assets/f074f175-9310-4a70-97b6-09be44af2ad2\"\n/>\n\n- Explorer chart label badge and entity filters:\n\n<img width=\"362\" alt=\"Screenshot 2025-02-28 at 16 31 37\"\nsrc=\"https://github.com/user-attachments/assets/dd46ab81-e115-4e8c-ae00-864c83127c16\"\n/>\n\n---------\n\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"a1c520c49d26c2292d15d148a759d1dc72efc7d1"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212793","number":212793,"mergeCommit":{"message":"[ML] Migrate anomaly explorer components from SCSS to Emotion (#212793)\n\n## Summary\n\nPart of: https://github.com/elastic/kibana/issues/140695\nMigrates SCSS to emotion for several of the components used across the\nAnomaly Explorer and Single Metric Viewer.\n\nRemoves the following SCSS files:\n\n```\n- x-pack/platform/plugins/shared/m/public/application/components/annotations/annotation_description_list/_index.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/_index.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/detector_description_list/_detector_description_list.scss\n- x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss\n- x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss\n- x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss\n```\n\nComponents edited:\n- Help popover\n\n<img width=\"759\" alt=\"Screenshot 2025-02-28 at 16 28 27\"\nsrc=\"https://github.com/user-attachments/assets/bc182d45-465b-406c-b122-921576ae8304\"\n/>\n\n- Annotation description list:\n\n<img width=\"952\" alt=\"Screenshot 2025-02-28 at 16 29 16\"\nsrc=\"https://github.com/user-attachments/assets/71cae50c-41be-4299-8362-92567b73188e\"\n/>\n\n\n- Rule editor detector description list:\n\n<img width=\"674\" alt=\"Screenshot 2025-02-28 at 16 30 02\"\nsrc=\"https://github.com/user-attachments/assets/f94a6878-3063-488f-85c5-2e6ee77bf1ad\"\n/>\n\n- Anomalies table entity filters:\n\n<img width=\"506\" alt=\"Screenshot 2025-02-28 at 16 30 53\"\nsrc=\"https://github.com/user-attachments/assets/f074f175-9310-4a70-97b6-09be44af2ad2\"\n/>\n\n- Explorer chart label badge and entity filters:\n\n<img width=\"362\" alt=\"Screenshot 2025-02-28 at 16 31 37\"\nsrc=\"https://github.com/user-attachments/assets/dd46ab81-e115-4e8c-ae00-864c83127c16\"\n/>\n\n---------\n\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"a1c520c49d26c2292d15d148a759d1dc72efc7d1"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
- Loading branch information