kibana/x-pack/plugins/lens/public/editor_frame_service
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
..
editor_frame [Lens] Extend Datasource props validation with VisualizationGroups (#82607) 2020-11-09 15:22:21 +01:00
embeddable fix underlying data drilldown for Lens (#82737) 2020-11-06 12:18:54 +01:00
error_helper.ts [Lens] Leverage original http request error (#79831) 2020-10-13 15:17:40 +02:00
index.ts
merge_tables.test.ts [Lens] Expose active data in some places (#79851) 2020-11-06 17:05:34 +01:00
merge_tables.ts [Lens] Expose active data in some places (#79851) 2020-11-06 17:05:34 +01:00
mocks.tsx [Lens] Visualization validation and better error messages (#81439) 2020-11-04 18:28:00 +01:00
service.test.tsx [Lens] Navigate from discover to lens (#77873) 2020-10-06 11:15:41 +03:00
service.tsx [Lens] Categorical color palettes (#75309) 2020-11-04 11:27:52 +01:00
types.ts [Lens] Expose active data in some places (#79851) 2020-11-06 17:05:34 +01:00