kibana/x-pack/plugins
Marco Liberati 97e2dc853b
[Lens] Extend Datasource props validation with VisualizationGroups (#82607)
*  First pass with visualization validation + error messages

* 🔥 Remove indexpattern error handling for now

* 🏷️ Fix type issues

*  Add getErrorMessage test for data table

*  Add tests for pie and metric error messages

* 🌐 Fix i18n checks issues

* 🐛 Fix last issue

*  Add more tests for the XY visualization validation code

* 👌 Included all feedback from first review

* ✏️ Off by one message

* 🌐 Fix i18n duplicate id

* 🌐 Fix last i18n issue

* 🐛 Fixed a hook reflow issue

* ♻️+ Reworked validation flow + tests

* 🏷️ Fix type issue

* 🐛 Improved XY corner cases validation logic

* 🐛 Fix empty datatable scenario

*  +  Improved error messages for invalid datasources + tests

* 🌐 Add missing i18n translation

* 🏷️ Fix type issues

* 🌐 Fix i18n issues

*  Filter out suggestions which fail to build

* 🚚 Migrate datatable validation logic to the building phase, handling it as building state

* 🏷️ Fix type issue

* ✏️ Add comment for future enhancements

* ✏️ Updated comment

* :world_with_meridians: Refactor axis labels

* 🌐 Reworked few validation messages

* 🐛 Fix break down validation + percentage charts

*  Align tests with new validation logic

* ♻️ Fix suggestion panel validation to match main panel

* 🌐 Fix i18n issues

* 🔧 Fix some refs for validation checks in suggestions

* 🐛 Fix missing key prop in multiple errors scenario

* 🐛 Fix swtich issue from XY to partition

* 🌐 Fix i18n messages and aligned tests

* 🐛 Fix suggestions switching bug

* :refactor: Add more validation + refactored validation logic in a single place

* ✏️ Add note about lint hooks disable rule

* 🚨 Fix linting issue

* 🏗️ Add infra API for datasource advanced validation

*  Align tests with new API

*  Fix type issues in tests

* 👌 Early exists added

*  Add layers groups to the API

*  Fix some broken test after the validation change

* 👌 Move to disctionary shape

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 15:22:21 +01:00
..
actions [Security Solution][Case] Case action type (#80870) 2020-11-04 12:07:17 +02:00
alerts Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
apm [APM] Transition to Elastic charts for all relevant APM charts (#80298) 2020-11-09 11:03:07 -03:00
beats_management load js-yaml lazily (#79092) 2020-10-04 21:10:19 +02:00
canvas Add flot_chart dependency from shared_deps to Shareable Runtime (#81649) 2020-11-06 15:28:27 -06:00
case [Security Solution][Case] Case action type (#80870) 2020-11-04 12:07:17 +02:00
cloud Revert "Adds cloud links to user popover (#66825)" (#82802) 2020-11-05 21:25:57 -07:00
code
console_extensions Add READMEs for ES UI plugins (#81973) 2020-10-29 10:56:42 -07:00
cross_cluster_replication [CCR] Update README.md on how to start 2 clusters for testing (#81487) 2020-11-02 14:30:19 +01:00
dashboard_enhanced Context menu trigger for URL Drilldown (#81158) 2020-10-30 13:04:48 +01:00
dashboard_mode Update KibanaRequest to use the new WHATWG URL API (#80713) 2020-10-29 14:35:48 +01:00
data_enhanced [data.search] Add request handler context and asScoped pattern (#80775) 2020-11-04 11:58:15 -07:00
discover_enhanced Drilldowns in examples (#75640) 2020-10-05 16:31:30 +02:00
drilldowns/url_drilldown Context menu trigger for URL Drilldown (#81158) 2020-10-30 13:04:48 +01:00
embeddable_enhanced Context menu trigger for URL Drilldown (#81158) 2020-10-30 13:04:48 +01:00
encrypted_saved_objects SavedObjects tagging MVP (#79096) 2020-11-03 10:33:18 +01:00
enterprise_search [Enterprise Search] Fix/update MockRouter helper to return specific routes/paths (#82682) 2020-11-05 12:18:06 -08:00
event_log [Alerting] Display Action Group in Alert Details (#82645) 2020-11-06 07:28:08 -05:00
features Add platform's missing READMEs (#82268) 2020-11-05 10:40:15 +01:00
file_upload Upgrade to hapi version 18 (#80468) 2020-11-02 13:18:00 +01:00
global_search Get rid of global types (#81739) 2020-10-28 11:03:04 +01:00
global_search_bar Fireproof onChange (#82252) 2020-11-02 15:32:00 +01:00
global_search_providers Add platform's missing READMEs (#82268) 2020-11-05 10:40:15 +01:00
graph [TableListView] Fix table scope issues (#82105) 2020-11-03 18:21:24 +02:00
grokdebugger Add READMEs for ES UI plugins (#81973) 2020-10-29 10:56:42 -07:00
index_lifecycle_management [ILM] Migrate Delete phase and name field to Form Lib (#82834) 2020-11-09 14:29:53 +01:00
index_management Add ILM url generator and use it in Index Management (#82165) 2020-11-06 15:42:51 +01:00
infra [Logs UI] Fix errors during navigation (#78319) 2020-11-09 12:43:11 +01:00
ingest_manager [Ingest Manager] Unify install* under installPackage (#82916) 2020-11-09 05:42:45 -05:00
ingest_pipelines Upgrade EUI to v30.1.1 (#81499) 2020-10-30 16:18:27 -06:00
lens [Lens] Extend Datasource props validation with VisualizationGroups (#82607) 2020-11-09 15:22:21 +01:00
license_management Upgrade EUI to v30.1.1 (#81499) 2020-10-30 16:18:27 -06:00
licensing Get rid of global types (#81739) 2020-10-28 11:03:04 +01:00
lists [Security Solution][Detections] Immediately refresh exceptions when new list is created after rule creation (#81014) 2020-10-20 17:03:47 -04:00
logstash Upgrade to hapi version 18 (#80468) 2020-11-02 13:18:00 +01:00
maps [Maps] rename connected_components/map folder to mb_map (#82897) 2020-11-07 06:46:49 -07:00
maps_legacy_licensing [Maps] lazy load maps_legacy, tile_map, and region_map bundle (#78027) 2020-09-24 12:45:43 -06:00
ml [ML] Add unsigned_long support to data frame analytics and anomaly detection (#82636) 2020-11-06 16:51:14 -05:00
monitoring Add description and documentation link in alert flyout (#81526) 2020-11-05 19:50:50 -05:00
observability Copy dateAsStringRt to observability plugin (#82839) 2020-11-07 19:15:37 -06:00
painless_lab Change monaco background color to match inputs (#82451) 2020-11-04 10:12:53 -06:00
remote_clusters [Remote clusters] Refactor tests (#82517) 2020-11-05 09:01:42 -05:00
reporting Upgrade to hapi version 18 (#80468) 2020-11-02 13:18:00 +01:00
rollup Revert "Index patterns api - load field list on server (#81218)" 2020-11-04 09:52:15 -07:00
saved_objects_tagging SavedObjects tagging MVP (#79096) 2020-11-03 10:33:18 +01:00
searchprofiler Conform Search Profiler application organization to other ES UI plugins (#82085) 2020-11-02 12:01:27 -08:00
security Add support for provider specific session timeout settings. (#82583) 2020-11-06 17:07:44 +01:00
security_solution skip flaky suite (#75794) 2020-11-08 15:51:42 -05:00
snapshot_restore Upgrade EUI to v30.1.1 (#81499) 2020-10-30 16:18:27 -06:00
spaces Fix saved object share UI bugs regarding read-only privileges (#81828) 2020-11-03 23:07:39 -05:00
stack_alerts Added defaultActionMessage to index threshold alert UI type definition (#80936) 2020-11-09 08:35:05 -05:00
task_manager [Task Manager] Changed alerts schedule logic to use Task Manager internals (#80149) 2020-11-02 09:49:55 -08:00
telemetry_collection_xpack [Telemetry] [Schema] remove number type and support all es number types (#81774) 2020-10-30 04:34:20 +02:00
transform Upgrade to hapi version 18 (#80468) 2020-11-02 13:18:00 +01:00
translations [APM] Transition to Elastic charts for all relevant APM charts (#80298) 2020-11-09 11:03:07 -03:00
triggers_actions_ui Added defaultActionMessage to index threshold alert UI type definition (#80936) 2020-11-09 08:35:05 -05:00
ui_actions_enhanced Embeddables/migrations (#82296) 2020-11-05 07:03:23 +01:00
upgrade_assistant Add READMEs for ES UI plugins (#81973) 2020-10-29 10:56:42 -07:00
uptime [Uptime] Migrate to new es client (#82003) 2020-11-06 18:50:17 +01:00
watcher [Watcher] Retain search and pagination values when watch list refreshes (#82651) 2020-11-05 11:58:29 -05:00
xpack_legacy [Usage Collection] Usage collection add saved objects client to collector fetch context (#80554) 2020-10-14 16:26:49 -07:00