kibana/x-pack/test
Stratoula Kalafateli a9a9013120
[Pie] New implementation of the vislib pie chart with es-charts (#83929)
* es lint fix

* Add formatter on the buckets labels

* Config the new plugin, toggle tooltip

* Aff filtering on slice click

* minor fixes

* fix eslint error

* use legacy palette for now

* Add color picker to legend colors

* Fix ts error

* Add legend actions

* Fix bug on Color Picker and remove local state as it is unecessary

* Fix some bugs on colorPicker

* Add setting for the user to select between the legacy palette or the eui ones

* small enhancements, treat empty labels with (empty)

* Fix color picker bugs with multiple layers

* fixes on internationalization

* Create migration script for pie chart and legacy palette

* Add unit tests (wip) and a small refactoring

* Add unit tests and move some things to utils, useMemo and useCallback where it should

* Add jest config file

* Fix jest test

* fix api integration failure

* Fix to_ast_esaggs for new pie plugin

* Close legendColorPicker popover when user clicks outside

* Fix warning

* Remove getter/setters and refactor

* Remove kibanaUtils from pie plugin as it is not needed

* Add new values to the migration script

* Fix bug on not changing color for expty string

* remove from migration script as they don't need it

* Fix editor settings for old and new implementation

* fix uistate type

* Disable split chart for the new plugin for now

* Remove temp folder

* Move translations to the pie plugin

* Fix CI failures

* Add unit test for the editor config

* Types cleanup

* Fix types vol2

* Minor improvements

* Display data on the inspector

* Cleanup translations

* Add telemetry for new editor pie options

* Fix missing translation

* Use Eui component to detect click outside the color picker popover

* Retrieve color picker from editor and syncColors on dashboard

* Lazy load palette service

* Add the new plugin to ts references, fix tests, refactor

* Fix ci failure

* Move charts library switch to vislib plugin

* Remove cyclic dependencies

* Modify license headers

* Move charts library switch to visualizations plugin

* Fix i18n on the switch moved to visualizations plugin

* Update license

* Fix tests

* Fix bugs created by new charts version

* Fix the i18n switch problem

* Update the migration script

* Identify if colorIsOverwritten or not

* Small multiples, missing the click event

* Fixes the UX for small multiples part1

* Distinct colors per slice implementation

* Fix ts references problem

* Fix some small multiples bugs

* Add unit tests

* Fix ts ref problem

* Fix TS problems caused by es-charts new version

* Update the sample pie visualizations with the new eui palette

* Allows filtering by the small multiples value

* Apply sortPredicate on partition layers

* Fix vilib test

* Enable functional tests for new plugin

* Fix some functional tests

* Minor fix

* Fix functional tests

* Fix dashboard tests

* Fix all dashboard tests

* Apply some improvements

* Explicit params instead of visConfig Json

* Fix i18n failure

* Add top level setting

* Minor fix

* Fix jest tests

* Address PR comments

* Fix i18n error

* fix functional test

* Add an icon tip on the distinct colors per slice switch

* Fix some of the PR comments

* Address more PR comments

* Small fix

* Functional test

* address some PR comments

* Add padding to the pie container

* Add a max width to the container

* Improve dashboard functional test

* Move the labels expression function to the pie plugin

* Fix i18n

* Fix functional test

* Apply PR comments

* Do not forget to also add the migration to them embeddable too :D

* Fix distinct colors for IP range layer

* Remove console errors

* Fix small mulitples colors with multiple layers

* Fix lint problem

* Fix problems created from merging with master

* Address PR comments

* Change the config in order the pie chart to not appear so huge on the editor

* Address PR comments

* Change the max percentage digits to 4

* Change the max size to 1000

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-03 18:17:14 +03:00
..
accessibility Unskip advanced settings a11y test (#100558) 2021-06-02 12:03:19 -04:00
alerting_api_integration Fix alerting health API to consider rules in all spaces (#100879) 2021-06-02 13:08:09 -04:00
api_integration skip suite failing es promotion (#101219) 2021-06-02 14:14:58 -07:00
api_integration_basic [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
apm_api_integration Open/Closed filter for observability alerts page (#99217) 2021-05-25 12:40:14 -05:00
banners_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
case_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
common [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
detection_engine_api_integration [Security Solution][Detections] Update rule integration tests (#98512) 2021-05-28 21:40:57 -04:00
encrypted_saved_objects_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
endpoint_api_integration_no_ingest [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
examples [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
fleet_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
fleet_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional [Pie] New implementation of the vislib pie chart with es-charts (#83929) 2021-06-03 18:17:14 +03:00
functional_basic [ML] Fixing management app race condition (#100785) 2021-05-28 21:23:10 +01:00
functional_cors [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional_embedded [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional_enterprise_search [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional_vis_wizard [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional_with_es_ssl [Alerting] Split alerting feature privilege between rules and alerts and handle subfeature privilege specification (#100127) 2021-05-27 14:59:02 -04:00
licensing_plugin [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
lists_api_integration [Security Solution][Endpoint] Add event filters summary card to the fleet endpoint tab (#100668) 2021-05-28 18:07:54 +02:00
load [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
observability_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
plugin_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
plugin_api_perf [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
plugin_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
reporting_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
reporting_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
saved_object_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
saved_object_tagging [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
saved_objects_field_count [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
search_sessions_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
security_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
security_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
security_solution_cypress [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
security_solution_endpoint Removes event filters feature flag and exposes this feature by default (#100389) 2021-05-25 15:19:42 +02:00
security_solution_endpoint_api_int Fixing ES archive mapping failure (#100835) 2021-05-28 12:21:34 -04:00
security_solution_ftr/page_objects/detections Add a11y test coverage to Rule Creation Flow for Detections tab (#94377) 2021-03-25 15:05:23 -04:00
spaces_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
stack_functional_integration [QA] Bind the retry to fixup error in it repo tests (#100948) 2021-06-02 12:28:59 -06:00
ui_capabilities [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
upgrade Upgrade functional test fixes (#100306) 2021-05-19 13:08:41 -06:00
upgrade_assistant_integration Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
usage_collection [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
visual_regression [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
tsconfig.json [Fleet] Remove beats management plugin (#99789) 2021-05-27 11:30:15 +02:00