* sorting chart xValues by metric sum
* fixing tests
* adding order buckets by value option to point series charts
* fixing tests
* fixing tests
* Updating based on CJs comments and adding documentation
* [kbnUrl] reload the route when going from "" to "/"
In timelion the initial route is set to '' which might not be perfectly correct, but works fine. When clicking the "new" button for the first time this causes the route to update from '' to '/', which the kbnUrl service assumes will cause a route change and does not try to force the route to reload. Instead, the router sees this as a noop and the change to the route has no effect unless you click the "new" button a second time.
* [kbnUrl] clarify the purpose _shouldAutoReload
* [kbnUrl] fix the tests
Kibana should be able to run against Elasticsearch nodes that are at the
same minor version regardless of whether they are at the same patch
version. In the event that their patch versions differ, we render a
warning.
When the bounding box has 0 width or height, it doesn't enclose an area. If it is added as a filter, ES will reject it as invalid.
Renamed some variables for clarity.
When ES is unavailable and we can't get the list of enabled scripting
langs we display a notification to the user. We were also accidentally
returning that notification object from the service method and
displaying its toString representation in the language select drop down.
Now we simplay return an empty array so the dropdown is rendered without
options.
Fixes https://github.com/elastic/kibana/issues/8636
The existing styleguide was in great need of a rewrite as it did not
reflect the conventions we're using in the codebase or even the best
practices that we follow. In some cases, the guidance it provided was
outright contrary to our current practices.
* added source filtering
* ditched the new 'retrieved fields' tab and added checkbox to exclude a field in the field control
* disable field exclusion checkbox if field is a metafield
* [indexPattern] copy excluded field property when refreshing fields
* [indexPattern/field] move isMetaField consideration into Field
* [indexPattern/edit] invert the "retreived" column, for accuracy
* [indexPattern/field] touchup the field.exclude message
* Fix typo
* [indexPattern] handle index patterns without fields
* [courier/searchSource] auto add source filter for index pattern
* [docTable] remove irrelevant test about source filtering
* [settings/indices] cleanup imports
* [settings/indexPattern/fields] add "field filters" tab
* [imports] fix old testUtils import
* [ui/fieldWildcard] add lib to match names based on field-style wildcards
* [settings/fieldFilters] list filter matches, remove excluded fields from fieldata_fields
* [fieldWildcard] properly escape regexp control chars
* [settings/indexPatterns] mark fields excluded if they match an exclude pattern
* [fieldWildcard] properly bind the regexp to the ends
* [indexPattern] remove unneeded lodash chain
* [settings/indices] use settings-indices- prefix for tab direcives
* corrected rebase on master
* Do not match exclusion on meta/scripted fields. Disable filter bar when on 'Filter fields' tab. Removed exclusion checkbox in the field controls page. Corrected typos. Improved documentation phrasing.
* corrected error in merge with _index_pattern
* removed unused code
* added missing fieldFilters to test dumps
* corrected merge with master
* removed default empty array in the index pattern schema, and check if fieldFilters exists
* restricts the source with the exclusion patterns set for that index pattern
* renamed field filters to source filters and explicitely retrieve the source in the doc controller
* renamed variables/moved files from field filters to source filters
* Renamed _field_types.js to _edit_sections.js to better reflect what it is for. Corrected editting typo. Renamed exclude column name to excluded. Corrected HTML styling. Removed unused config parameters in field_wildcard.
* Removed lines that were specifying the _source field since they were made unnecessary by https://github.com/elastic/kibana/pull/7402/files#diff-d1695ba2026ff89878f9e4f4de683758R50
* moved fielddata_fields source filtering to where it is initialized
* two-column layout for the source filters indices section
* corrected tests
* use the same table layout as in the other index sections.
Filter input correctly restricts source filters.
Do not match .keyword fields.
* Filter out .raw suffix from possible matches.
Removed unused HTML file.
Corrected bug that allowed to save an empty source filter.
* exclude is deprecated, should be excludes
* improved description
* changed as per code review
* removed filtering logic for keyword and raw fields
* Fix bug where the loading indicator was wider than the screen, allowing you to drag a dashboard panel very wide and break the UI.
* Refactor kbnLoadingIndicator to be a standalone component.
* Make loadingIndicator fixed position so it doesn't disrupt the layout when it appears and disappears.
* Uncouple from .spinner styles.
* Set a max-width on it.
* Rename Common PageObject getSpinnerDone method to isGlobalLoadingIndicatorHidden.
If a user attempted to create a custom filter without a match query
Kibana would error out because it assumed all queries were match
queries. This adds a stricter conditional so that we only attempt to
read the match config if a match property actually exists.
* [es/versionCheck] prevent spamming logs with compatibility warnings
* [es/versionCheck] clarify new var and reason for check
* [es/versionCheck] explain why we need to track per-server
* #6537 add color formatting for string fields
* #6537 adjust test
* #6537 adjust check
* #6537 add simple check to enable coloring in viz (data table), too
* #6537 call the field formatter instead of the toString() function
* #6537 add some tests for coloring string fields
* #6537 better default value for regex field
* [stringify] track field type in params
- Migrate to new localNav component and subcomponent styles.
- Add support for multi-slot transclusion to kbnTopNav.
- Update Dashboard, Discover, Management, Visualize, Dev Tools, Timelion to use kbnTopNav consistently.
- Update these apps to also display localNavDropdowns consistently, including Timepicker (this mostly meant adding titles).
- Add checkLicenses npm script.
- Add .fullWidth utility class and use it to make search forms 100% width.