Skip to content

Commit

Permalink
[ML] Converts index and saved search selection to React (#47117)
Browse files Browse the repository at this point in the history
* [ML] index and saved search selection

* [ML] fix i18m, PR remarks

* [ML] directive test

* [ML] fix job selection functional test
  • Loading branch information
darnautov authored Oct 3, 2019
1 parent e322acc commit 9f3f14a
Show file tree
Hide file tree
Showing 22 changed files with 225 additions and 605 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ import {
loadCurrentIndexPattern,
loadCurrentSavedSearch,
loadIndexPatterns,
// @ts-ignore
} from '../../../util/index_utils';
import indexOrSearchTemplate from '../../../jobs/new_job/wizard/steps/index_or_search/index_or_search.html';

import {
getDataFrameCreateBreadcrumbs,
Expand All @@ -40,7 +38,7 @@ uiRoutes.when('/data_frames/new_transform', {
});

uiRoutes.when('/data_frames/new_transform/step/index_or_search', {
template: indexOrSearchTemplate,
template: '<ml-index-or-search />',
k7Breadcrumbs: getDataFrameIndexOrSearchBreadcrumbs,
resolve: {
CheckLicense: checkBasicLicense,
Expand Down
1 change: 0 additions & 1 deletion x-pack/legacy/plugins/ml/public/jobs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ import './new_job/simple/single_metric';
import './new_job/simple/multi_metric';
import './new_job/simple/population';
import './new_job/simple/recognize';
import './new_job/wizard';
import 'plugins/ml/components/validate_job';
import './new_job_new';
1 change: 0 additions & 1 deletion x-pack/legacy/plugins/ml/public/jobs/new_job/_index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
@import 'advanced/index';
@import 'simple/index';
@import 'wizard/index';

This file was deleted.

38 changes: 0 additions & 38 deletions x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/_wizard.scss

This file was deleted.

12 changes: 0 additions & 12 deletions x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/index.js

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9f3f14a

Please sign in to comment.