* First very draft version
* Added validation, clean up code
* Some fixes
* Adapt components to the new UI design
* Some fixes
* Fix validation
* Fix lint errors
* Fix metric vis for new color stop UI
* Fix problems with keeping state of auto detecting max/min value
* Add tests
* Fix CI
* Fix tests
* Fix some lint problems
* Fix CI
* Fix min/max behavior for heatmap
* Fix checks.
* Fix auto value when we add new color range
* Fix check task
* Fix some issues
* Some fixes
* Fix functional tests
* small fix for heatmap
* Fix test
* Update comment-description
* fix PR comments
* do some refactoring (work in progress)
* do some refactoring (work in progress)
* some cleanup
* some cleanup
* wp: fix validation
* wip: fix validation
* push some refactoring
* do some refactoring
* add useDebounce
* add useReducer
* remove autoValue
* fix validation
* update validation logic
* revert getStopsForFixedMode
* some updates
* update EuiColorPaletteDisplay palette arg
* push some logic
* push some logic
* update validation messages
* push some updates
* fix some logic
* fix some cases
* fix JES
* fix CI
* reset continuity
* fix functional tests
* fix issue with -infinite/+infinite
* fix CI
* push some updates
* Update x-pack/plugins/lens/public/shared_components/coloring/color_ranges/color_ranges_reducer.tsx
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
* Update x-pack/plugins/lens/public/shared_components/coloring/color_ranges/color_ranges_validation.tsx
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
* fix some comments
* make color ranges crud methods "immutable"
* fix Max. value input size
* fix PR comment
* fix tests
* Fix edit/min/max buttons behavior
* Fix entering decimal values and max/min value behavior
* Fix lint
* Fix getNormalizedValueByRange for case when min == max
* Fix table cell coloring
* add warning messages
* Move color ranges reducer upper to palette_configuration (#3)
* Move color ranges reducer upper to palette_configuration
* Remove from local state unnecessary params
* Fix some cases
* Fix lint
* use one dataBounds type across palette configuration
* cleanup
* Fix some behavior
* Fix checks
* Some clean up
* Some fixes
* Some fixes
* Fix validation
* Fix CI
* Add unit tests for color_ranges_crud util
* Fix unit test
* Add unit tests for color ranges utils.ts
* Add allowEditMinMaxValues props and fix validation
* Fix CI
* Rename allowEditMinMaxValues to disableSwitchingContinuity
* Add unit tests for color_ranges_validation
* Add unit tests for updateRangeType and changeColorPalette functions
* Add unit tests for color_ranges_extra_actions
* Fix checks
* Clean up code
* Some fixes
* Fix unit-tests
* Fix comments
* Some changes
* Fix tests
* Fix all comments
* Fix Checks
* Fix CI
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
* fix time split metric lookup
* fix in a stable way
* add documentation
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Added expressionMetricVis plugin.
* splited metric vis_type and expression.
* Fixed plugin docs.
* updated snapshots.
* Added code owner to expressionMetricVis.
* updated chart docs.
* Added storybook.
* Added bucket story.
* Added without label story.
* Added "with custom font size" story.
* Added other stories.
* Added DatatableColumn accessors.
* Replaced Metric with MetricOptions.
* added element to canvas.
* Added metric_vis ui model to canvas and removed `useRanges`.
* Fixed MetricOptions.any
* updated the check of min/max existence.
* Updated function/renderer names.
metricRenderer -> metricVisRenderer
metricFunction -> metricVisFunction
* Replaced colorRanges/invertColors/percentageMode with palette.
* Replaced legacy colors with palette.
* Remove usage of arguments bgFill and subText.
* Added mocks for storybook.
* removed dead code from `vis_types`.
* Support of custom font is added.
* Added support of custom labels.
* Added multitable support.
* Added support of multitable and autoresize.
* Cleaned up metric expression and tests
* added center to the metric to_ast.
* added first_datatable type.
* Changed first_datatable to lens_multitable.
* Fixed behaviour with rangeMin and rangeMax.
* Added fontUnit to the font expression and added pt option to the metricVis expression.
* Added comment to the metricVis expression at to_ast of vis_types/metric.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Added `tagCloud` to canvas.
* Added `icon` to the `tagCloud` element.
* Added column name support at `tag_cloud`.
* Added condition to `vis_dimension` not to pass invalid index.
Added check of accessor index, if such column exists at vis_dimension.
Removed checks of column existance from TagCloudChart.
Added test for accessing data by column name in addition to a column number.
Updated tag_cloud element in Canvas.
Fixed types. Removed almost all `any` and `as` types.
* Added test suites for `vis_dimension` function.
* Added tests for DatatableColumn accessors at tag_cloud_fn and to_ast.
* Refactored metrics, tagcloud and tests.
Added valid functional tests to metrics and tag_cloud.
Fixed types of metrics_vis.
Added handling of empty data at tag_cloud renderer.
* Added storybook ( still doesn't work ).
* Fixed some mistakes.
* Added working storybook with mocks.
* Added clear storybook for tag_cloud_vis_renderer.
* Updated the location of vis_dimension test after movement of the function.
* Fixed unused type.
* Fixed tests and added handling of the column name at `visualizations/**/*/prepare_log_table.ts`
* Reduced the complexity of checking the accessor at `tag_cloud_chart.tsx`
* Added comments at unclear places of code.
* Added the logic for disabling elements for renderers from disabled plugins.
* removed garbage from `kibana.yml`.
* Fixed element_strings.test error.
* Made changes, based on nits.
* Fixed mistake.
* Removed `disabled` flag for `expression_*` plugins.
* recovered lost comments at the unclear places.
* removed dead code.
* fixed test errors.
* Fixed test error, I hope.
* fixed more tests.
* fixed code, based on nits.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* make owner attribute required
* Add owner properties in more places
* add test for owner attribute
* add error check too in the test
* Fix tests
* fix tests and update docs
* wip
* More test fixes
* Fix All The Errorz
* Adding more owner attributes
* Update x-pack/test/saved_object_api_integration/common/fixtures/saved_object_test_plugin/kibana.json
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
* Update x-pack/test/ui_capabilities/common/fixtures/plugins/foo_plugin/kibana.json
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
* commeeeooonnnn
* Update docs
* soooo many kibanajsons
* adjust plugin generator to add an owner
* Add owner to the plugin generator scripts
* update snapshot
* Fix snapshot
* review updates
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [build_ts_refs] improve caches, allow building a subset of projects
* cleanup project def script and update refs in type check script
* rename browser_bazel config to avoid kebab-case
* remove execInProjects() helper
* list references for tsconfig.types.json for api-extractor workload
* disable composite features of tsconfig.types.json for api-extractor
* set declaration: true to avoid weird debug error
* fix jest tests
Co-authored-by: spalger <spalger@users.noreply.github.com>
* Add partial result flag to the execution result
* Update expressions plugin run method to return observable
* Update data getter in the execution contract to return observable
* Update the expression loader to take into account the partial results flag
* WIP - Replace tagcloud with es-charts wordcloud
* Cleanup and add unit tests
* Fix interpreter test
* Update all tagcloud snapshots
* Partial fix tagcloud test
* Fix some other functional tests, add migration script, update sample data
* Replace getColor with getCategorixalColor
* Fix functional test
* Apply clickhandler event for filtering by clicking the word
* Fix weight calculation
* Add a unit test and fix functional
* Change the cursor to pointer
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* chore(NA): update gitignore to include first changes from moving into a single package.json
* chore(NA): update gitignore
* chore(NA): move all the dependencies into the single package.json and apply changes to bootstrap
* chore(NA): fix types problems after the single package json
* chore(NA): include code to find the dependencies used across the code
* chore(NA): introduce pure lockfile for install dependencies on build
* chore(NA): update clean task to not delete anything from xpack node_modules
* chore(NA): update gitignore to remove development temporary rules
* chore(NA): update notice file
* chore(NA): update jest snapshots
* chore(NA): fix whitelisted licenses to include a new specify form of an already included one
* chore(NA): remove check lockfile symlinks from child projects
* chore(NA): fix eslint and add missing declared deps on single pkg json
* chore(NA): correctly update notice
* chore(NA): fix failing jest test for storyshots.test.tsx
* chore(NA): fix cypress multi reporter path
* chore(NA): fix Project tests check
* chore(NA): fix problem with logic to detect used dependes on oss build
* chore(NA): include correct x-pack plugins dep discovery
* chore(NA): discover entries under dynamic requires on vis_type_timelion
* chore(NA): remove canvas
* test(NA): fix jest unit tests
* chore(NA): remove double react declaration from storyshot test file
* chore(NA): try removing isOSS check
* chore(NA): support for plugin development
* chore(NA): update logic to fix unit tests and typechecking
* chore(NA): support to run npm scripts in child kbn projects across all envs
* chore(NA): support github checks reporter on x-pack and remove cpy types as the package correctly provides them
* chore(NA): update cpy version
* chore(NA): include last kbn pm changes
* chore(NA): update style on build_production_projects.ts
* chore(NA): remove any cast fom telemetry opt in stats
* chore(NA): remove del and re-use rm -rf again
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
* Upgraded EUI to v29.2.0
* Remove hacks on top of EuiHeaderLink(s)
* Actual update to eui@29.2.0
* Resolve typescript issue when omitting a key over a union
* Resolve nav menu test's expectations
* Fix lint issue
* Update to 29.3.0
* Revert vega snapshot update
I don’t think this was intended to change when I ran the updater
* [ui-shared-deps] strip proptypes from ui-shared-deps production build
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
* Implement toExpressionAst for tagcloud
* Implement tagcloud vis renderer
* Use resize observer
* Use common no data message
* Update build_pipeline.test
* Update tag cloud tests
* Revert "Use common no data message"
This reverts commit fddf019575.
* Update interpreter functional tests
* Add tests for toExpressionAst fn
* Use throttled chart update
* Update renderer
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>