Using fields with docvalues (like `_doc`) for tie-breaking yields
significantly better performance than using `_uid`, which lacks
docvalues at the moment. The downside is that sorting by `_doc` by
default is not stable under all conditions, but better than no
tie-breaking at all.
The new setting `context:tieBreakingFields` enables the user to
customize the list of fields Kibana attempts to use for tie-breaking.
The first field from that list, that is sortable in the current index
pattern, will be used. It defaults to `_doc`, which should change to
`_seq_no` from version 6.0 on.
In addition to just showing a notification, errors that occur while
loading documents from the database will be stored as part of the
`loadingStatus` along with a reason code (if known). This is used to
display more nuanced and helpful error messages to the user.
The first such error message indicates a missing or invalid tiebreaker
field required for sorting the context.
* Decoupling TSVB from timelion
* Changing behavior back to the provider pattern
* Fixing Timelion's dashboard context provider
* Moving dashboard_context out of Timelion and TSVB into Kibana
* Initial implementation
* Deduping final data array. Adding index patterns from saved searches
* Adding import
* Finishing import implimentation
* Adding tests for export
* Adding tests for import
* Filtering out bad ids
* Adding options for exclude and force
* Fixes per request by PR reviewers
* Adding a check for empty ids
* Use SavedObject API
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Omits missed objects, adds tests
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Moves import to SavedObjectsClient
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Fixing a bug with missing index patterns
* Fixing spacing issues (because the format is weird on this array which is too much for eslint to handle)
* Fixing tests and renaming file
* Changing paths to /api/kibana/dashboards/(export|import); adding validation to export
* Single call signature and use async/await
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Adding try/catch to JSON parses; Removing payload from export;
* removing redundent code
* Changing test to only use query arguments
* Removing bad panel from test data
* Return errors for bulkCreate objects
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Changing everything to named imports; removing deps from everything; fixing tests to reflect named imports
* Refactoring to use async/await pattern
* Preserve the saved vis url when using the add new vis link from dashboard
Fixes https://github.com/elastic/kibana/issues/11078
* Store the edit url in browser history as well
* Fix tests by reordering them.
* add a more explanatory comment
* use es6 exports in fixtures
* use es6 exports in test_utils
* use es6 exports in src/ui
* use es6 exports in src/utils
* use es6 exports in src/server
* use es6 exports in timelion
* use es6 exports in core plugins, but not console
* use es6 exports in console
* use es6 exports in src/cli
* use eslint --fix for no-extra-semi rule
* selectively disable kibana-custom/no-default-export
* replace define() with exports
* clean up some object exports
in these cases, named exports are the better replacement
* use es6 exports in src/optimize, where possible
* fix uses of named exports
* fix some imports in console
* revert postcss optimizer to module.exports
* [timelion] put shared code in common directory
* fix url module export
don't export as default, rely on the named export
* convert define modules in src to export
* convert ui-bootstrap to cjs module
* lint webpackShims
no reason not to, they pass when the no-var rule is disabled
* fix new code not using es6 exports
* fix some straggling exports
* Use labels consistently in Filter Editor dropdown. Improve screen reader and keyboard accessibility.
* Convert 'Edit Query DSL' from button to toggle link.
* Add link to documentation.
* Revert "When on an embedded page, bypass Getting Started gate check (#12040)"
This reverts commit 05293f1c8d.
* Revert "Making tweaks. (#12003)"
This reverts commit aa3fa06f61.
* Revert "Functional tests for the Getting Started page (#11850)"
This reverts commit 099178a7ca.
* Revert "Prevent flicker on Getting Started page (#11826)"
This reverts commit c4b3ade27d.
* Revert "Getting Started page (#11805)"
This reverts commit 32eff371f2.
* Remove check for Getting Started page from navigateToApp
* Add terms filter
* First stab at inline filter editors
* Cleanup
* Move endpoint to server
* Add delete button to filter editor
* Add sort prefix first utility
* Sort ui-select items by prefix first
* Add sortPrefixFirst tests
* Use small text input instead of styles
* More keyboard-driven filter creation
* Add custom dsl edit support
* Add more actions
* Add alias support
* Simplify label
* Allow freeform entries
* Fix visualize
* Support for dashboard
* Move styles to less and fix visual issues
* Rename map_match to map_phrase
* Detect scripted filters for filter editors
* Simplify range map
* Use match_phrase instead of terms
* Fix scripted exists
* Support scripted phrases
* Don't show DSL editor for new filters
* Disable save unless valid
* Fix error when searching for numbers
* Return correct error and dont suggest values for numbers
* Only suggest filterable fields
* Clear params on field change
* Clear suggestions on field change
* Cache response
* Preserve selected params
* Fix multiple selection
* Don't overflow on multiselect
* Show tooltip on long values
* Use different input for different types
* Show all actions again
* Move dsl editor to directive
* Update filter query dsl editor
* Clean up code
* Move filter field select into own directive
* Move filter operator select into own directive
* Move utils to separate file
* Move field options to field directive
* Move operator options to operator directive
* Move params under operator type
* Move params editor into own directive
* Move param editors to own directives
* Don't highlight values
* Don't use unnecessary onChange
* Use text input if no suggestions
* Remove unused updateFilter
* Enhance params editors
Move params editors to separate file and present different editors based on field type
* Update save filter api
* Update save filter api
* Fix a couple tests
* Fix more tests
* Fix map phrase test
* test cleanup
* Hide editor on esc key
* Use first index pattern if none specified
* FilterEditorUtils test and fix range error
* fix date phrase
* Date format should allow date math values
* Only show add filter button if there are index patterns
* Look up field from indexPatterns service rather than passed index patterns
* Use basepath instead of relative path
* Feedback from bargs
* Don't show filter bar when ya shouldnt
* don't reload panel saved objects
* Show date math instead of formatted date
* Focus on params even when not ui-select
* Hide editor on delete
* Update styles to BEM format
* Update styles
* Add more tests
* Don't show pin/disable
* Fix bug where saving a filter edit without making changes messed up pinning
* Update styles to camelcase
* Fix cutoff from top of screen for ui-select
* Add accessibility
* Align to top
* Align inputs and add placeholders
* Dynamic input sizing
* Fix dashboard panel test
* [indexPatterns] support cross cluster patterns
* [vis] remove unused `hasTimeField` param
* [indexPatterns/create] fix method name in view
* [indexPatterns/create] disallow expanding with ccs
* [indexPatterns/create] field fetching is cheaper, react faster
* [indexPatterns/resolveTimePattern/tests] increase readability
* [tests/apiIntegration/indexPatterns] test conflict field output
* [indexPatterns/fieldCaps/readFieldCapsResponse] add unit tests
* [test/apiIntegration] ensure random word will not be valid
* [indexPatterns/ui/client] remove unused import
* remove use of auto-release-sinon
* [indexPatterns/create] don't allow expand when cross cluster
* [indexPatternsApiClient/stub] use angular promises
* [indexPatterns/create] add tests for base create ui behaviors
* remove check for ng-untouched class from formControlInvalid mixin
* updated generated dist file
* add comment to avoid re-introducing Angular classes in the future
This commit adds the ability to archive tars on windows builds.
As windows filepaths have colons in them (i.e. c:/kibana)
tar thinks it is accessing a remote datasource.
Adding the --force-local flag tells tar to archive a local file.
* [UI Framework] Change menu to unordered list
* Add usage comments
* Update events_sandbox example
* Improve comments and regenerate css
* Improve comments
- Users can now create choropleth maps. This requires configuring an inner join between the results of a term-aggregation and a reference vector layer. This vector layer needs to be in the GeoJson format. By default, Kibana uses vector layers serverd by a data service hosted by Elastic. Users can also bring in their own layers by adding configuration entries in the kibana.yml. These need to point to a CORS-enabled data service that accepts requests from the Kibana application.
- For clarity, the tilemap is renamed to Coordinate Map.
- A new manifest is published by Elastic. this includes metadata for the available tilemap services, as well as metadata for the available vector data layers.
* attempt to fix dashboard view/edit flaky test
hope to fix https://github.com/elastic/kibana/issues/12014
* Need to wait for global loading indicator to be hidden once top nav is visible
* use Error object for throw
* inline function only used once
* gauge chart
* adding ranges and color options
* adding green to red color pallete
* adding more options
* fixing based on tanya's review
* fixing label positions
* improving range settings
* percentage mode applies to legend
* hidding labels when too long
* updating based on ui rview
* rebasing on master
* adding unit tests
* adding selenium tests
* fixing tests
* adding metric gauge type
* removing metric vis
* adding metric and goal charts
* updating options
* fixing bugs
* fixing based on review from Thomas
* updating icons
* fixing tests
* updating based on last review
* hide some settings if only one range
* fixing tests
* removing unsupported aggs
* fixing defaults
* fixing options
* fixing error with inverse color schema
* adding spacing to info icon
* fixing some tiny issues