-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Squashed commit of the following: commit 0cff8243a99ff23421c3cbb15d62b26332a31e21 Author: Christiane Heiligers <christiane.heiligers@elastic.co> Date: Mon May 20 16:16:15 2019 -0700 Adds ignore_lobal_filter YesNo component back Deletes fixtures file commit e54e1690c9c46e2de5e747d14030a7e27e74c138 Author: Christiane Heiligers <christiane.heiligers@elastic.co> Date: Mon May 20 14:39:21 2019 -0700 squash-merges adding KQL with the full QueryBar and SavedObject migrations Debugging Adds filter defaults Updates index pattern for the QueryBar on componentDidUpdate squash-merges adding KQL with the full QueryBar and SavedObject migrations required Adds ignore_lobal_filter YesNo component back Deletes fixtures file Updates migration test number * Changes QueryBar to QueryBarInput in TimeseriesPanelConfigUi Replaces QueryBar with QueryBarInput in Timeseries Changes QueryBar to QueryBarInput in TSVB Metric Changes QueryBar to QueryBarInput in other TSVB visualisation editors Removes async from componentWillMount changes indexPattern to indexPatternObject in series and table query request processors * Squashed commit of the following: commit 2c3107963cff20b2d24323fddfaf80c848b86848 Author: Christiane Heiligers <christiane.heiligers@elastic.co> Date: Thu May 23 15:15:06 2019 -0700 Cleans up comments commit 943150d4b9b71183e9d5b26c95449ea4519aad4c Author: Christiane Heiligers <christiane.heiligers@elastic.co> Date: Thu May 23 14:09:53 2019 -0700 Cleans up parser check more commit d31de88525595720556440ae71515f5772774eaa Author: Christiane Heiligers <christiane.heiligers@elastic.co> Date: Thu May 23 14:01:02 2019 -0700 Cleans up parser check commit b592071b1d939ec2df9b9c921d57a22dac54e703 Author: Christiane Heiligers <christiane.heiligers@elastic.co> Date: Thu May 23 13:16:55 2019 -0700 skips server call on invalid kuery queries Cleans up Deletes duplicate migration function Adds 's' to split_by_filters method Resolves issues after rebase * Removes quotes around index pattern strings passed into fetch_index_patterns, adds comments on reasoning * queryBar to queryBarInput Adds transformFilterStringToQueryObject back to visualizations migrations that was lost during rebase * Deletes unused code * Fixes migrations test * compiles visualizations migrations for version 7.3.0 * temporary change to query_bar_input fetch_index_patterns file formatting Includes code from PR#37413 Clean up * Formatting * Uses series index pattern when override_index_pattern is selected and an index pattern is provided * Removes empty object as alternative to localStorage * Removes handelQueryChange from where it is not needed * extracts retrieval of the default query language from uiSettings into a helper method * Resolves some PR comments * Handles Query Error from an invalid syntax query * Converts string queries into objects with kuery as the language in saved_objects data for ecommerce, flights and logs TSVB visualizations * Deletes unused translation items * Adds optional id prop to the query_bar_input and makes the screenTitle optional * Updates [eCommerce] Sold Products per Day * Removes screenTitle from component QueryBarInput * Wraps index pattern strings in a double quote to allow for names such as 'logstash-*'
- Loading branch information
1 parent
02ff1ad
commit 84b595e
Showing
47 changed files
with
614 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/legacy/core_plugins/metrics/public/components/lib/get_default_query_language.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Licensed to Elasticsearch B.V. under one or more contributor | ||
* license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright | ||
* ownership. Elasticsearch B.V. licenses this file to you under | ||
* the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
|
||
import chrome from 'ui/chrome'; | ||
|
||
export function getDefaultQueryLanguage() { | ||
return chrome.getUiSettingsClient().get('search:queryLanguage'); | ||
} |
Oops, something went wrong.