Skip to content

Commit 2ccd213

Browse files
committed
[ML] Converts index and saved search selection to React (#47117)
* [ML] index and saved search selection * [ML] fix i18m, PR remarks * [ML] directive test * [ML] fix job selection functional test
1 parent ace757c commit 2ccd213

22 files changed

Lines changed: 225 additions & 605 deletions

File tree

x-pack/legacy/plugins/ml/public/data_frame/pages/data_frame_new_pivot/route.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ import {
1313
loadCurrentIndexPattern,
1414
loadCurrentSavedSearch,
1515
loadIndexPatterns,
16-
// @ts-ignore
1716
} from '../../../util/index_utils';
18-
import indexOrSearchTemplate from '../../../jobs/new_job/wizard/steps/index_or_search/index_or_search.html';
1917

2018
import {
2119
getDataFrameCreateBreadcrumbs,
@@ -40,7 +38,7 @@ uiRoutes.when('/data_frames/new_transform', {
4038
});
4139

4240
uiRoutes.when('/data_frames/new_transform/step/index_or_search', {
43-
template: indexOrSearchTemplate,
41+
template: '<ml-index-or-search />',
4442
k7Breadcrumbs: getDataFrameIndexOrSearchBreadcrumbs,
4543
resolve: {
4644
CheckLicense: checkBasicLicense,

x-pack/legacy/plugins/ml/public/jobs/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ import './new_job/simple/single_metric';
1212
import './new_job/simple/multi_metric';
1313
import './new_job/simple/population';
1414
import './new_job/simple/recognize';
15-
import './new_job/wizard';
1615
import 'plugins/ml/components/validate_job';
1716
import './new_job_new';
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
@import 'advanced/index';
22
@import 'simple/index';
3-
@import 'wizard/index';

x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/_index.scss

Lines changed: 0 additions & 1 deletion
This file was deleted.

x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/_wizard.scss

Lines changed: 0 additions & 38 deletions
This file was deleted.

x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/index.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/__tests__/index_or_search_controller.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search.html

Lines changed: 0 additions & 38 deletions
This file was deleted.

x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search_controller.js

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)