* Update all usages of EuiPageTemplate to EuiPageTemplate_Deprecated
* EuiPageContent_Deprecated as EuiPageContent
* EuiPageContentBody_Deprecated as EuiPageContentBody
* EuiPageContentHeader_Deprecated as EuiPageContentHeader
* EuiPageContentHeaderSection_Deprecated as EuiPageContentHeaderSection
* EuiPageSideBar_Deprecated as EuiPageSideBar
* EuiPageContent__Deprecated to EuiPageContent_Deprecated
* Fix rogue semi-colons
* WIP: NoDataConfigPage & NoDataPage converted to new template
- `withSolutionNav` not yet handled
* WIP: KibanaPageTemplateInner converted to use new template
- Pushes existing `pageHeader` prompts onto created EuiPageTemplate.PageHeader
- Uses `isEmptyState` to push `pageHeader` props to EuiPageTemplate.EmptyPrompt instead (if `children` are not supplied)
* WIP: `withSolutionNav` now renders the sidebar content properly
- Collapsing isn’t working (minWidth isn’t updating)
* Fixing stickiness of sidebar
* [Security] Fixed SecuritySolutionTemplateWrapper’s usage
- Moved `bottomBar` to EuiPageTemplate.BottomBar (now contained in just the page contents)
- Change EuiPanel children wrapper with EuiPageTemplate.Section
* [O11y] Wrap `children` with EuiPageTemplate.Section
* Fix getting_started usage
* WIP: Fixing types
* Removing `template` pass through
* Set EUI to 63.0.0
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* More import fixes
* Sidebar component update
* Expand `KibanaPageTemplate` to all namespaced EUI counterparts
- Updated `docs/tutorials` mdx page
- Fixed SolutionNav prop types
* Updated the tutorial mdx page
* [Stack Management] Updated app layout to new template
- Some temporary props applied for BWC until all other pages can be converted
- Converted `API Keys` page’s layout (and especially prompt usags) to new paradigm
* Fix circular dep
* Fix new circular dependency
- copying and pasting types from KibanaPageTemplateProps, but ah well
* [Security Solution] Remove `template` prop - no longer a prop on Kibana/EuiPageTemplate
* [O11y] Allow customizing EuiPageTemplate.Section wrapper
- converts pageBodyProps
- fixes non-centered loading template
* [Enterprise Search] Update page templates
- fix layouts by auto-wrapping an EuiPageSection for padding, while adding a `customPageSections` prop for more custom sections/layouts
- re-center 404 errors
- update tests
* Update KibanaPageTemplate tests
* Update snapshots
* Fix FTR test with removed EUI classNames
* Fix FTR tests with changed kbn classNames
* Update failing dashboard snapshots
- drop shadow changed slightly in EUI
* Fix failing Security Cypress test
* [O11y] Fix Inventory page using deprecated CSS hooks
* [O11y][Uptime] Fix missing bottom bars
- Modifies ObservabilityPageTemplate to accept a `bottomBar` prop (a la the old EuiPageTemplate behavior)
NOTE: This opinionated page layout structure is starting to feel like it could be potentially limiting / have all the same pitfalls the previous EuiPageTemplate did. If so, consider something closer to the Enterprise Search page template conversion (`customPageSections`).
- Misc cleanup: Use `KibanaPageTemplate` over `EuiPageTemplate`
* [O11y] Fix route template typing
- Since theObservabilityPageTemplate is using the new Eui/KibanaPageTemplate, its child templates and types need to be updated accordingly
* Fix broken minWidth behavior
- was an EUI issue that required a patch release
+ update snapshots
* [Security Solution] Type fixes, restore empty state
- Fix empty state logic removed in a previous commit
- bogarts KibanaPageTemplate's `isEmptyState` prop instead of using `template="noData"`
- extend template wrappers to past ...rest to underlying Kibana/EuiPageTemplate
+ replace EuiPageTemplate with KibanaPageTemplate for consistency
* Fix failing synthetics selector
* Grab EUI v63.0.6
- for deprecation tags and section tag support
* Fix Kibana Overview plugin layout
- needs to use KibanaPageTemplate.Section to get padding back
- use `bottomBorder` prop over horizontal rules
- restore previous page color via panelled=false
* Convert Home plugin to new KibanaPageTemplate
- use KibanaPageTemplate.Section instead to preserve page width/paddings
- use `bottomBorder` instead of `EuiHorizontalRule`
- NOTE: This causes margins to decrease slightly from xxl to xl (largest padding available for EuiPageSection) - this can be restored by CSS overrides if desired
- update CSS to preserve previous looks, + convert to logical properties
* [O11y] Fix non-centered empty/loading states
* [O11y] Restore subdued background on various empty state prompts
* [O11y] Fix all instances of views that require a scrollable full-height child
+ restore comment for inventory view
* [O11y][ux] Fix broken sidebar
- The entire app was missing a wrapping EuiProvider, and as such breakpoint utils were not working, and the sidebar was missing
+ misc cleanup
- remove unnecessary fragment
- remove role="main" attr - now that EuiPageTemplate sets a `main` tag, they'll conflict
- add isEmptyState to center loading component
* [APM Cypress tests] harden flaky test
* [APM Cypress tests] Fix failing Cypress test, again
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* [Lens] fetching annotations: don't replace label with textField
* don't pass timezone but read uiSettings
* some params should be required
* passing id from annotations for expressions
* adapt the rendering code to later use datatable structure
* [Lens] Supports include and exclude terms
* Change type
* Fix pattern logic
* Adds unit tests
* Implement it with 2 extra properties on the expression
* Distinguish the regex and exact match bejhavior
* Enables transferring of include/exclude from TSVB
* Fix tests
* Fix tests
* Update all snapshots
* Update texts
* Revers screenshots
* Use debounce value instead
* Placeholder change
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
* Add `essql` expression function to the data plugin
* Fix `phraseFilter` function name
* Update SQL search strategy to close the cursor when the search is complete
* Update SQL search strategy to return the time it took to run a search
* [ftr] automatically determine config run order
* split lens config into two groups
* support ftr configs always running against CI
* Split detection_engine_api_integration rule exception list tests
* Add configs from previous commit
* [ftr] remove testMetadata and maintain a unique lifecycle instance per run
* Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run"
This reverts commit d2b4fdb824.
* Split alerting_api_integration/security_and_spaces tests
* Add groups to yaml
* Revert "Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run""
This reverts commit 56232eea68.
* stop ES more forcefully and fix timeout
* only cleanup lifecycle phases when the cleanup is totally complete
* only use kill when cleaning up an esTestInstance
* fix broken import
* fix runOptions.alwaysUseSource implementation
* fix config access
* fix x-pack/ccs config
* fix ml import file paths
* update kibana build id
* revert array.concat() change
* fix baseConfig usage
* fix pie chart data
* split up maps tests
* pull in all of group5 so that es archives are loaded correctly
* add to ftr configs.yml
* fix pie chart data without breaking legacy version
* fix more pie_chart stuff in new vis lib
* restore normal PR tasks
* bump kibana-buildkite-library
* remove ciGroup validation
* remove the script which is no longer called from checks.sh
* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'
* adapt flaky test runner scripts to handle ftrConfig paths
* fix types in alerting_api_integration
* improve flaky config parsing and use non-local var name for passing explicit configs to ftr_configs.sh
* Split xpack dashboard tests
* Add configs
* [flaky] remove key from ftr-config steps
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* restore cypress builds
* remove ciGroups from FTR config files
* fixup some docs
* add temporary script to hunt for FTR config files
* use config.base.js naming for clarity
* use script to power ftr_configs.yml
* remove usage of removed x-pack/scripts/functional_tests
* fix test names in dashboard snapshots
* bump kibana-buildkite-library
* Try retrying only failed configs
* be a little quieter about trying to get testStats from configs with testRunners defined
* Remove test code
* bump kibana-buildkite-library
* update es_snapshot and on_merge jobs too
* track duration and exit code for each config and print it at the end of the script
* store results in order, rather than by key, in case there are duplicates in $config
* bash is hard
* fix env source and use +e rather than disabling e for whole file
* bash sucks
* print config summary in jest jobs too
* define results in jest_parallel.sh
* simplify config summary print, format times a little better
* fix reference to unbound time variable, use better variable name
* skip the newline between each result
* finish with the nitpicking
* sync changes with ftr_configs.sh
* refuse to execute config files which aren't listed in the .buildkite/ftr_configs.yml
* fix config.edge.js base config import paths
* fix some readmes
* resolve paths from ftr_configs manifest
* fix readConfigFile tests
* just allow __fixtures__ configs
* list a few more cypress config files
* install the main branch of kibana-buildkite-library
* split up lens group1
* move ml data_visualizer tests to their own config
* fix import paths
* fix more imports
* install specific commit of buildkite-pipeline-library
* sort configs in ftr_configs.yml
* bump kibana-buildkite-library
* remove temporary script
* fix env var for limiting config types
* Update docs/developer/contributing/development-functional-tests.asciidoc
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
* produce a JUnit report for saved objects field count
* apply standard concurrency limits from flaky test runner
* support customizing FTR concurrency via the env
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
* Add datatable metadata support
* Fix datatable-based expressions to preserve metadata
* Update ES expression functions to return hits total count in the metadata
* implement null instead of zero switch
* make default
* fix tests
* fix test
* move into advanced options
* show switch
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Use format from datatable if user doesn't specify format in expression
* Fix shapshots
* Fix shapshot
* Update comment
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Shape argument turned to required.
* Added checks for the gauge arguments.
* Moved (metric/min/max/goal)Accessor arguments to (metric/min/max/goal).
* Split gauge and lens state.
* Added support of vis_dimensions.
* Some fixes for uniformity.
* Moved findAccessor out of dimensions.
* Made accessors/vis_dimension functionality reusable for other plugins.
* Fixed test snapshots.
* Fixed snapshots.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add AutoSize component for metric
* Fix Checks
* moved auto scale from class to hoc component
* Remove unnecessary code
* Fix checks
* Refactoring
* Update shapshots
* Update snapshots
* Fix styles and change file name from auto_scale to with_auto_scale
* Fix some remarks
* Fix some remarks
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Pass title from dashboard panel to charts
* Fix lint
* Fix CI
* Fix CI
* Fix CI
* Add 'ariaLabel' in expressions
* Fix text
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 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>