* [index patterns] Fallback to id if title does not exist
* [tests] browser index patterns should always have id and title
* [tests] add regression test for no saved title
In eb317804b5 I started combining custom argv with the process's argv, and naively used union to combine the lists. This breaks cli arguments that are supposed to be repeated and isn't necessary since commander handles parsing the argv and deduping/merging based on config.
(cherry picked from commit 014dee07fa)
Prior to 5.6, we would push mappings once the object type was used. Since we are now ensuring all mappings are set, there is a situation where a field with type string exists but we are pushing text.
You can not have a field with the same name, but different data type, in two different document types.
To resolve this, we are setting update_all_types when updating mappings.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
We already have "BSD-3-Clause" as a valid license, but there's a variant
with a space instead of a '-' being used by js-base64 that we need to
accomodate for.
* smoothLines should not override the seriesParams setting
(cherry picked from commit 9047b2e)
* adding new series should respect the previous settings
(cherry picked from commit 6959725)
* update visualization configuration
(cherry picked from commit c96fec8)
* updating based on review from thomas
(cherry picked from commit e3023f4)
* upgrading metric fontSize setting
(cherry picked from commit 2bcbfff)
* remove old (malfunctioning) update function
ui-select-match's expression was expecting an IndexPattern object, but
the indexPatternList passed to ui-select-choices contained SavedObject
instances due to the [SavedObjectsClient refactor][1]. This wasn't a
problem most of the time because switching index patterns caused the
entire directive to get destroyed and re-created. However, when the
directive didn't get re-created (for example, when clicking the already
selected pattern) it would result in a blank select box.
Fixes https://github.com/elastic/kibana/issues/13080
[1]: https://github.com/elastic/kibana/pull/12719
* keep current cursor or top line in view when resizing to avoid losing user context
* rename variable to more descriptive name
* move state from editor to smart_resize