* Convert mappings to TypeScript
* Use any for FieldMapping
* Revert "Use any for FieldMapping"
This reverts commit 2042601f42.
* Use union type for FieldMapping
* Wrap toPath inside module declaration
* Removes call to disable the angular encoding fix because we want that fix turned on for us
* Time range should be updated on every location change and not just when from/to values change
This was done in a previous commit but may have been lost in a merge somewhere...
This allows relative range refreshes to work so that 'now-24h' is re-calculated even though the string value didn't change. Redux handles the case where an absolute date is refreshed, and the chart requests are not re-made.
* First pass at ensuring click events do not swallow keyUp event, also ensure menu doesn't open / close for no reason
* Add comment
* Add key
* Revert changes
* Remove icons on badges within context menu
* Remove unused translation with script
* Change vis save dialog when adding to dashboard
* Update src/legacy/core_plugins/kibana/public/visualize/editor/editor.js
Co-Authored-By: timroes <mail@timroes.de>
* add check for extraMetric in point server tooltip hovers
* format extra metrics
* put z axis format information into series to format tooltip correctly
* fix failing tests
* extend tooltip formatter test
* add test
* fix: correctly access types
they are not exposed on the handlers object, they must be imported from @kbn/interpreter
* chore: move to function to browser
types can be accessed in the browser now, and a common function makes no sense right now. also https://github.com/elastic/kibana/issues/33039 prevents having the same function in both places anyway
* add functional test to prove regression
* [chrome] strip # from hash before updating $location
* add opt-out level for disabling auto fix, disable in APM
We have been deeply cloning the `searchSource.rawResponse` in the courier request handler, in an effort to prevent downstream applications from mutating the response and causing unintended side effects (for example, response data in the inspector will change if rawResponse is mutated).
While this was a sensible preventative measure, it unfortunately created some severe performance problems, particularly when dealing with deeply nested aggregations with a large amount of buckets.
This does the following:
* Stop deeply cloning response data in courier, which earns us some significant performance gains.
* Remove the following cache keys from index patterns which were mutating `searchSource`: $$_flattened, $$_formatted, $$_partialFormatted. They have been replaced with a WeakMap cache that doesn't rely on mutating the source data.
* Add link to Maps docs in Kibana getting started with sample data
* Update docs/getting-started/add-sample-data.asciidoc
Co-Authored-By: nreese <reese.nathan@gmail.com>
* [Maps] getting started documentation
* [DOCS] Edits for Maps Getting Started
* [DOCS] Incorporates review comments
* [DOCS] Rewrite section on sample data
* [DOCS] Adds link to add sample data page
* [Reporting/fix] include the error object in the messages about can't decrypt the job data
+ Prettier fixes
* fix translation string values
* fix i18n
* fix translation files
* Makes sure fromQuery helper properly handles undefined values, adds test
* Adds APM default fallback values to every Kibana link, if no time picker values are currently set
* Changes date picker url updates to push instead of replace in stack
* Fixes bug with chart selection, dragging on charts now updates the URL which triggers all of the date picker updates
* Reverts query param encoding hacks due to fixes in #32732
* Removes unnecessary moment dep in SyncChartGroup
* Updates tests for url changes