kibana/tsconfig.json
Stratoula Kalafateli 10dd00f6a9
[7.x] [Pie] New implementation of the vislib pie chart with es-charts (#83929) (#101292)
* [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>
# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-optimizer/limits.yml
#	test/functional/apps/visualize/_pie_chart.ts

* Fix functional test

* Revert change - backport missing

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-04 11:15:27 -04:00

138 lines
7.4 KiB
JSON

{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"incremental": false
},
"include": [
"kibana.d.ts",
"typings/**/*",
"src/cli/**/*",
"src/dev/**/*",
"src/fixtures/**/*",
"x-pack/tasks/**/*",
],
"exclude": [],
"references": [
{ "path": "./src/core/tsconfig.json" },
{ "path": "./src/plugins/telemetry_management_section/tsconfig.json" },
{ "path": "./src/plugins/advanced_settings/tsconfig.json" },
{ "path": "./src/plugins/apm_oss/tsconfig.json" },
{ "path": "./src/plugins/bfetch/tsconfig.json" },
{ "path": "./src/plugins/charts/tsconfig.json" },
{ "path": "./src/plugins/console/tsconfig.json" },
{ "path": "./src/plugins/dashboard/tsconfig.json" },
{ "path": "./src/plugins/discover/tsconfig.json" },
{ "path": "./src/plugins/data/tsconfig.json" },
{ "path": "./src/plugins/dev_tools/tsconfig.json" },
{ "path": "./src/plugins/embeddable/tsconfig.json" },
{ "path": "./src/plugins/es_ui_shared/tsconfig.json" },
{ "path": "./src/plugins/expressions/tsconfig.json" },
{ "path": "./src/plugins/home/tsconfig.json" },
{ "path": "./src/plugins/inspector/tsconfig.json" },
{ "path": "./src/plugins/kibana_legacy/tsconfig.json" },
{ "path": "./src/plugins/kibana_overview/tsconfig.json" },
{ "path": "./src/plugins/kibana_react/tsconfig.json" },
{ "path": "./src/plugins/kibana_usage_collection/tsconfig.json" },
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
{ "path": "./src/plugins/legacy_export/tsconfig.json" },
{ "path": "./src/plugins/management/tsconfig.json" },
{ "path": "./src/plugins/maps_legacy/tsconfig.json" },
{ "path": "./src/plugins/navigation/tsconfig.json" },
{ "path": "./src/plugins/newsfeed/tsconfig.json" },
{ "path": "./src/plugins/region_map/tsconfig.json" },
{ "path": "./src/plugins/saved_objects/tsconfig.json" },
{ "path": "./src/plugins/saved_objects_management/tsconfig.json" },
{ "path": "./src/plugins/saved_objects_tagging_oss/tsconfig.json" },
{ "path": "./src/plugins/security_oss/tsconfig.json" },
{ "path": "./src/plugins/share/tsconfig.json" },
{ "path": "./src/plugins/spaces_oss/tsconfig.json" },
{ "path": "./src/plugins/telemetry/tsconfig.json" },
{ "path": "./src/plugins/telemetry_collection_manager/tsconfig.json" },
{ "path": "./src/plugins/tile_map/tsconfig.json" },
{ "path": "./src/plugins/timelion/tsconfig.json" },
{ "path": "./src/plugins/ui_actions/tsconfig.json" },
{ "path": "./src/plugins/url_forwarding/tsconfig.json" },
{ "path": "./src/plugins/usage_collection/tsconfig.json" },
{ "path": "./src/plugins/vis_default_editor/tsconfig.json" },
{ "path": "./src/plugins/vis_type_markdown/tsconfig.json" },
{ "path": "./src/plugins/vis_type_metric/tsconfig.json" },
{ "path": "./src/plugins/vis_type_table/tsconfig.json" },
{ "path": "./src/plugins/vis_type_tagcloud/tsconfig.json" },
{ "path": "./src/plugins/vis_type_timelion/tsconfig.json" },
{ "path": "./src/plugins/vis_type_timeseries/tsconfig.json" },
{ "path": "./src/plugins/vis_type_vislib/tsconfig.json" },
{ "path": "./src/plugins/vis_type_vega/tsconfig.json" },
{ "path": "./src/plugins/vis_type_xy/tsconfig.json" },
{ "path": "./src/plugins/vis_type_pie/tsconfig.json" },
{ "path": "./src/plugins/visualizations/tsconfig.json" },
{ "path": "./src/plugins/visualize/tsconfig.json" },
{ "path": "./src/plugins/index_pattern_management/tsconfig.json" },
{ "path": "./src/plugins/index_pattern_field_editor/tsconfig.json" },
{ "path": "./x-pack/plugins/actions/tsconfig.json" },
{ "path": "./x-pack/plugins/alerting/tsconfig.json" },
{ "path": "./x-pack/plugins/apm/tsconfig.json" },
{ "path": "./x-pack/plugins/canvas/tsconfig.json" },
{ "path": "./x-pack/plugins/cases/tsconfig.json" },
{ "path": "./x-pack/plugins/cloud/tsconfig.json" },
{ "path": "./x-pack/plugins/console_extensions/tsconfig.json" },
{ "path": "./x-pack/plugins/data_enhanced/tsconfig.json" },
{ "path": "./x-pack/plugins/dashboard_mode/tsconfig.json" },
{ "path": "./x-pack/plugins/discover_enhanced/tsconfig.json" },
{ "path": "./x-pack/plugins/drilldowns/url_drilldown/tsconfig.json" },
{ "path": "./x-pack/plugins/embeddable_enhanced/tsconfig.json" },
{ "path": "./x-pack/plugins/encrypted_saved_objects/tsconfig.json" },
{ "path": "./x-pack/plugins/enterprise_search/tsconfig.json" },
{ "path": "./x-pack/plugins/event_log/tsconfig.json" },
{ "path": "./x-pack/plugins/features/tsconfig.json" },
{ "path": "./x-pack/plugins/file_upload/tsconfig.json" },
{ "path": "./x-pack/plugins/fleet/tsconfig.json" },
{ "path": "./x-pack/plugins/global_search_bar/tsconfig.json" },
{ "path": "./x-pack/plugins/global_search_providers/tsconfig.json" },
{ "path": "./x-pack/plugins/global_search/tsconfig.json" },
{ "path": "./x-pack/plugins/graph/tsconfig.json" },
{ "path": "./x-pack/plugins/grokdebugger/tsconfig.json" },
{ "path": "./x-pack/plugins/infra/tsconfig.json" },
{ "path": "./x-pack/plugins/ingest_pipelines/tsconfig.json" },
{ "path": "./x-pack/plugins/lens/tsconfig.json" },
{ "path": "./x-pack/plugins/license_api_guard/tsconfig.json" },
{ "path": "./x-pack/plugins/license_management/tsconfig.json" },
{ "path": "./x-pack/plugins/licensing/tsconfig.json" },
{ "path": "./x-pack/plugins/lists/tsconfig.json" },
{ "path": "./x-pack/plugins/logstash/tsconfig.json" },
{ "path": "./x-pack/plugins/maps/tsconfig.json" },
{ "path": "./x-pack/plugins/metrics_entities/tsconfig.json" },
{ "path": "./x-pack/plugins/ml/tsconfig.json" },
{ "path": "./x-pack/plugins/monitoring/tsconfig.json" },
{ "path": "./x-pack/plugins/observability/tsconfig.json" },
{ "path": "./x-pack/plugins/osquery/tsconfig.json" },
{ "path": "./x-pack/plugins/painless_lab/tsconfig.json" },
{ "path": "./x-pack/plugins/saved_objects_tagging/tsconfig.json" },
{ "path": "./x-pack/plugins/searchprofiler/tsconfig.json" },
{ "path": "./x-pack/plugins/security/tsconfig.json" },
{ "path": "./x-pack/plugins/security_solution/tsconfig.json" },
{ "path": "./x-pack/plugins/snapshot_restore/tsconfig.json" },
{ "path": "./x-pack/plugins/spaces/tsconfig.json" },
{ "path": "./x-pack/plugins/stack_alerts/tsconfig.json" },
{ "path": "./x-pack/plugins/task_manager/tsconfig.json" },
{ "path": "./x-pack/plugins/telemetry_collection_xpack/tsconfig.json" },
{ "path": "./x-pack/plugins/timelines/tsconfig.json" },
{ "path": "./x-pack/plugins/transform/tsconfig.json" },
{ "path": "./x-pack/plugins/translations/tsconfig.json" },
{ "path": "./x-pack/plugins/triggers_actions_ui/tsconfig.json" },
{ "path": "./x-pack/plugins/ui_actions_enhanced/tsconfig.json" },
{ "path": "./x-pack/plugins/upgrade_assistant/tsconfig.json" },
{ "path": "./x-pack/plugins/runtime_fields/tsconfig.json" },
{ "path": "./x-pack/plugins/index_management/tsconfig.json" },
{ "path": "./x-pack/plugins/watcher/tsconfig.json" },
{ "path": "./x-pack/plugins/rollup/tsconfig.json" },
{ "path": "./x-pack/plugins/remote_clusters/tsconfig.json" },
{ "path": "./x-pack/plugins/cross_cluster_replication/tsconfig.json"},
{ "path": "./x-pack/plugins/index_lifecycle_management/tsconfig.json"},
{ "path": "./x-pack/plugins/uptime/tsconfig.json" },
{ "path": "./x-pack/plugins/xpack_legacy/tsconfig.json" }
]
}