Skip to content

Commit

Permalink
[ML] Data Visualizer, Explorer, Transform wizard: Ensure query bar sy…
Browse files Browse the repository at this point in the history
…ntax errors are shown (#61333)

* remove deprecated kqlFilterBar dir

* remove unused explorer code

* show syntax error message below query input

* remove unused translations

* syntax error message for datavisualizer

* add syntax error handling to transform wizard

* fix translation label
  • Loading branch information
alvarezmelissa87 committed Mar 26, 2020
1 parent 15d1364 commit 0c7cab1
Show file tree
Hide file tree
Showing 35 changed files with 217 additions and 1,428 deletions.
5 changes: 5 additions & 0 deletions x-pack/plugins/ml/common/constants/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ export enum SEARCH_QUERY_LANGUAGE {
KUERY = 'kuery',
LUCENE = 'lucene',
}

export interface ErrorMessage {
query: string;
message: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { checkPermission } from '../../privilege/check_privilege';
import { SEARCH_QUERY_LANGUAGE } from '../../../../common/constants/search';
import { isRuleSupported } from '../../../../common/util/anomaly_utils';
import { parseInterval } from '../../../../common/util/parse_interval';
import { escapeDoubleQuotes } from '../kql_filter_bar/utils';
import { escapeDoubleQuotes } from '../../explorer/explorer_utils';
import { getFieldTypeFromMapping } from '../../services/mapping_service';
import { ml } from '../../services/ml_api_service';
import { mlJobService } from '../../services/job_service';
Expand Down

This file was deleted.

This file was deleted.

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 0c7cab1

Please sign in to comment.