* [Maps] keep invalid metrics editor state local and only submit metrics state when valid
* review feedback
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [maps] define style bands by percentiles
* add step function select
* percentiles form
* percentiles agg request
* create mapbox expression for stops
* legend
* small legend tweek
* clean up legend rendering
* fix dynamic color property tests
* add unit test case for percentiles legend
* re-fetch style meta when percentiles change
* name space field meta request types
* rename field_meta to data_mapping
* add tooltip to category field meta switch
* i18n fixes
* tslint
* remove duplicate file license
* fix jest tests
* only show supported step functions in fitting select
* copy updates
* add getPalette function for heatmap palette
* update jest snapshot
* another jest snapshot update
* rename EASING_BETWEEN_MIN_AND_MAX -> INTERPOLATE
* rename STEP_FUNCTION -> DATA_MAPPING_FUNCTION and text updates
* review feedback
* remove 'Apply changes' button on percentiles form
* update legend to use 'up to' and 'greater than' instead of symbols
* tslint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Updated to eui@30.4.1, fixed types and unit tests
* Cleanup some imports
* Fix a text color swap, now back to danger text
* Bump EUI to v30.4.2
* Revert snapshot changes from ownFocus modification
* Clean up alert flyout test actions to better represent user actions
* Upgrade EUI to 30.5.1
* More accurate test interaction
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] geo line source
* update editor with metrics
* show track name in tooltip
* fix styling by category
* avoid killing ES, limit to 100 tracks
* better source tooltip message
* fix imports
* increase max tracks
* use tracks icon
* tslint
* Making layer wizard select tooltip flex
* tslint and jest snapshot updates
* clean up
* add trimmed property to tooltip
* change complete label to 'track is complete'
* show incomplete data icon if tracks are trimmed
* add jest test for getSourceTooltipContent
* clean up areResultsTrimmed logic
* split request into 2 fetches
* review feedback
* do not allow selecting split field as sort field
* reduce number of tracks to 250
* tslint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
* add tag selector to save modal
* save tag references onSave
* populate tags when unwrapping attributes
* tslint
* update listing page to show tags
* fix data-test-subj id in functional tests
* i18n cleanup
* tslint
* remove unused import
* use listingTable service for functional tests
* tslint and fix mvt grid layer functional test
* review feedback
* add tags to all privileges and add test user to find, delete, get, get_all, and update tests
* move functions to module scope
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Jest tests are currently organized into main configuration files (src/dev/jest/config.js and x-pack/dev-tools/jest/create_jest_config.js). Both of these are similar, but very slightly due to previously being in separate repositories. This change consolidates the scripts referenced in those configs and moves them to the `@kbn/test` project.
OSS contained an alias for `test_utils`. Those aliases have been removed in favor of importing these utilities from `@kbn/test/jest`
Blocker to #72569
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* [Maps] saved objects by value
* inject references when unwrapping
* clean up map embeddable initialize
* use attribute service to load savedMap
* clean up
* remove clear ui since each route has its own store instance
* save
* update for API changes
* pass input to stateTransfer
* remove map saved object loader
* remove unused store_operations
* add saved objects to recently accessed
* provide default description
* break originatingApp connection when not returnToOrigin
* clean up file structure
* clean up adding help menu
* use SavedMap in map_embeddable to remove dupicated load attributes code
* clean up
* restore imports
* clean up breadcrumbs to match lens
* fix check for duplicate title
* tslint
* make title map saved object attribute required
* fix jest tests
* fix logic for hasSaveAndReturnConfig to not show save and return button with new map and allowByValueEmbeddables disabled
* tslint
* fix functional test by triggering MapApp render after save
* rename map_app_container to map_page
* move MapApp and redux connector into folder
* review feedback
* use MAP_PATH constant
* update by reference saved object on save and return
* cleanup breadcrumbs and title
* properly handle deleted map saved objects
* tslint cleanup
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] show icon when layer is filtered by time and allow layers to ignore global time range
* show icon if layer is narrowed by time fitler
* tslint
* apply global time to source check box
* apply global time to join check box
* tslint and jest expect updates
* one more tslint fix
* tslint, fix apm jest test, update time filter icon when disabling applyGlobalTime
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Adds.a new `map.emsUrl` setting. User can configure this to the location of a local on-prem installation of EMS. For this setting to take effect, the cluster must be configured with an enterprise license.
* [Visualizations] New vis wizard
* Update functional tests
* Create oss plugins for maps and lens and unregister alias function
* Add new plugins to .i18nrc.json
* Add readme and codeowners to the new plugins
* update docs
* fix tests
* fix types
* fixes
* Update development docs
* fix oss functional tests
* Fix jest and x-pack functional tests
* Fix functional test
* changes on the layout
* Cleanup and responsiveness
* cleanup unecessary code
* add common folder to the new OSS plugins
* remove unecessary translations
* Update limits.yml file
* Fix basic label
* Add experimental badge on controls vis
* Nice improvements
* fixes
* Improving styles
* Making modal go full height on smaller screens
* Fixing sass lint warning
* fix lint error
* fix internationalization error
* PR fixes
* PR changes
* Use useCallback where possible
* Remove translations that need to be translated again
* Lazy Load wizard modal
* Remove legacyMapVisualizationWarning
* Import the OSS plugins constants from the plugins
* Export constant from lensOss
* Change the new oss plugins from OSS to Oss
* Add a new line to the kibana.json files of the new plugins
* New nit fix
* Fix spaces
* Change the texts for the first step of the modal
* Fix test
* Fixes some of the PR comments
* Add onClick funtionality to the entire aggregation based card
* Cards description changes, introduce a copyFromRoot method to solve the problem of when disabling the x-pack plugic, to also disable the oss
* Create new FTR for testing the functionality of the wizard when both maps and lens apps are disabled
* fix eslint error
* Change groupTitles and descriptions
* Change input vis description
* Remove the copyFromRoot from the signature of the ConfigDeprecationFactory and export it from the main entrypoint
* Make the disabled cards badge clickable
* Changes from code review
* Fix functional tests failures
* Rename groupTitle to titleInWizard to be more specific
* Change vega vis note
* minor design changes
* fix problem with plugins list docs
* Retrieve maps and lens landing page from docs service and add tracking url param
* Fix funtional test for the new dashboard flow
* Fix logic in alias registry for removing the discardOnRegister alias
* no need to remove the alias entry from the discardOnRegister array
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
* [Maps] fix unable to edit cluster vector styles styled by count when switching to super fine grid resolution
* fix typo
* tslint fixes
* review feedback
* more renames
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] trigger auto fit to bounds on refresh trigger
* default auto fit to data bounds to false
* update jest snapshots
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] fix refreshing the page causes loss of unsaved change
* fix functional tests
* remove unneeded check for app leave modal
* check for appLeaveConfirmModal for clicking confirmModalConfirmButton
* see failures without closing appLeaveModal
* start clearing unsaved changes warning in maps
* clean up more unsaved state in functional tests
* more cleaning up of unsaved state in functional tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Upgraded eui to v29.5.0; snapshot updates
* Cleaned up some types
* addresses feedback on types change
* Update EuiIcon snapshots in jest integration tests
* Updated snapshot from rebasing on master
* no longer export static createSavedObjectClass from savedObject plugin
* fix forgotten call
* yet another usage
* more fixes
* move so to required plugins for timelion
* [Maps] clean up uses of any in redux actions and kibana services
* API doc changes and updated IndexPatternSelect type
* tslint errors in OSS code
* API updates
* remove IndexPatternSelectPublicProps and create IndexPatternSelectInternalProps instead
* include changes to index_pattern_select
* API updates
* remove savedObjectClient from IndexPatternSelectProps
* update types for lazy load component
* remove unused import
* export type
* another API clean-up
* revert changes to import in data/public/types
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] enable auto fit to bounds by default
* type fixes and functional test fixes
* final tslint fixes
* update jest expect
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>