diff --git a/x-pack/legacy/plugins/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap b/x-pack/legacy/plugins/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap index 48cf53cf1ac01..3b93213da4033 100644 --- a/x-pack/legacy/plugins/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap +++ b/x-pack/legacy/plugins/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap @@ -9,6 +9,7 @@ exports[`AnnotationsTable Initialization with annotations prop. 1`] = ` Object { "field": "annotation", "name": "Annotation", + "scope": "row", "sortable": true, "width": "50%", }, diff --git a/x-pack/legacy/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js b/x-pack/legacy/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js index 6c4e8925f369f..3329bf1aab64a 100644 --- a/x-pack/legacy/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js +++ b/x-pack/legacy/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js @@ -323,6 +323,7 @@ const AnnotationsTable = injectI18n( }), sortable: true, width: '50%', + scope: 'row', }, { field: 'timestamp', diff --git a/x-pack/legacy/plugins/ml/public/application/components/anomalies_table/anomalies_table_columns.js b/x-pack/legacy/plugins/ml/public/application/components/anomalies_table/anomalies_table_columns.js index 58f1214c11e10..23a40d9ecf295 100644 --- a/x-pack/legacy/plugins/ml/public/application/components/anomalies_table/anomalies_table_columns.js +++ b/x-pack/legacy/plugins/ml/public/application/components/anomalies_table/anomalies_table_columns.js @@ -101,6 +101,7 @@ export function getColumns( defaultMessage: 'time', }), dataType: 'date', + scope: 'row', render: date => renderTime(date, interval), textOnly: true, sortable: true, diff --git a/x-pack/legacy/plugins/ml/public/application/components/ml_in_memory_table/types.ts b/x-pack/legacy/plugins/ml/public/application/components/ml_in_memory_table/types.ts index ee0540f6d5825..b85fb634891e5 100644 --- a/x-pack/legacy/plugins/ml/public/application/components/ml_in_memory_table/types.ts +++ b/x-pack/legacy/plugins/ml/public/application/components/ml_in_memory_table/types.ts @@ -28,6 +28,7 @@ export interface FieldDataColumnType { render?: RenderFunc; footer?: string | ReactElement | FooterFunc; textOnly?: boolean; + scope?: 'col' | 'row' | 'colgroup' | 'rowgroup'; 'data-test-subj'?: string; } diff --git a/x-pack/legacy/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/columns.tsx b/x-pack/legacy/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/columns.tsx index 86f1324cc0377..34f281cec57d3 100644 --- a/x-pack/legacy/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/columns.tsx +++ b/x-pack/legacy/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/columns.tsx @@ -182,6 +182,7 @@ export const getColumns = ( sortable: true, truncateText: true, 'data-test-subj': 'mlAnalyticsTableColumnId', + scope: 'row', }, { field: DataFrameAnalyticsListColumn.description, diff --git a/x-pack/legacy/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js b/x-pack/legacy/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js index 1adb1e311dc68..e70198b36e0df 100644 --- a/x-pack/legacy/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js +++ b/x-pack/legacy/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js @@ -204,6 +204,7 @@ class ForecastsTableUI extends Component { render: date => formatDate(date, TIME_FORMAT), textOnly: true, sortable: true, + scope: 'row', }, { field: 'forecast_start_timestamp', diff --git a/x-pack/legacy/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js b/x-pack/legacy/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js index 7a6a1c22e39c5..b691bc34295c5 100644 --- a/x-pack/legacy/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js +++ b/x-pack/legacy/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js @@ -172,6 +172,7 @@ class JobsListUI extends Component { sortable: true, truncateText: false, width: '20%', + scope: 'row', render: isManagementTable ? id => this.getJobIdLink(id) : undefined, }, { diff --git a/x-pack/legacy/plugins/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap b/x-pack/legacy/plugins/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap index a4ad3777f4be5..7b59fb0ea61da 100644 --- a/x-pack/legacy/plugins/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap +++ b/x-pack/legacy/plugins/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap @@ -11,6 +11,7 @@ exports[`EventsTable Renders events table with no search bar 1`] = ` Object { "field": "description", "name": "Description", + "scope": "row", "sortable": true, "truncateText": true, }, @@ -79,6 +80,7 @@ exports[`EventsTable Renders events table with search bar 1`] = ` Object { "field": "description", "name": "Description", + "scope": "row", "sortable": true, "truncateText": true, }, diff --git a/x-pack/legacy/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.js b/x-pack/legacy/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.js index d5b4207e283ed..125c75d438af9 100644 --- a/x-pack/legacy/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.js +++ b/x-pack/legacy/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.js @@ -63,6 +63,7 @@ export const EventsTable = injectI18n(function EventsTable({ }), sortable: true, truncateText: true, + scope: 'row', }, { field: 'start_time', diff --git a/x-pack/legacy/plugins/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap b/x-pack/legacy/plugins/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap index 8c518f42e0ec7..ff74c592b2b0f 100644 --- a/x-pack/legacy/plugins/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap +++ b/x-pack/legacy/plugins/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap @@ -9,6 +9,7 @@ exports[`CalendarsListTable renders the table with all calendars 1`] = ` "field": "calendar_id", "name": "ID", "render": [Function], + "scope": "row", "sortable": true, "truncateText": true, }, diff --git a/x-pack/legacy/plugins/ml/public/application/settings/calendars/list/table/table.js b/x-pack/legacy/plugins/ml/public/application/settings/calendars/list/table/table.js index 45c214aede851..774cc96517cc6 100644 --- a/x-pack/legacy/plugins/ml/public/application/settings/calendars/list/table/table.js +++ b/x-pack/legacy/plugins/ml/public/application/settings/calendars/list/table/table.js @@ -43,6 +43,7 @@ export const CalendarsListTable = injectI18n(function CalendarsListTable({ }), sortable: true, truncateText: true, + scope: 'row', render: id => {id}, }, { diff --git a/x-pack/legacy/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap b/x-pack/legacy/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap index 0ad66c78b9e2b..8985469a807af 100644 --- a/x-pack/legacy/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap +++ b/x-pack/legacy/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap @@ -10,6 +10,7 @@ exports[`Filter Lists Table renders with filter lists and selection supplied 1`] "field": "filter_id", "name": "ID", "render": [Function], + "scope": "row", "sortable": true, }, Object { @@ -118,6 +119,7 @@ exports[`Filter Lists Table renders with filter lists supplied 1`] = ` "field": "filter_id", "name": "ID", "render": [Function], + "scope": "row", "sortable": true, }, Object { diff --git a/x-pack/legacy/plugins/ml/public/application/settings/filter_lists/list/table.js b/x-pack/legacy/plugins/ml/public/application/settings/filter_lists/list/table.js index 79b71e65c3d1a..0d1ca66de5775 100644 --- a/x-pack/legacy/plugins/ml/public/application/settings/filter_lists/list/table.js +++ b/x-pack/legacy/plugins/ml/public/application/settings/filter_lists/list/table.js @@ -85,6 +85,7 @@ function getColumns() { }), render: id => {id}, sortable: true, + scope: 'row', }, { field: 'description', diff --git a/x-pack/legacy/plugins/transform/public/app/sections/transform_management/components/transform_list/columns.tsx b/x-pack/legacy/plugins/transform/public/app/sections/transform_management/components/transform_list/columns.tsx index e2f92e0acd645..53627d1cf2f6b 100644 --- a/x-pack/legacy/plugins/transform/public/app/sections/transform_management/components/transform_list/columns.tsx +++ b/x-pack/legacy/plugins/transform/public/app/sections/transform_management/components/transform_list/columns.tsx @@ -138,6 +138,7 @@ export const getColumns = ( name: 'ID', sortable: true, truncateText: true, + scope: 'row', }, { field: TRANSFORM_LIST_COLUMN.DESCRIPTION,