From 950523e1ad936b2c66b372a68466f6785681817d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 10:54:23 +0000 Subject: [PATCH 1/5] Initial plan From be6af921ed9da872a14a0eb66e25d2ef3cd96883 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 10:58:56 +0000 Subject: [PATCH 2/5] Fix ESLint @elastic/eui/icon-accessibility-rules violations in 16 files Add aria-hidden={true} to decorative EuiIcon components that appear next to text labels or inside cards with titles, making them purely decorative for screen readers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com> --- .../src/progress_controls/progress_controls.tsx | 2 +- .../new/file_status/analysis_explanation.tsx | 2 +- .../new/file_status/file_clash.tsx | 4 ++-- .../new/results_links/results_links.tsx | 12 ++++++------ .../multi_select_picker/multi_select_picker.tsx | 2 +- .../not_in_docs_content/not_in_docs_context.tsx | 2 +- .../not_in_docs_content/not_supported_content.tsx | 2 +- .../components/results_links/results_links.tsx | 12 ++++++------ .../components/field_data_row/distinct_values.tsx | 2 +- .../components/field_data_row/document_stats.tsx | 2 +- .../stats_table/data_visualizer_stats_table.tsx | 2 +- .../components/results_links/results_links.tsx | 12 ++++++------ .../embeddable_field_stats_no_results.tsx | 2 +- .../change_point_type_filter.tsx | 2 +- .../category_table/category_table.tsx | 2 +- .../table_action_button.tsx | 2 +- 16 files changed, 32 insertions(+), 32 deletions(-) diff --git a/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx index 820d5b4675580..4f8a8f42f0ae2 100644 --- a/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx +++ b/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx @@ -139,7 +139,7 @@ export const ProgressControls: FC> = (pr {progress === 1 ? ( - + diff --git a/x-pack/platform/packages/shared/file-upload/src/file_upload_component/new/file_status/analysis_explanation.tsx b/x-pack/platform/packages/shared/file-upload/src/file_upload_component/new/file_status/analysis_explanation.tsx index e8ebc600a10bc..9dcd77b050d20 100644 --- a/x-pack/platform/packages/shared/file-upload/src/file_upload_component/new/file_status/analysis_explanation.tsx +++ b/x-pack/platform/packages/shared/file-upload/src/file_upload_component/new/file_status/analysis_explanation.tsx @@ -60,7 +60,7 @@ export const AnalysisExplanation: FC = ({ fileStatus, index }) => { > - {' '} + {' '} = ({ fileClash }) => { return ( - + ); @@ -139,7 +139,7 @@ export const FileClashIcon: FC = ({ fileClash }) => { return ( - + ); diff --git a/x-pack/platform/packages/shared/file-upload/src/file_upload_component/new/results_links/results_links.tsx b/x-pack/platform/packages/shared/file-upload/src/file_upload_component/new/results_links/results_links.tsx index 870e7a4b7bb25..0c335e4ff3411 100644 --- a/x-pack/platform/packages/shared/file-upload/src/file_upload_component/new/results_links/results_links.tsx +++ b/x-pack/platform/packages/shared/file-upload/src/file_upload_component/new/results_links/results_links.tsx @@ -181,7 +181,7 @@ export const ResultsLinks: FC = ({ } + icon={} title={ = ({ } + icon={} title={ = ({ } + icon={} title={ = ({ } + icon={} data-test-subj="fileDataVisFilebeatConfigLink" title={ = ({ } + icon={} title={ = ({ } + icon={} data-test-subj="fileDataVisLink" title={link.title} description={link.description} diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx index 52665723f84dd..cc5dd1b2b65eb 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx @@ -35,7 +35,7 @@ const SELECT_PICKER_HEIGHT = '250px'; const NoFilterItems = () => { return ( - +

( - + ( - + = ({ } + icon={} title={ = ({ } + icon={} title={ = ({ } + icon={} title={ = ({ } + icon={} data-test-subj="fileDataVisFilebeatConfigLink" title={ = ({ } + icon={} data-test-subj="fileDataVisFilebeatConfigLink" title={ = ({ } + icon={} data-test-subj="fileDataVisLink" title={link.title} description={link.description} diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx index 14ae97e767393..dfe6d08af8f53 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx @@ -59,7 +59,7 @@ export const DistinctValues = ({ showIcon, config }: Props) => { className={'columnHeader__icon'} /> ) : ( - + ) ) : null; diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx index 210e0eb15e071..5a391d95cf092 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx @@ -79,7 +79,7 @@ export const DocumentStat = ({ config, showIcon, totalCount }: Props) => { size="m" /> ) : ( - + ) ) : null; diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx index 5595ff03d4477..bb3c40300155b 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx @@ -289,7 +289,7 @@ const UnmemoizedDataVisualizerTable = ({ name: (

{dimensions.showIcon ? ( - + ) : null} {i18n.translate('xpack.dataVisualizer.dataGrid.distributionsColumnName', { defaultMessage: 'Distributions', diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/results_links/results_links.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/results_links/results_links.tsx index a1ede4b0b562a..ae54944f1825c 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/results_links/results_links.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/results_links/results_links.tsx @@ -203,7 +203,7 @@ export const ResultsLinks: FC = ({ } + icon={} title={ = ({ } + icon={} title={ = ({ } + icon={} title={ = ({ } + icon={} data-test-subj="fileDataVisFilebeatConfigLink" title={ = ({ } + icon={} data-test-subj="fileDataVisFilebeatConfigLink" title={ = ({ } + icon={} data-test-subj="fileDataVisLink" title={link.title} description={link.description} diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx index 8424b8ec5d8a0..4efc2f9607b34 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx @@ -20,7 +20,7 @@ export const EmbeddableNoResultsEmptyPrompt = () => ( })} > - + = ({ value, o - + {label} diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx index 0f343b4f5b37e..877b8805005e2 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx @@ -152,7 +152,7 @@ export const CategoryTable: FC = ({ {i18n.translate('xpack.aiops.logCategorization.column.tokens', { defaultMessage: 'Tokens', })} - + ), diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx index 16c91f8d3851f..2c30d389887f0 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx @@ -28,7 +28,7 @@ export const TableActionButton: FC = ({ }) => { const buttonContent = ( <> - + {label} ); From 52b91187ee3995f7008404cb337ca443ffdb2ecb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 11:04:57 +0000 Subject: [PATCH 3/5] Fix ESLint @elastic/eui/icon-accessibility-rules violations Add aria-hidden={true} to decorative EuiIcon components that appear next to text or serve as visual markers. Add aria-label to the standalone EuiIcon in job_message_icon.tsx that conveys status meaning without accompanying text. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com> --- .../log_rate_analysis_results_table/use_columns.tsx | 1 + .../components/anomalies_table/anomaly_details.tsx | 2 +- .../components/anomalies_table/description_cell.js | 2 +- .../components/data_recognizer/recognized_result.js | 2 +- .../components/job_message_icon/job_message_icon.tsx | 12 +++++++++++- .../job_selector_button.tsx | 2 +- .../multi_select_picker/multi_select_picker.tsx | 2 +- .../back_to_list_panel/back_to_list_panel.tsx | 2 +- .../components/configuration_step/job_type.tsx | 2 +- .../validation_step/validation_step_details.tsx | 4 ++-- .../view_results_panel/view_results_panel.tsx | 2 +- .../feature_importance/decision_path_chart.tsx | 2 +- .../severity_legend_control.tsx | 1 + .../datafeed_chart_flyout/datafeed_chart_flyout.tsx | 6 +++--- .../group_selector/group_list/group_list.js | 2 +- .../charts/event_rate_chart/overlay_range.tsx | 2 +- 16 files changed, 29 insertions(+), 17 deletions(-) diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx index 666d637b36d80..0290cb0d7877b 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx @@ -462,6 +462,7 @@ export const useColumns = ( return ( <> {isInterimResult === true && ( <> - + {iconType !== undefined && ( - + )} diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/recognized_result.js b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/recognized_result.js index c8c3af361258c..dc0dae8f12040 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/recognized_result.js +++ b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/recognized_result.js @@ -31,7 +31,7 @@ export const RecognizedResult = ({ config, indexPattern, savedSearch }) => { // if a logo is available, use that, otherwise display the id // the logo should be a base64 encoded image or an eui icon if (config.logo && config.logo.icon) { - logo = ; + logo = ; } else if (config.logo && config.logo.src) { logo = ; } else { diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/job_message_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/job_message_icon.tsx index 9fbceb6c4a7da..f3b4bc7de4d3b 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/job_message_icon.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/job_message_icon.tsx @@ -9,6 +9,7 @@ import type { FC } from 'react'; import React from 'react'; import { EuiIcon, EuiIconTip } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; import type { AuditMessageBase } from '@kbn/ml-common-types/audit_message'; interface Props { @@ -37,6 +38,15 @@ export const JobIcon: FC = ({ message, showTooltip = false }) => { if (showTooltip) { return ; } else { - return ; + return ( + + ); } }; diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/group_or_job_selector_menu/job_selector_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/group_or_job_selector_menu/job_selector_button.tsx index 8eb3feaaeaadc..d40a41ab85e67 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/group_or_job_selector_menu/job_selector_button.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/group_or_job_selector_menu/job_selector_button.tsx @@ -110,7 +110,7 @@ export const AnomalyDetectionInfoButton: FC = ({ - + diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/multi_select_picker.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/multi_select_picker.tsx index a0b93953270b9..309c913d6ebbe 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/multi_select_picker.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/multi_select_picker.tsx @@ -29,7 +29,7 @@ export interface Option { const NoFilterItems = () => { return ( - +

{ } + icon={} title={i18n.translate('xpack.ml.dataframe.analytics.create.analyticsListCardTitle', { defaultMessage: 'Data Frame Analytics', })} diff --git a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx index 90d1423434938..f4acd4f49078d 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx @@ -69,7 +69,7 @@ export const JobType: FC = ({ type, setFormState }) => { {(Object.keys(jobDetails) as Array).map((jobType) => ( } + icon={} title={jobDetails[jobType].title} description={jobDetails[jobType].helpText} data-test-subj={`mlAnalyticsCreation-${jobType}-option${ diff --git a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx index 11a087f8049f5..65c657d02a4ff 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx @@ -42,7 +42,7 @@ export const ValidationStepDetails: FC<{ {validationSummary.success} - + @@ -61,7 +61,7 @@ export const ValidationStepDetails: FC<{ {validationSummary.warning} - + diff --git a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx index 40eaa92e86bf8..dd937287e75b0 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx @@ -34,7 +34,7 @@ export const ViewResultsPanel: FC = ({ jobId, analysisType }) => { } + icon={} title={i18n.translate('xpack.ml.dataframe.analytics.create.viewResultsCardTitle', { defaultMessage: 'View Results', })} diff --git a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx index 97b49ffb798c6..28e79c0cbf71f 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx @@ -44,7 +44,7 @@ interface DecisionPathChartProps { const DECISION_PATH_MARGIN = 125; const DECISION_PATH_ROW_HEIGHT = 10; -const AnnotationBaselineMarker = ; +const AnnotationBaselineMarker = ; export const DecisionPathChart = ({ decisionPathData, diff --git a/x-pack/platform/plugins/shared/ml/public/application/explorer/components/severity_legend_control/severity_legend_control.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/severity_legend_control/severity_legend_control.tsx index ec582f2e914b6..8cb58b869a2f9 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/explorer/components/severity_legend_control/severity_legend_control.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/severity_legend_control/severity_legend_control.tsx @@ -86,6 +86,7 @@ export const SeverityLegendControl: FC = ({ = ({ key="annotation-results-line" domainType={AnnotationDomainType.XDomain} dataValues={annotationData.line} - marker={} + marker={} markerPosition={Position.Top} style={{ line: { @@ -529,7 +529,7 @@ export const DatafeedChartFlyout: FC = ({ key="model-snapshots-results-line" domainType={AnnotationDomainType.XDomain} dataValues={modelSnapshotDataForTimeRange} - marker={} + marker={} markerPosition={Position.Top} style={{ line: { @@ -552,7 +552,7 @@ export const DatafeedChartFlyout: FC = ({ key="messages-results-line" domainType={AnnotationDomainType.XDomain} dataValues={messageData} - marker={} + marker={} markerPosition={Position.Top} style={{ line: { diff --git a/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js index ef71f3e578ba1..0d4c1da182175 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js +++ b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js @@ -23,7 +23,7 @@ function Check({ group, selectedGroups }) { } else { return (

- +
); } diff --git a/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx index 9d01a403cc0b0..67dd87f9a73ae 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx @@ -53,7 +53,7 @@ export const OverlayRange: FC = ({ overlayKey, start, end, color, showMar }} markerPosition={Position.Bottom} hideTooltips - marker={showMarker ? : undefined} + marker={showMarker ? : undefined} markerBody={ showMarker ? (
From 8771fca70c5c6ce482f99dc3117e3c7cc9a9dab6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 11:13:11 +0000 Subject: [PATCH 4/5] Fix ESLint @elastic/eui/icon-accessibility-rules violations in ML plugin (batch 3) Add aria-hidden={true} to decorative EuiIcon components that appear next to text in the ML plugin files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com> --- .../memory_usage/nodes_overview/allocated_models.tsx | 6 +++--- .../application/model_management/add_model_flyout.tsx | 2 +- .../test_models/models/ner/ner_output.tsx | 2 ++ .../models/text_expansion/text_expansion_output.tsx | 4 ++-- .../ml/public/application/overview/overview_ml_page.tsx | 8 ++++---- .../supplied_configurations/supplied_configurations.tsx | 2 +- .../supplied_configurations_flyout/flyout.tsx | 2 +- .../components/forecasting_modal/progress_icon.js | 4 ++-- .../embeddables/job_creation/common/job_details.tsx | 2 +- .../layer/compatible_layer.tsx | 2 +- .../layer/incompatible_layer.tsx | 2 +- .../lens/lens_vis_layer_selection_flyout/layer/layer.tsx | 2 +- .../layer/compatible_layer.tsx | 2 +- .../layer/incompatible_layer.tsx | 2 +- .../map/map_vis_layer_selection_flyout/layer/layer.tsx | 2 +- 15 files changed, 23 insertions(+), 21 deletions(-) diff --git a/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx index 604671198c2a6..bc81b2ed51762 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx @@ -131,7 +131,7 @@ export const AllocatedModels: FC = ({ {i18n.translate('xpack.ml.trainedModels.nodesList.modelsList.allocationHeader', { defaultMessage: 'Allocation', })} - + ), @@ -189,7 +189,7 @@ export const AllocatedModels: FC = ({ defaultMessage: 'Throughput', } )} - + ), @@ -225,7 +225,7 @@ export const AllocatedModels: FC = ({ - + diff --git a/x-pack/platform/plugins/shared/ml/public/application/model_management/add_model_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/add_model_flyout.tsx index 5f7b90ea2fdae..e96ce9463cc12 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/model_management/add_model_flyout.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/model_management/add_model_flyout.tsx @@ -166,7 +166,7 @@ const ClickToDownloadTabContent: FC = ({
- + diff --git a/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_output.tsx index 9518aacbc8861..95128782cddba 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_output.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_output.tsx @@ -113,6 +113,7 @@ const Lines: FC<{ result: NerResponse }> = ({ result }) => {
{statInfo.icon !== null ? ( - + ) : null} {statInfo.text} @@ -122,7 +122,7 @@ export const DocumentResultWithTokens: FC<{ {statInfo.icon !== null ? ( - + ) : null} {statInfo.text} diff --git a/x-pack/platform/plugins/shared/ml/public/application/overview/overview_ml_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/overview_ml_page.tsx index f6c5ecf19b006..ff2310487afdd 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/overview/overview_ml_page.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/overview/overview_ml_page.tsx @@ -104,7 +104,7 @@ export const MLOverviewCard = ({ data-test-subj={buttonDataTestSubj} aria-label={buttonLabel} > - {iconType ? : null} + {iconType ? : null} {buttonLabel} @@ -229,7 +229,7 @@ export const OverviewPage: FC = () => { onClick={() => navigateToPath('/aiops/log_categorization_index_select')} data-test-subj="mlOverviewCardLogPatternAnalysisButton" > - + { onClick={() => navigateToPath('/aiops/log_rate_analysis_index_select')} data-test-subj="mlOverviewCardLogRateAnalysisButton" > - + { } )} > - + { : null} + icon={isLogoObject(logo) ? : null} title={title} description={description} onClick={() => { diff --git a/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx index 20f95e74fc35a..3904a5e61c54f 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx @@ -129,7 +129,7 @@ export const SuppliedConfigurationsFlyout: FC = ({ module, onClose }) => - {isLogoObject(module.logo) ? : null} + {isLogoObject(module.logo) ? : null} diff --git a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js index 5c9805d9d9501..72f7755f8c650 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js +++ b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js @@ -21,9 +21,9 @@ export function ProgressIcon({ state }) { if (state === PROGRESS_STATES.WAITING) { return ; } else if (state === PROGRESS_STATES.DONE) { - return ; + return ; } else if (state === PROGRESS_STATES.ERROR) { - return ; + return ; } } diff --git a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/job_details.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/job_details.tsx index e8e6a586d18db..c97835282a105 100644 --- a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/job_details.tsx +++ b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/job_details.tsx @@ -360,7 +360,7 @@ export const JobDetails: FC> = ({ > - + diff --git a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx index 8a585794e6917..46ac32d58364f 100644 --- a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx +++ b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx @@ -79,7 +79,7 @@ export const CompatibleLayer: FC = ({ layer, layerIndex, embeddable }) => - + diff --git a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx index 452a38d6d37d2..a818d132a23c9 100644 --- a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx +++ b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx @@ -24,7 +24,7 @@ export const IncompatibleLayer: FC = ({ layer }) => { - + diff --git a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx index 03f862e7bf672..9d19f661257d8 100644 --- a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx +++ b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx @@ -35,7 +35,7 @@ export const Layer: FC = ({ layer, layerIndex, embeddable }) => { {layer.icon && ( - + )} diff --git a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx index b19a7565f0051..4379d8679a5d8 100644 --- a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx +++ b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx @@ -149,7 +149,7 @@ export const CompatibleLayer: FC = ({ embeddable, layer, layerIndex }) => - + diff --git a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx index 4a65c343a0342..98ab2b397e7be 100644 --- a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx +++ b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx @@ -19,7 +19,7 @@ export const IncompatibleLayer: FC = ({ noDataView }) => { - + diff --git a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx index 3d31438246769..aae8ec9566789 100644 --- a/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx +++ b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx @@ -33,7 +33,7 @@ export const Layer: FC = ({ layer, layerIndex, embeddable }) => ( - + From a7bb9e09eb36b0a94150e67e907e07573390ce36 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 5 May 2026 11:41:02 +0000 Subject: [PATCH 5/5] Changes from node scripts/eslint_all_files --no-cache --fix --- .../data_visualizer_stats_table.tsx | 6 ++++- .../category_table/category_table.tsx | 8 ++++++- .../nodes_overview/allocated_models.tsx | 24 ++++++++++++++++--- .../supplied_configurations.tsx | 6 ++++- .../supplied_configurations_flyout/flyout.tsx | 4 +++- 5 files changed, 41 insertions(+), 7 deletions(-) diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx index bb3c40300155b..9def649551f8f 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx @@ -289,7 +289,11 @@ const UnmemoizedDataVisualizerTable = ({ name: (
{dimensions.showIcon ? ( - + ) : null} {i18n.translate('xpack.dataVisualizer.dataGrid.distributionsColumnName', { defaultMessage: 'Distributions', diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx index 877b8805005e2..52125fc9e41d1 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx @@ -152,7 +152,13 @@ export const CategoryTable: FC = ({ {i18n.translate('xpack.aiops.logCategorization.column.tokens', { defaultMessage: 'Tokens', })} - + ), diff --git a/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx index bc81b2ed51762..9f0d7526d7e96 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx @@ -131,7 +131,13 @@ export const AllocatedModels: FC = ({ {i18n.translate('xpack.ml.trainedModels.nodesList.modelsList.allocationHeader', { defaultMessage: 'Allocation', })} - + ), @@ -189,7 +195,13 @@ export const AllocatedModels: FC = ({ defaultMessage: 'Throughput', } )} - + ), @@ -225,7 +237,13 @@ export const AllocatedModels: FC = ({ - + diff --git a/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations.tsx index 08298821e511c..3d04d7080857f 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations.tsx @@ -172,7 +172,11 @@ export const SuppliedConfigurations = () => { : null} + icon={ + isLogoObject(logo) ? ( + + ) : null + } title={title} description={description} onClick={() => { diff --git a/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx index 3904a5e61c54f..e77bed3be2e8d 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx @@ -129,7 +129,9 @@ export const SuppliedConfigurationsFlyout: FC = ({ module, onClose }) => - {isLogoObject(module.logo) ? : null} + {isLogoObject(module.logo) ? ( + + ) : null}