Commit graph

5599 commits

Author SHA1 Message Date
Joe Reuter
9358fdce71
wait for loading before asserting filters (#139162)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-23 17:17:21 +02:00
Kibana Machine
048e933cb4 skip failing test suite (#139295) 2022-08-23 08:52:43 -04:00
Matthias Wilhelm
1a213bd7ce
[Discover] Fix legacy sort saved search stored in dashboard saved objects (#137488)
* Refactor and centralize sort functionality
2022-08-23 13:54:59 +02:00
Larry Gregory
bdbd227bb1
Add 'fork' to child_process hardening tests (#139222) 2022-08-23 07:53:28 -04:00
Julia Rechkunova
1a70f6fd37
[Discover] Support storing time with saved searches (#138377)
* [Discover] Implement UI for storing time with a saved search

* [Discover] Save time range data with a saved search

* [Discover] Improve updating of values

* [Discover] Restore time range after loading a saved search

* [Discover] Add time range validation

* [Discover] Add refresh interval validation

* [Discover] Update how saved search gets restored

* [Discover] Improve tests

* [Discover] Update tests

* [Discover] Improve type imports

* [Discover] Update copy

* [Discover] Fix types after the merge

* [Discover] Update test name

* [Discover] Fix types

* [Discover] Update mapping

* [Discover] Update mapping

* Explicitly set field limit for .kibana_ esArchives

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2022-08-23 10:53:55 +02:00
Julia Rechkunova
47b69298a5
[UnifiedFieldList] Move Field Stats from Lens to UnifiedFieldList plugin (#136328)
* [UnifiedFieldList] Bootstrap a new unifiedFieldList plugin

* [UnifiedFieldList] Move backend API for field stats from Lens to UnifiedFieldList plugin

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* [Discover] Address CI checks

* [UnifiedFieldList] Move field stats UI from Lens to UnifiedFieldList plugin

* [Discover] Integrate FieldStats into Discover field popover

* [Discover] Show both views side to side

* [Discover] Allow for some customization

* [Discover] Allow for more customization

* [UnifiedFieldList] Remove temporary code

* [UnifiedFieldList] Extract styles

* [UnifiedFieldList] Fix after merge

* [UnifiedFieldList] Extend i18n

* [UnifiedFieldList] Migrate stats API from server to public

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Before merging

* [UnifiedFieldList] After merging

* [UnifiedFieldList] Refactor localization keys

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Reintroduce server API for field stats and refactor integration tests

* [UnifiedFieldList] Update limits

* [UnifiedFieldList] Rename the component

* [UnifiedFieldList] Improve types

* [UnifiedFieldList] Add AbortController

* [UnifiedFieldList] Render counts in PopoverFooter in Lens

* [UnifiedFieldList] Hide new stats from Discover for now

* [UnifiedFieldList] Fix tests

* [UnifiedFieldList] Rename to loadFieldStats

* [UnifiedFieldList] Rearrange utils

* [UnifiedFieldList] Fix types

* [UnifiedFieldList] Fix references

* [UnifiedFieldList] Use emotion css

* [UnifiedFieldList] Increase limits

* [UnifiedFieldList] Add first tests

* [UnifiedFieldList] Add more tests

* [UnifiedFieldList] Refactor interface to accept services object

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Add docs

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* [UnifiedFieldList] Add missing references

* [UnifiedFieldList] Tmp

* [UnifiedFieldList] Revert changes from Discover for now

* [Discover] Add again new translation keys

* [UnifiedFieldList] Remove old translation keys

* [UnifiedFieldList] Update tests

* [UnifiedFieldList] Update data test subj prop

* Update src/plugins/unified_field_list/public/services/field_stats.ts

Co-authored-by: Davis McPhee <davismcphee@hotmail.com>

* [UnifiedFieldList] Lazy load FieldStats component

* [UnifiedFieldList] Lazy load loadFieldStats function

* [UnifiedFieldList] Fix tests

* [UnifiedFieldList] Remove newly added translations

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Davis McPhee <davismcphee@hotmail.com>
2022-08-23 10:08:37 +02:00
liza-mae
6e87b01f85
Fix cloud test failures for 8.4 (#139155)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-22 17:52:13 -06:00
Paul Tavares
6561ba86d2
[Security Solution][Endpoint] Response actions console FTR tests when entering from Timeline (#136903)
* new modules for timeline `PageObjects` and services for FTR
* fix `navigateToUrlWithBrowserHistory()` so that optional arguments are stringified to `undefined` when left empty
* Detection service: change waitForAlerts() to allow for a query + timeout to be passed in
* New super date picker pageObjects helpers
2022-08-22 08:33:04 -07:00
Tiago Costa
d5164311f2
skip flaky suite (#138160) 2022-08-22 13:54:27 +01:00
Joe Reuter
1e14da0aa6
retry click on filter to get popover to remove (#139164) 2022-08-20 09:32:09 +02:00
Spencer
9003353729
rename @elastic/* packages to @kbn/* (#138957)
* rename @elastic/* packages to @kbn/*

* update yarn.lock

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* update lint task

* review feedback

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-18 08:54:42 -07:00
liza-mae
99695135d9
[Upgrade] Fixes cloud upgrade test failures for 8.x (#138684)
* Update discover and canvas tests

* Add length

* Update rule name to have no spaces

* Fix calling function

* Try to close tooltip

* Fix rules spinner

* Move toggleLayerVisibility to gis_page

* Add wait for layers to load

* Remove unused declaration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-18 06:58:41 -06:00
John Dorlus
ba4f11f7e9
Add CCS Tests For Data Views (#138861)
* Updated test to use uiSettings.

* Added ccs tests for data views.

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Added more tests.

* Removed exclusive suites

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Reenabled all other CCS tests.

* Fixed merge conflict.

* Removed this from beforeeach and aftereach calls.

* Removed erroneous comment.

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-17 18:36:34 -04:00
Rashmi Kulkarni
1adabbcb23
unskipping the skipped test (#138855) 2022-08-15 16:59:56 -07:00
John Dorlus
74ad34014e
Optimized hybrid index pattern test (#138760)
* Updated test to use uiSettings.

* Optimized tests and removed some code.

* Fixed merge resolution.
2022-08-12 19:47:50 -04:00
Constance
7b11420ee9
Upgrade EUI to v62.0.3 (#138351)
* Upgrade to v62.0.3

* Update EUI i18n tokens

* Update html string snapshots

- Emotion CSS hash changed

* [EuiIcon] Update instances of `keyboardShortcut` icons to `keyboard`

* [EuiErrorBoundary] Update snapshots from Emotion conversion

* [EuiImage] Update snapshots, tests, and CSS to account for Emotion conversion

* [EuiImage][RTL] Fix test failures caused by EuiImage changes

* [EuiCommentList] Deprecate EuiCommentProps.type

* [EuiCommentList] Rename `timelineIcon` prop to `timelineAvatar`

- see https://github.com/elastic/eui/pull/6071

* [EuiCommentList] Fix selectors deprecated by Emotion conversion

* [EuiPopover][EuiCommentEvent][Enzyme] Fix mounted test failures caused by Emotion conversions

- Mounting displays the Emotion wrapper with the data-test-subj on them - we need to specify the output div renders in order for text assertions to be correct

* [EuiPopover] Deprecate `initialFocus={false}` as an option

see https://github.com/elastic/eui/pull/6044

* [EuiPopover] Rename `display=inlineBlock` to `inline-block`

- see https://github.com/elastic/eui/pull/5977

* [EuiPopover] Update snapshots from Emotion conversion

* [EuiPopover] Replace deprecated `.euiPopover__panel-isOpen` class with new `[data-popover-open]` attribute

* [EuiPopover][RTL] Fix test failures caused by not waiting for EuiPopover animation/transition

* Skip failing a11y tests

- test w/ similar error already skipped in another test above
- requires closing the popover for next test to pass
- not sure why delete action is no longer available

* Fix failing Security Cypress tests

* Attempt to squash flaky FTR tests around Add Filter popover

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-08-12 16:40:58 -07:00
liza-mae
a9a1828a23
Fix console tests on cloud (#138682)
* Fix console test on cloud

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Fix access to sample data

* Clean up access after test

* Fix restore test

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-12 10:03:18 -06:00
liza-mae
94b51c4da5
Fix management test to run against cloud (#138656)
* Fix test to run against cloud

* Keep original names
2022-08-11 13:02:41 -06:00
Uladzislau Lasitsa
d30f367eb3
[XY] Migrate vis type xy to new unified xy expression (#136475)
* Migrate vis type xy to new unified xy expression

* Add legend toggle and color picker. Some fixes

* Fix snapshots

* Fix tests

* Fix some tests

* Fix snapshots

* Fix tests

* Fix some tests

* Fix some tests

* Fix some more tests

* Update snapshot for area chart

* Fix dashboards tests

* Fix test

* Fix some remarks

* Fix tests

* Fix test

* Remove useAdjustedInterval arg

* Fix remarks

* Fix CI checks

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Fix CI

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Fix all remarks

* Remove unused code

* Fix Percentile aggragtion

* Fix problems with several series

* Fix problems with hidden series

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2022-08-11 18:33:11 +03:00
Hannah Mudge
00c8cf9e56
[Dashboard] View panel-level filters and queries (#136655)
* Use panel action to show filters

* Switch over to a modal

* Fix how I'm getting data views

* Deserialize and clean filters for getFilters

* Read only filter items

* Fix render of filter pills

* Fix title for read only filter pills + clean up code

* Add i18n support + fix types

* Provide Kibana uiSettings to modal

* Fix how panel titles are grabbed for functional tests

* Add jest tests for badge

[CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Remove focus trap from modal

* Add edit button to modal that redirects to visualize app

* Add tooltip to filter pills

* Add jest tests for modal

* Clean up badge code and move to modal

* Make filter pills focusable

* Add tooltip to readOnly filter pills only

* Add `getFilters` to saved search embeddable

* Add query to filters modal

* Support by reference embeddables - specifically for visualize

* Fix jest tests for modal

* Add i18n support for new form in modal

* Clean up code

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Fix jest tests for badge

* Temporarily disable for maps and add TODO comment

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Fix styling of modal + i18n of aria label

* Fix bundle size

* Address first round of feedback

* Add comments to public APIs

* Export missing API

* Add comments to public dashboard API

* Fix imports, types, and add more comments

* Fix losing of context

* Add more public API comments

* Add comments to each embeddable/dashboard container

* Add more public API comments

* Fix losing of context for real this time

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Fix jest test

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Address feedback

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-10 11:36:49 -06:00
Dmitry Tomashevich
247d2fb557
[Discover] Fix discover table cloud failure (#136487)
* [Discover]

* [Discover] try to exclude one test

* [Discover] move doc navigation tests into one file

* [Discover] exclude doc navigation tests

* [Discover] change test order

* [Discover] skip one test file

* [Discover] revert changes to check build result

* [Discover] try to skip one file

* [Discover] add test_logstash_reader role

* [Discover] unskip test file

* [Discover] add roles per each test which uses logstash

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-09 16:29:10 +03:00
Lee Drengenberg
e9609aff0c
don't load 1 minute of data twice (#138005) 2022-08-04 15:39:42 +01:00
Lee Drengenberg
73745fedf9
Normalize listing table data-test-subj (#137920)
* don't use es_archiver/empty_kibana, speed up steps

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* revert change to listing page

* revert this change and do in another PR

* normalize data-test-subjects on landing pages

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* revert shakespeare from another PR

* re-add missing dts

* found a few more replacements to change

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* another fix

* add data-test-subj for 'Create your first vis/dash'

* update jest snapshot

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-04 09:29:17 -05:00
Lee Drengenberg
148381bd19
[Archive Migrations] don't use es_archiver/empty_kibana in Shakespeare tests (#137797)
* don't use es_archiver/empty_kibana, speed up steps

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* revert change to listing page

* revert this change and do in another PR

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-03 08:17:46 -05:00
Liza Katz
af45ef831e
add flexible EBT Performance Metric Schema (#136395) 2022-08-03 15:21:24 +03:00
Stratoula Kalafateli
5625156d7f
[Unified search] Removes the tour component of the dataview picker (#137816)
* [Unified search] Removes the tour component which introduces the new dataview picker layout

* Removes unused translations
2022-08-03 14:23:03 +03:00
Baturalp Gurdin
ba6ff3bdb0
add EBT Labels through CI (#137530)
* add EBT Labels through CI

* remove prId from labels when it's not running on PR's

Co-authored-by: Spencer <email@spalger.com>

* adds parsing validation

Co-authored-by: Spencer <email@spalger.com>
2022-08-02 17:13:50 +03:00
Spencer
742e040ae3
[ftr/discover] split up configs (#137629) 2022-08-01 06:48:17 -05:00
Tiago Costa
371f091a14
Revert "add EBT Labels through configs (#136843)"
This reverts commit c476b453db.
2022-07-28 14:10:44 +01:00
Baturalp Gurdin
c476b453db
add EBT Labels through configs (#136843) 2022-07-28 14:04:11 +02:00
Matthias Wilhelm
bcbef78b4d
[Discover] Migrate indexPattern to dataView based naming (#132012) 2022-07-28 06:59:46 +02:00
Davis McPhee
998b11a9a8
[Discover] Disable refresh interval for data views without time fields and rollups (#137134)
* [Discover] Fix refresh interval running for non time series data

* [Discover] Clean up disable auto refresh interval code, and fix issue where going back and forward through history was not updating data view

* [Discover] Clean up discover_state tests

* [Discover] Add tests for disable auto refresh

* [Discover] Add comments for state syncing code
2022-07-27 13:38:11 -03:00
Joe Reuter
2348f56bd3
[TSVB] Format the label with the right default formatter (#136934)
* format the label with the right default formatter

* Update convert_series_to_vars.js

* fix test

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2022-07-27 16:33:47 +02:00
Byron Hulcher
1833bb314c
[Enterprise Search] Updated Fleet Integration tiles (#137231) 2022-07-26 19:49:20 -07:00
Bhavya RM
004cfbb227
Migrating test/new_visualize_flow/fixtures/es_archiver/kibana to kbnArchiver (#136768) 2022-07-26 11:59:25 -04:00
Stratoula Kalafateli
a296e4cc97
[Discover] Supports SQL query language (#134429) (#136702)
* [Discover] Supports SQL query language (#134429)

* Move the add dataview action above the dataview selection panel

* Implements a new selectable on the dataview picker for the text based languages

* Implementation of the transition modal when on SQL mode and select a dataview

* Fix es lint

* Change switch modal button modal icon

* Lazy load components

* Small changes on the styling of the switch without saving button

* Initialization of mocaco editor

* Change to the type

* Fixes types checks

* New submit button for query mode

* Implememtation of the expanded mode of the editor

* Implement documentation

* Implementation of the oneliner mode with ellipsis

* Some  fixes on the resizer

* Implementation of the errors layout, WIP

* Fetch SQL data in Discover

* Fix expression test

* Fix editor zIndex

* Fix types error

* Fix type check in Discover

* Fix more types

* some CI fixes

* Fixes

* Cleanup after merge

* Remove from state

* Connect search errors with the unified search editor

* Add error mrkers in unified search editor

* Save and open saved searches

* Filter out saved searches from text based languages

* Some fixes

* Fix unit tests

* Fix checks

* On save and exit modal implementation

* Add shortcut on the editor for submit query

* Fix wrong condition

* Initial types change

* Use regex to find the index pattern string

* Fix some types and cleanup

* Fix types

* Fix some types

* Further fixes

* More fixes

* More fixes

* Fix visualize types

* more

* More fixes

* Fixes more types

* Fix dashboard types

* Fix dashboard types

* Controls plugin types

* Fix Lens types

* Fix data plugin types

* Fix types in Lens 2

* buildEsConfig type fixes

* Fix observability types

* Fix maps types

* data visualizer types

* Fix ml types

* xpack rest types

* Fix jest test

* Fix

* Move helper functions to es config

* fix bug on breadcrumb click

* Fix time field bug

* Add enableSql advanced setting to discover for enabling the sql mode

* Make the documentation component more dynamic

* Add some comments, improvements

* Enhance storybook with the textbased languages

* Update storybook with the error state of the editor

* Adds a readme for the editor and fixes the modal mobile version

* [Discover] improve test and storybook for new data type

* [Discover] add functional tests

* Add aggregate functions to the documentation

* [Discover] fix tests

* Add some unit tests

* [Discover] fix linting

* [Discover] update linting

* More unti tests

* Dataview picker unit tests

* Fix a bug on the dataview picker

* Add unit tests for the editor

* Fix jest test

* [Discover] apply suggestions

* [Discover] adjust styles

* Fix some bugs and select columns in the sql mode

* [Discover] fix eslint and tests

* [Discover] update unit tests

* Fix bug on transitioning from sql mode to dataview mode

* [Discover] fix tests

* Design fixes on the errors messages

* [Discover] fix ci

* Update the columns only if the query changes

* [Discover] change isPlainRecord retrieval method

* Fix bug on cleanup

* Fix bug on opening a saved search

* [Discover] fix comments

* [Discover] fix bug with browser refresh

* [Discover] fix functional

* [Discover] fix another functional

* Fix ordering lost when the user refreshes the browser

* [Discover] revert use_discover_state

* [Discover] revert functional impl

* Fix security solution types

* Casting dashboard plugin

* Revert change

* type param

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Revert types changes

* More reverts

* Types fixes

* Fix Discover jest test

* Fix context app jest test

* Final types changes

* Fixes unit test

Co-authored-by: Dzmitry Tamashevich <diaamnj@mail.ru>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>

* Fix types

* Fix jest test

* More design fixes

* Update advanced setting description

* Further design changes

* [Discover] Remove document explorer header column edit data view field functionality (#136743)

* remove Edit data view field for SQL

* Fix the fix

* [Discover] Implement SQL data fetching for embeddable (#136793)

* remove Edit data view field for SQL

* Fix the fix

* Implement SQL for embeddable

* Fix non-saved-search embeddables

* Fix reporting bundle size

* Allow filters on dashboard level for sql searches

* Fix the radius on the editor

* Add vertical padding on the editor

* Change the theme

* Address PR comments

* Fix types

* Address some of the comments

* Fix bug on transitioning from SQL to dataview mode with the modal dismissed

* More types fixes

* Design review comments

* Discovery team review comments

* Fix jest tests

* Fix bug on navigating from the SQL mode to the dataview mode and back in sql mode by clicking the breadcrumb

* Update src/plugins/discover/public/application/main/hooks/use_discover_state.ts

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>

* Add padding to the top of the editor without creating any bug

* Add some padding to the bottom without creating any bug

* Fixes undo bug

* Fix confusing naming of variable

* Fix nested selects

* Update texts for transition modal and warning

* Make it work with dashboard Query

* Address some of the comments

Co-authored-by: Dzmitry Tamashevich <diaamnj@mail.ru>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2022-07-26 10:51:31 +03:00
Clint Andrew Hall
b459ffa4c6
[home] Sample Data Tab w/ callout UI (#136790)
* [home] Sample Data Tab w/ callout UI

* Fix tests

* Update packages/home/sample_data_tab_content/src/demo_env_panel.tsx

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Fixes

* Fixes

* Update test/functional/page_objects/home_page.ts

* Fix tests

* Add telemetry

* Add docs, more telemetry

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 18:34:32 -07:00
Spencer
36260fb358
[expressions] remove root-level redirect, import from common (#136997)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 08:07:43 -07:00
Alexey Antonov
d4bb959bea
[Step 3] VisEditors Telemetry enhancements (add new agg-based and lens telemetries) (#135615)
* initial comit

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* push chart_expressions logic

* update tests

* fix JEST

* push some telemetries

* fix some cases

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* update tests

* add some lens part

* add handlers.logRenderTelemetry method

* visGroup -> originatingApp

* remove visTpe, extra, onlyExtra

* remove handlers.logRenderTelemetry from handlers

* remove context from snapshots

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* add lens operations telemetry

* fix heaatmap, vislib

* push some telemetries

* cleanup

* push some logic

* fix merge conflicts

* push some logic

* add lens map telemetry

* add render_lens_vis_cases

* add render_lens_vis_observability_exploratory_view

* cleanup

* cleanup

* make getRenderEventCounters optional

* add summary_row and color_by_value telemetries

* try to fix double rendering

* update xy telemetries

* fix TSVB

* fix lens

* fix Timelion

* add mixed_xy telemetry

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Update x-pack/plugins/observability/public/components/shared/exploratory_view/lens_embeddable.tsx

Co-authored-by: Shahzad <shahzad31comp@gmail.com>

* Update x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx

Co-authored-by: Shahzad <shahzad31comp@gmail.com>

* Update expression_renderer.tsx

* update originatingApp

* Update expression_renderer.tsx

* add JEST for core changes

* Update plugin.ts

* Update src/plugins/expressions/common/expression_renderers/types.ts

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

* fix PR comments

* add renderComplete param to VisualizationContainer

* fix mixed_xy issue

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Shahzad <shahzad31comp@gmail.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
2022-07-25 15:33:10 +03:00
Joe Reuter
6e3f5850ff
stabilize legend filter click (#136925) 2022-07-25 01:38:54 -07:00
CJ Cenizal
9e1ce81ff3
[Console] Handle encoded characters in API requests (#136788)
* Revert "Revert "[Console] Handle encoded characters in API requests (#135441)" (#136750)"

This reverts commit 44d4b2a8d7.

* Debug

* Fix requests failing on cloud

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
2022-07-22 12:20:55 -07:00
Davis McPhee
90091baede
[Discover] Fix issue where Discover breadcrumb loses context after page refresh or when opening in a new tab (#136749) 2022-07-22 16:17:15 -03:00
Muhammad Ibragimov
1cbf53e355
[Console] Fix flaky tests (#136498)
* [Console] Fix flaky tests for comments and folds]

* Fix flaky test

* Remove dismissTutorial

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
2022-07-22 11:09:22 -07:00
Tim Sullivan
0b8b66f73f
[Data views] Add pre-configuration options to runtime field editor fly-out (#136769)
* [Data views] Add pre-configuration options to runtime field editor fly-out

* fix test

* more polish

* update example app functional test

* fix functional test

* improve comment

* fix unexported public apis

* comments for public apis

* restrict runaway metrics changes

* more comments for public api

* fix fn test

* revert updates to api_docs

* more public api comments in data_view_field_editor

* fix api comments

* add public api export

* clean up FieldFormatConfig types

* cleanup

* allow checkbox to be visually checked
2022-07-22 10:30:01 -07:00
Muhammad Ibragimov
4ad72fc876
[Console] Fix syntax highlighting for triple quotes (#136719)
* [Console] Fix syntax highlighting for triple quotes

* Add tests

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
2022-07-22 21:27:25 +05:00
Alejandro Fernández Haro
0865587302
Navigate to home app FTR helper should handle the Welcome screen (#136808) 2022-07-21 15:13:51 +02:00
CJ Cenizal
44d4b2a8d7
Revert "[Console] Handle encoded characters in API requests (#135441)" (#136750)
Preserve getResponseStatus page object function.
2022-07-20 17:15:44 -07:00
Spencer
b9436617f1
[ftr] prevent configs from using --oss flag (#136756) 2022-07-20 12:20:58 -07:00
Kibana Machine
c47cf1bb76 skip failing test suite (#136751) 2022-07-20 13:28:00 -04:00
Tre
7a54e0c675
[QA] Drop dead code (#136639)
* [QA][Code Coverage] Drop dead code

I'm hoping these jenkins related code coverage
scripts are no longer needed and can be removed.

* Dropping more after chatting with Spencer:
https://elastic.slack.com/archives/C5UDAFZQU/p1658234270426099
2022-07-20 16:18:25 +01:00