* Fix Pinned filters should be visible on new maps without user having to do any action on layers
* always use default data view
* clean up
* await
* tslint
* Keep timeframe when editing a map from a dashboard
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* Upgrade EUI to v60.0.0
* reorganize style tag injection using EuiProvider.cache options
* Convert Jest snapshots for EUI Emotion classNames to a static `emotion-` prefix instead of a dynamic hash
- The goal of this is to reduce thrashing on downstream Kibana snapshots whenever EUI CSS changes
+ Add serializer to Canvas' storyshots tests as well
+ Switch several .html() snapshots to .render() - render uses the new serializer logic, but .html() does not and will still output CSS hashes, plus is more difficult to read
* Update downstream tests for EuiStat Emotion/className changes
* Fix WithEuiTheme(EuiAccordionClass) references
* Rename mounted snapshots of EuiButtonContent to EuiButtonContentDeprecated
* add emotion/cache to kbn-ui-shared-deps
* Fix non-rendering server-side Emotion CSS
* Fix failing Security Cypress test
- the Cypress query/command being used wasn't working correctly
Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Aligns text in the marker legend to the right
* Update test snapshot SVG definition
* remove replace for dot and comma chars to compute max length
* Update x-pack/plugins/maps/public/classes/styles/vector/components/legend/marker_size_legend.tsx
Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
* update test
* get the maximum label width from all texts
* use refs to get width
* Use SVGTextElement and update test
* refs
* updated snapshot test
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
Co-authored-by: nreese <reese.nathan@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* fix onDataLoadEnd and onDataLoadError event handler callbacks only called for source data requests
* dataLoadEnd
Co-authored-by: Liza Katz <liza.katz@elastic.co>
* [Maps] fix array values out of order in tooltips
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* [maps] Add spatial filter from cluster
* add unit test
* fix test name
* move to IVectorSource interface
* remove unused args
* make internal method
* update AnomilySource
* fix jest test
* update snapshot
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Initial commit for EUI 57.0.0 upgrade
* Handle i18n changes
* Resolved type errors in DatePicker and Markdown Editor
* Resolve test failures in Jest Test Suite #1. Updated multiple snapshots for euiLink and euiTitle as they have been converted to Emotion
* Resolved failing tests for Jest Suite #2. Updated snapshots for euiHealth, euiAvatar, euiSpacer, euiTitle, and euiLink as they have recently been converted to Emotion
* Resolved failing tests for Jest Suite 3. Updated failing snapshots as EuiSpacer, EuiText, EuiCallout, EuiHorizontalRule, EuiTitle, and EuiLink have been converted to Emotion. Updated the i18n translation snapshots
* Upgrade EUI verion to 58.0.0
* Resolved tests failures from Jest Test Suite 4. Updated snapshots as EuiLink, EuiTitle, EuiHorizontalRule, EuiSpace, and EuiCallout have been converted to Emotion
* Resolved failing test cases for Jest Test Suite 5. Updated snapshots as EuiLoader has been converted to Emotion
* Resolved failing tests in Jest Test Suite 6. Updated snapshots as EuiSpacer, EuiHorizontalRule, Eui Callout, and EuiLink have been converted to Emotion
* Resolved type errors for EuiDatePicker component
* Resolved type error within EuiContextMenu by removing the watchedItemProps prop. It was recently deprecated in EUI PR# 5880 (https://github.com/elastic/eui/pull/5880) as is no longer needed
* Resolved type error within EuiContextMenu by removing the watchedItemProps prop. It was recently deprecated in EUI PR# 5880 (https://github.com/elastic/eui/pull/5880) as is no longer needed
* Resolved type error within EuiContextMenu by removing the watchedItemProps prop. It was recently deprecated in EUI PR# 5880 (https://github.com/elastic/eui/pull/5880) as is no longer needed
* Resolved type errors by updating the popoverPlacement prop for the EuiDatePicket component with new / valid values. A list of values were deprecated and new values were added in EUI PR #5868 (https://github.com/elastic/eui/pull/5868)
* Resolved type error within EuiTabs by removing instances of display: condensed as it is no longer a part of the Amsterdam theme via EUI PR #5868(https://github.com/elastic/eui/pull/5868)
* Remove deprecated `display` prop from EuiTabs
* Deprecate `.eui-textOverflowWrap`
* Deprecate EuiSuggestItem `labelDisplay` prop
* [EuiStepsHorizontal] Replace deprecated `isComplete`/`isSelected` with `status`
* Update last EuiStepsHorizontal `status` migration
- this one was more complex than the previous commit due to existing `status` usage and conditional steps. Some amount of logic was simplified via `completedStep`
* Resolved type error within EuiTabs by removing instances of display: condensed as it is no longer a part of the Amsterdam theme via EUI PR #5868(https://github.com/elastic/eui/pull/5868)
* Resolved failing test cases in Jest Test Suite 5. Updated snapshots as EuiTitle has been converted to Emotion
* Resovlved failing test cases in Jest Test Suite 4. Updated snapshots as EuiTitle and EuiSpacer have been converted to Emotion. Resolved failing tests for EuiLink click simlulations by esuring the test is referencing the correct element.
* Resolved failing test cases in Jest Test Suite 3. Updated snapshots as EuiLink, EuiSpacr, and EuiTItle have been converted to Emotion. Updated various test cases to ensure that the references to EuiLink are correct
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Resolved failing test cases in Jest Test Suite 1. Updated snapshots as EUI text utilities have been converted to Emotion. Updated referenes to EuiLink to ensure test are simulating clicks on the correct elements
* Resolved failing test for Jet Test Suite 2. Updated required snapshots. Updated references to EuiLink to ensure that tests are simulating clicks on the correct elements
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Resolved failing test cases for Jest Test Suite 5. Updated references to EuiLink to ensure tests are targeting the correct element
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Resolved failing test cases across the Jest Test Suites. Updated required snaphots for components recently converted to Emotion. Updated test cases to ensure that tests targeting EuiLink are using the correct element.
* Resolved failing tests from multiple Jest test suites. Updated snapshots for components that have recently been converted to Emotion. Updated tests that reference the EuiLink component to ensure the correct element is being targeted
* Updated the getEuiStepsHorizontal function. Previously, this function used the .euiStepHorizontal-isSelected class (now deprecated) to determine which step was current. The function has been updated to use the status prop.
* Updated Jest integration test snapshots to account for the recent conversion of EuiLoader to Emotion
* Resolved failing tests in Jest suites 2 and 4. Updated required snapshots and references for tests using EuiLink
* Removed a console statement. Extracted a nested turnary operation into its own function.
* Rollback new turnary function and replace it with a simple if/else
* Rollback new turnary function and replace it with a simple if/else
* Rollback new turnary function and replace it with a simple if/else
* Rollback new turnary function and replace it with a simple if/else
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* Resolved failing test cases in Jest Suites 3 and 5 by updating required snapshots
* revert doc_viewer_source test and snapshot changes
* Take care of merge conflict in license_checker:
* Reverted .render() change for analytics_no_data_page.component.test.tsx. Restored snapshot
* Reverted .render() change for analytics_no_data_page.component.test.tsx. Restored snapshot
Co-authored-by: Constance Chen <constance.chen@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
* Customizable colors in basemaps
* Add operations to color selector
* Only use default color operations per style
Allowing the user to choose the operation is probably unnecessary at this step. The default operations work very well.
* Fix types
* Clean up cruft
* Update ems-client
* Fix license override
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Fix test
* Unneccesary type assertion
* Refactor color filters to use new EMSVectorTileStyle
* lint
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Review feedback
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] size legend
* clean-up
* refine spacing
* clean up
* more cleanup
* use euiTheme for colors
* fix jest test
* do not show marker sizes for icons
* remove lodash
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [maps] mvt labels
* eslint
* only request labels when needed
* update vector tile integration tests for hasLabels parameter
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* fix tests
* fix test
* only add _mvt_label_position filter when vector tiles are from ES vector tile search API
* review feedback
* include hasLabels in source data
* fix jest test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] term join in produce help
* snapshot updates
* i18n clean up
* API doc updates
* update API docs, update copy
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* i18n cleanup
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] fix Map panels should not show the user controls in a dashboard report
* fix jest tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [maps] Vector tile inspector adapter
* empty prompt
* add layer select
* tile request view
* show gridTile es path and body
* show error message
* hits request
* tab with editor
* clean up
* open in console
* do not track same tile multiple times
* remove layer from vector tile inspector when layer is removed
* refactor tile request generation
* show path in inspector
* requests view callout
* remove duplicated server side code
* remove unused files
* fix map_actions test
* open requests view when getting requests from inspector
* only show view when adapter is present
* fix open in console link not matching tile request
* tslint
* fix search sessions functional test
* update trouble shooting docs
* use bold in docs
* fix tiles at zoom level 0
* revert changes to mb_map
* include path when copying to clipboard
* clear inspector when layer type changes
* tslint fix
* clean-up
* update callout copy
* empty prompt copy
* copy updates
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Removed lens_multitable from lens_datatable
* Removed lens_multitable from heatmap.
* Added datasource to the metric.
* Added datasource expression to pie.
* Added datasource expression to gauge.
* Fixed tests.
* Removed LensMultiTable.
* Removed additional `kibana` expression from the xy to_expression.
* Removed lens_multitable from x-pack/maps.
* Removed unused translation.
* Added `handlers.inspectorAdapters.tables.reset` to all the expressions from lens.
* Fixed choropleth chart.
* Fixed gauge tests.
* Fixed jest tests with inspector.tables.reset.
* Added tests for the new behavior.
* first version of semi-sane results
* getting a bit more sophisticated
* wip on footer, page numbers not working, but logo working
* re-work PoC for readability, added a lot of comments
* change up formatting for readability
* added comment
* remove some comments and remove HACK
* use page.pdf function
* remove controls from shared PoC ui
* preserveDrawingBuffer fix for maps, needs review
* minor clean up
* update sass
* clean up experimental code
* moved a few files around to get this ready for review
* added appservices as print media code owners
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* added PDFJS to get num pages
* fix getting page number using pdfjs-dist
* update inline snapshot
* Revert "update inline snapshot"
This reverts commit eb413234a7.
* do not create a new page at the very end
* major overhaul, rather use puppeteers footerTemplate and headerTemplate to get visual parity with current reports
* add TODO
* update test fixture
* update doc comment
* remove whitespace
* fix missing time range from print PDF header and make size much smaller
* update tests
* update test
* try out slash instead of nbsp
* Revert "try out slash instead of nbsp"
This reverts commit 1de112a6f5.
* implement ability to inject logo using handlebars templates
* move assets to shared location
* fix injecting of values via handlebars and minor style tweaks for 3rd party logos
* inject a few more values to the footer
* update casing check
* use locales version of headless chromium zip
* fix tests and update sizing of logos
* use locales version for arm64 too
* fix jest test
* fix types
* made pdf capture check stricter
* fix PDF generation issue due to query bar rendering content that caused an issue; need to figure out what exactly the issue was...
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* [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>
* Fix imports from restricted paths
* Re-export EmbeddableRegistryDefinition from embedabble server and fix some imports
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] show no results found for vector tile aggregations
* one more clean up
* better test names
* tslint
* eslint
* revert changes to isLayerLoading
* remove unused import
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Reporting/Maps] fix background tiles in a map panel might not load in a screenshot report
* add unit tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>