Commit graph

5599 commits

Author SHA1 Message Date
Mario Castro
34e51a6807
Add Elasticsearch Serverless Forwarder to integrations UI (#130085) 2022-05-11 17:55:54 +02:00
Catherine Liu
f71e5582b4
[Controls] Delete sync with query bar setting (#131554)
* Delete sync with query bar settings

* Removed query sync functional tests
2022-05-11 07:36:59 -07:00
Stratoula Kalafateli
c05f891793
[Pie] Run all functional tests for the new implementation (#131700)
* [Pie] Run all functional tests for the new implementation

* Fix CI

* Fix tests

* More fixes

* More test foxes

* Fix a11y tests

* Further fies

* Fix

* Further fixes

* Final fixes

* Fix more pie related tests

* Fixes more fixes

* Fix dashboard tests

* Fix dashboard filtering test

* Fix the reporting tests

* BWC tests
2022-05-11 17:31:15 +03:00
Alejandro Fernández Haro
10915c90d4
[EBT] Fix flaky test for Context Providers in the browser (#131957) 2022-05-11 08:17:16 +02:00
Joe Reuter
56376b397f
[Lens] Allow filtering on metric vis (#131601)
* make it work somewhat

* fix stuff

* fix types

* fix tests and types

* bug fixes and review comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-10 17:28:13 +02:00
Andrew Tate
57597f7617
[Lens] update default legend size to medium (#130336) 2022-05-10 08:03:05 -05:00
Alejandro Fernández Haro
ab43a29f01
[EBT] Track "click" events (#131755)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-10 14:04:45 +02:00
Pierre Gayvallet
e4c11e3f39
Newsfeed: always use feeds.elastic.co (#131786)
* Newsfeed: always use `feeds.elastic.co`

* fix FTR test
2022-05-10 09:16:15 +02:00
Tiago Costa
53d170aeca
skip flaky suite (#131729) 2022-05-09 17:34:43 +01:00
Stratoula Kalafateli
ed70cb1dbe
[TSVB] Wait for viz to be stabilized after changing the timerange mode (#131690)
* [TSVB] Wait for viz to be stabilized after changing the timerange mode

* Address PR comments
2022-05-06 15:40:10 +03:00
Alejandro Fernández Haro
8539a912b5
[EBT] Core Context Providers (#130785) 2022-05-06 10:42:05 +02:00
Stratoula Kalafateli
0d4cc4dc32
[Unified search] Improves the current filter/search experience (#128401)
* [Unified search] Moves dataview picker to the search bar (#126560)

* [Unified search] Moves dataview picker to the search bar

* alter texts

* Remove unused file

* [ChangeDataView] Design cleanup

* Fix services mock failure

* Show newly created datavuew on the list

* Keep dataview picker in discover in mobile view

* Cleanup

* Cleanup translations

* Fix some discover FTs

* Fix management FTs

* More test fixes

* Added a dismissible tour

* Pulled the selectabl list into a new component

… for reuse

Called `DataViewsList`. I then changed Lens’ config panel’s own EuiSelectableList to use this new component instead.

*Didn’t do any test updates*

* Fix broken jest test

* Use the same picker component on Discover mobile view

* Apply some CI fixes

* Fix more functional tests

* More FTs fixes

* Close the tour popover for lens tests

* More FTs fixes

* Fix lens FTs

* Using new `styles.ts` pattern for custom styles and allowing for `fullWidth` buttons

* Better tour text and i18n

* Update copy

* No exclamation point

* Cleanup

* Fixes on discover tests

* Fixes on Lens Fts - create runtime fields

* Fixes on edit permission of add field in discover and some FTs fixes

* Further Fts fixes

* More FTs fixes

* Made tour opt-in with `showNewMenuTour`

* Refactor the OSS FTs to change less files

* Further cleanup on the FTs

* Remove unecessary action

* Fix dataview creation bug

* Add a unit test to the new component

* More fixes

* Fix OSS a11y tests

* Adds another unit test for Lens permissions

* Make a change to stabilize the tests

* Clear flyout prop as it is not used anymore

* Deisgn fixes for mobile view

* Address PR comments WIP

* Update the layrpanl dataview list when a new dataview is created

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* fix test

* Fix CI

* Fix i18n checks

* [Unified search] Redesign search bar (#126566)

* [Unified search] Redesign search bar

* Changes to the saved queries design

* Remove `globalQueryBar` from nested under `.kbnTopNavMenu__wrapper`

* [Security Solution] Removing overrides of `.globaQueryBar`

* Cleanup of `.globalQueryBar` styles and variants

* General layout fixes/adjustments

* More general layout fixes and better defaults

* Enable Clear all button if saved query is applied

* Clear should be enabled if searched query is applied but not the save as new

* fix some bugs on enabling and disabling the menu options

* [design] Working on Load Filter set menu

* Indicate selection even before the user clicks apply

* prettify the time text

* Add delete saved qquery confirmation modal

* Some cleaning up

* Fix the manage saved queries link

* Enable load filter set if saved query is created for the first time

* Some fixes on linting and on translations

* Clanup scss

* Make some fixes

* Fix navigatation unit test

* Fix translations check

* Fix rest jest tests

* Fix some functional tests

* Fix checks

* Fixes the appearance of the searchbar components depending on the flags

* Fix OSS tests

* Fixes on tests and query bar logic

* Fix the OSS ally tests

* Fix graph and lens KQL bar display problems, apply saveQuery flag correctly

* Fix more tests

* Fix security solution test

* Undo tweaks for graph

* Better fix for Graph

- Emulate new look, not old
- Uses same context menu panel as the new one
- Provides the same button type (filter button)

* Fix checks and jest test

* Further fixes

* Fix language switcher test

* Hopefully fixes the rest of the solution tests

* Cleanup

* Fixes on maps filtering

* Fix Discover padding

* [Discover] Added New Field button to bottom of fields list

* Simple responsive behavior

* Quick filter updates

* CI fixes

* area-label fix

* 18n translate the add filed btn in discover

* Fix lens functional test

* fix functional tests

* Refactor and add unit test for the add filter button

* Add unit test to the saved management list component

* Stabilize lens test

* Second try to solve the flakiness

* Fix panels depending on the flags

* Fix jest tests

* Fix double menu when only the queryInput is on

* Add storybook for the different layouts of the unified search bar

* Fix ci checks

* Removee hooks comment

* Fix flakiness

* Fix problem with lens dataview change

* Fix checks

* Ensure that the query is submitted

* Fixes oon CI

* Fixes flakiness

* Fix checks CI

* Update texts

* Cleanup

* Fix unskipped funtional test

* Fix FT

* Update src/plugins/unified_search/public/saved_query_form/save_query_form.tsx

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Fix eslint

* Fix checks

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Fix jest

* Fix jest tests

* Stabilize discover security tests

* [Unified search] Further enhancements (#129877)

* [Unified search] Redesign search bar

* Changes to the saved queries design

* Remove `globalQueryBar` from nested under `.kbnTopNavMenu__wrapper`

* [Security Solution] Removing overrides of `.globaQueryBar`

* Cleanup of `.globalQueryBar` styles and variants

* General layout fixes/adjustments

* More general layout fixes and better defaults

* Enable Clear all button if saved query is applied

* Clear should be enabled if searched query is applied but not the save as new

* fix some bugs on enabling and disabling the menu options

* [design] Working on Load Filter set menu

* Indicate selection even before the user clicks apply

* prettify the time text

* Add delete saved qquery confirmation modal

* Some cleaning up

* Fix the manage saved queries link

* Enable load filter set if saved query is created for the first time

* Some fixes on linting and on translations

* Clanup scss

* Make some fixes

* Fix navigatation unit test

* Fix translations check

* Fix rest jest tests

* Fix some functional tests

* Fix checks

* Fixes the appearance of the searchbar components depending on the flags

* Fix OSS tests

* Fixes on tests and query bar logic

* Fix the OSS ally tests

* Fix graph and lens KQL bar display problems, apply saveQuery flag correctly

* Fix more tests

* Fix security solution test

* Undo tweaks for graph

* Better fix for Graph

- Emulate new look, not old
- Uses same context menu panel as the new one
- Provides the same button type (filter button)

* Fix checks and jest test

* Further fixes

* Fix language switcher test

* Hopefully fixes the rest of the solution tests

* Cleanup

* Fixes on maps filtering

* Fix Discover padding

* [Discover] Added New Field button to bottom of fields list

* Simple responsive behavior

* Quick filter updates

* CI fixes

* area-label fix

* 18n translate the add filed btn in discover

* Fix lens functional test

* fix functional tests

* Refactor and add unit test for the add filter button

* Add unit test to the saved management list component

* Stabilize lens test

* Second try to solve the flakiness

* Fix panels depending on the flags

* Fix jest tests

* Fix double menu when only the queryInput is on

* Add storybook for the different layouts of the unified search bar

* Fix ci checks

* Removee hooks comment

* Fix flakiness

* Fix problem with lens dataview change

* Fix checks

* Ensure that the query is submitted

* Fixes oon CI

* Fixes flakiness

* Fix checks CI

* Update texts

* Cleanup

* Fix unskipped funtional test

* Fix FT

* Fixes filter bar responsiveness

* Add filter button option to the main menu

* Filter form design pass

- Added tooltip around “Add filter” icon button
- Fixed padding
- Stubbed in “Add” vs “Edit” labels

* Query menu icon button tooltip

* ‘Update’ not ‘Edit’ button label

* Apply different strings for adding filter mode vs edit

* Hide Manage SO link if the user donesnt have the permissions

* Fix the wrapping of the badges and datepicker badge

* Minor props naming fix

* Fix checks

* Fix mobile

* Cleanup

* Fix checks

* Faux button group

* Changes on the search input placeholder

* Fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* Fix translations

* Fix security solution add filter bug

* Filter bar / items: Reduce to only necessary wrappers and styles

- Switch to Emotion for styling
- Rename `FilterBadgesWrapper` to `FilterItems`
- Move `FilterItems` and `FilterItem` so own folder `filter_item/`

# Conflicts:
#	src/plugins/unified_search/public/filter_bar/filter_bar.tsx
#	src/plugins/unified_search/public/filter_bar/filter_editor/lib/filter_label.tsx
#	src/plugins/unified_search/public/filter_bar/filter_item/filter_item.tsx
#	src/plugins/unified_search/public/filter_bar/filter_item/filter_items.tsx
#	src/plugins/unified_search/public/filter_bar/filter_view/index.tsx
#	src/plugins/unified_search/public/query_string_input/filter_editor_wrapper.tsx
#	src/plugins/unified_search/public/search_bar/search_bar.tsx

* Fix styles by removing styled-components

Also added prop `afterQueryBar` to signify that it needs the top margin

# Conflicts:
#	packages/kbn-babel-preset/styled_components_files.js

* Refactor `SearchBar` and `QueryBarTopRow` a bit

- Added `showSubmitButton` to explicitely hide the submit button (defaults to true)
- SearchBar always renders the `QueryBarTopRow` which now fully controls visibility of the pieces
- Renamed class with new `uni` prefix
- Tried and failed to use Emotion

* Update usages

# Conflicts:
#	x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx

* Fix a test

* Fix jest test

* Attaches filter menu when no add button and better dropdown styles

* Fix lint errors

* Clearing the query and filters of a saved query should unload the saved query

* Do not allow to update the loaded saved query if no filters or no query

* Fix Graph by creating reusable `KibanaFilterButtonGroup`

* Use EuiTheme for SearchBar styles

Updated `displayStyle` for Lens & Discover

* Fix displayStyle prop problem

* Correct alignment of data visualizer

* Super nit comment

* Data visualizer improvements

* Apply useMemo in editPermission cont in Discover

* Fix translations checks

* Fix translations checks

* Fix filter badge popover bug

* [Submit button] Changed to EuiSuperUpdateButton

- Quickly adds tooltip content and filled state for more prominence when dirty
- Fixed 18n

* Fix tests

* Align the position with the other tolltips and check that functional tests succeed

* Give some time to the tooltip to disappear

* Fix tests

* Fix CI checks

* Address PR comments

* Move constants outside render

* Apply PR comments

* Fix dataview picker glich

* lovercase emotion function

* Fix a11y problem on dataview picker

* Lowercase rest of emotion style functions

* Clean up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-05-06 10:10:01 +03:00
Julia Rechkunova
58bc0f759e
[Discover] Provide direct link from sample data UI to Discover (#130108)
* [Discover] Allow to view sample data in Discover

* [Discover] Update deps format

* [Discover] Define order of items in the context menu

* [Discover] Update for tests

* [Discover] Add upgrade tests

* [Discover] Add a test for ordering appLinks

* [Discover] Use existing helpers

* [Discover] Add 7 days time range to Discover link

* [Discover] Rename the helper

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-05 11:34:43 +02:00
Spencer
542b381fa5
[ftr] automatically determine config run order (#130983)
* [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>
2022-05-04 17:05:58 -05:00
Alejandro Fernández Haro
7226982759
[EBT] Add Elastic V3 Shippers (#130696)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-04 09:22:34 -07:00
Alejandro Fernández Haro
5f06375fe6
[FullStory] Document browser exposed config in the test (#131527) 2022-05-04 08:15:33 -07:00
Alejandro Fernández Haro
13c928d4f3
[FullStory] Filter custom events by an allowlist (#131148) 2022-05-04 13:08:25 +02:00
Joe Reuter
8ace5e4755
wait for vis update before asserting chart (#131304) 2022-05-02 11:58:29 +02:00
Julia Rechkunova
71e926b202
[Discover] Fix "shows top-level object keys" flaky test (#131241) 2022-04-29 20:31:04 +02:00
Anton Dosov
e603d92552
Remove data_enhanced plugin (#122075)
Code moved into `data` plugin
2022-04-29 16:43:59 +02:00
Ester Martí Vilaseca
b0fff69b2a
[Unified Observability] Clean overview page feature toggle (#130650)
* Move old overview page to index

* remove overview page feature toggle

* Remove code for old alerts section

* Fix translations

* remove feature toggle from tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-29 09:02:46 +02:00
Joe Reuter
1fbf477afb
Stabilize VisEditors tests by waiting for the chart to update (#131120)
* add wait for chart calls

* move wait

* fix test
2022-04-28 12:53:26 +02:00
liza-mae
26217f3a7a
Upgrade patch reporting issue, add more tests, reorganize files (#130839)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-26 11:52:36 -06:00
Brian Seeders
7ff1ffca5e
[CI] Split OSS CI Group 11 (#130927) 2022-04-26 13:07:32 -04:00
Brian Seeders
799ec1b2d4
[CI] Various lens test/combobox speedups (#130934) 2022-04-26 11:11:15 -04:00
Patrick Mueller
6ad418b275
[ResponseOps][actions] add config for allow-listing email address domains (#129001)
resolves https://github.com/elastic/kibana/issues/126944

Adds a new configuration setting for the actions plugin,
xpack.actions.email.domain_allowlist, which is an array of domain name
strings which are allowed to be sent emails by the email connector.
2022-04-26 10:05:16 -04:00
Alexey Antonov
fb6f64f5a4
Fix Tests.test/functional/apps/visualize/_tsvb_time_series.ts (#130599)
* Tests.test/functional/apps/visualize/_tsvb_time_series·ts - visualize app visualize

* Update _tsvb_time_series.ts
2022-04-24 06:26:38 -07:00
Pierre Gayvallet
a02c00b8a3
Change ContextContainer to lazily initialize providers (#129896)
* Change ContextContainer to lazily initialize providers

* Introduce CustomRequestHandlerContext, start adapting usages

* adapt IContextProvider's return type

* start fixing violations

* fixing violations - 2

* adapt home routes

* fix remaining core violation

* fix violations on core tests

* fixing more violations

* fixing more violations

* update generated doc...

* fix more violations

* adapt remaining RequestHandlerContext

* fix more violations

* fix non-async method

* more fixes

* fix another await in non async method

* add yet another missing async

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

* add yet yet another missing async

* update fleet's endpoints

* fix telemetry endpoints

* fix event_log endpoints

* fix some security unit tests

* adapt canvas routes

* adapt alerting routes

* adapt more so_tagging routes

* fix data_enhanced routes

* fix license_management routes

* fix file_upload routes

* fix index_management routes

* fix lists routes

* fix snapshot_restore routes

* fix rule_registry routes

* fix ingest_pipelines routes

* fix remote_clusters routes

* fix index_lifecycle_management routes

* improve and fix the lazy implementation

* fix triggers_actions_ui endpoints

* start fixing unit tests

* fix cases routes

* fix transform routes

* fix upgrade_assistant routes

* fix uptime route wrapper

* fix uptime route wrapper bis

* update osquery routes

* update cross_cluster_replication routes

* fix some ML routes / wrappers

* adapt maps routes

* adapt rollup routes

* fix some canvas unit tests

* fix more canvas unit tests

* fix observability wrapper

* fix (?) infra type hell

* start fixing monitoring

* fix a few test plugins

* woups

* fix yet more violations

* fixing UA  tests

* fix logstash handlers

* fix fleet unit tests

* lint?

* one more batch

* update security_solution endpoints

* start fixing security_solution mocks

* start fixing security_solution tests

* fix more security_solution tests

* fix more security_solution tests

* just one more

* fix last (?) security_solution tests

* fix timelion javascript file

* fix more test plugins

* fix transforms context type

* fix ml context type

* fix context tests

* fix securitySolution withEndpointAuthz tests

* fix features unit tests

* fix actions unit tests

* fix imports

* fix duplicate import

* fix some merge problems

* fix new usage

* fix new test

* introduces context.resolve

* down the rabbit hole again

* start fixing test type failures

* more test type failures fixes

* move import comment back to correct place

* more test type failures fixes, bis

* use context.resolve for security solution rules routes

* fix new violations due to master merge

* remove comment

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-22 13:15:58 +02:00
Diana Derevyankina
706d9268ef
[test-failed]: Chrome UI Functional Tests1.test/functional/apps/discover/_filter_editor·ts - discover app discover filter editor filter editor version fields should support range filter on version fields (#129847)
* [test-failed]: Chrome UI Functional Tests1.test/functional/apps/discover/_filter_editor·ts - discover app discover filter editor filter editor version fields should support range filter on version fields

* Set "version_test" permissions to kibana_admin role

* Add after block to reset permission

* Add "test_logstash_reader" role

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-22 14:08:35 +03:00
Nodir Latipov
7c01257055
[Unified Search] Move autocomplete logic to unified search plugin (#129977)
* feat: move autocomplete logic from data plugin to unified search

* minor fix after comments

* updated Documentation: data.autocomplete -> unifiedSearch.autocomplete

* changed renameFromRoot order for autocomplete

* removed extra renameFromRoot in config deprecations, updated test

* added configPath for unified search plugin

* Update kibana.json

* updated path to autocomplete

* fix conflict

* fix conflict

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

* fix Linting

* fix functional_with_es_ssl test
2022-04-22 11:02:56 +05:00
Alison Goryachev
47918ae0be
[Console] Add Kibana APIs Support (#130816)
* Revert "Revert "[Console] Add Kibana APIs Support (#128562)""

This reverts commit f41dc1fcc9.

* fix functional test
2022-04-21 14:30:14 -07:00
Hannah Mudge
5a86421003
[Controls] Clear range/time slider selections when field changes (#129824)
* Reset selections on save of existing control

* Allow reset to force render for range/time sliders

* Reset selections only when field name or data view changes

* Make generic DataControlInput interface

* Fix infinite useEffect + imports + types

* Simpler solution without resetSelections()

* Add functional tests

* Apply Devon's changes
2022-04-21 13:39:09 -06:00
Jonathan Budzenski
f41dc1fcc9 Revert "[Console] Add Kibana APIs Support (#128562)"
This reverts commit 502a00b025.
2022-04-21 10:26:40 -05:00
Muhammad Ibragimov
502a00b025
[Console] Add Kibana APIs Support (#128562)
* Add support for Kibana API requests

* Fix failing tests

* Support leading / and minor refactor

* Resolve conflicts

* Update send_request.test file

* Refactor

* Add functional test

* Address comments

* Fix typo

* Resolve conflicts and refactor error handling

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

* Address comments

* Resolve merge conflicts

* Rename KIBANA_API_KEYWORD

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-21 09:49:04 -05:00
Byron Hulcher
a3fd86c22a
[Workplace Search] New Network Drive, Outlook, Teams, and Zoom Server integration tiles (#130421) 2022-04-21 09:00:52 -05:00
Muhammad Ibragimov
6447923591
[Console] Fix condition auto-completion for templates (#126881)
* Fix condition autocompletion for templates

* Added block level matching logic

* Fix lint

* Fixed types

* Resolved comments

* Added a custom type guard

* Minor refactor

* Add type to type imports

* Add functional tests and comments

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-21 03:45:18 -07:00
Jonathan Budzenski
0082e0cb06
[artifact testing] Bump VM boot timeout (#130735)
We saw a flaky `vagrant ssh` timeout in a CI run, possibly caused by a
busy host.  This doubles the VM setup timeout from 5 minutes to 10
minutes.
2022-04-20 16:13:59 -05:00
Brian Seeders
5beae64ea9
[CI] Move most tests from oss ciGroup6 to ciGroup5 (#130709) 2022-04-20 16:09:37 -04:00
Brian Seeders
d0643e0eaa
[CI] Move most tests from oss ciGroup2 to ciGroup11 (#130712) 2022-04-20 15:23:31 -04:00
spalger
4b6c19ae21 skip flaky suite (#130694) 2022-04-20 12:24:02 -05:00
Alejandro Fernández Haro
fbc8a7176b
[EBT] Split @elastic/analytics package (#130574)
Co-authored-by: Spencer <spencer@elastic.co>
2022-04-20 15:45:37 +02:00
Dmitry Tomashevich
0355c2e010
[Discover] Improve document explorer callout (#129972)
* [Discover] improve document explorer callout

* [Discover] fix functional tests

* [Discover] try to fix functional

* [Discover] close callout when it needed

* [Discover] fix test subj label

* [Discover] fix test

* [Discover] fix functional test

* [Discover] another try

* [Discover] dismiss callout

* [Discover] add retry

* Improve data_grid.ts getHeaderFields code

- so it no longer fails when the header fields are rendered but not visible due to callout rendering

* Improve links

* Cleanup

* Improve getDocTableIndex code

* Fix functional

* Size, icon, and button tweaks

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2022-04-20 15:39:38 +05:00
Spencer
2a78f350e1
break out parts of @kbn/dev-utils (#130509)
* break out parts of @kbn/dev-utils

* autofix imports and kbn/pm dist

* update readme for @kbn/stdio-dev-helpers

* finish renames
2022-04-19 12:24:58 -05:00
Joe Reuter
37414f2cb2
[Visualize] Unksip test (#130529)
* unksip test

* fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-19 18:17:54 +02:00
Stratoula Kalafateli
c8ef57267e
[Visualize] Adds a functional test for partial rows (#130528) 2022-04-19 17:02:02 +03:00
Brian Seeders
fb87699eb8
[functional-tests] TimePicker optimizations (#130200) 2022-04-18 16:13:19 -04:00
spalger
3730dd0779 fix all violations 2022-04-16 01:37:30 -05:00
liza-mae
6f6a332fb2
Fix roles for discover ccs test (#130204)
* Fix roles for discover ccs test

* Update roles based on config
2022-04-14 09:25:33 -06:00
Matthew Kime
9c360f537b
[data view mgmt] fix flaky scripted fields test (#126992)
* more debugging

* more debugging

* more debugging

* add a couple of retries

* no reason to reset filter

* Update tabs.tsx

* Update _scripted_fields_filter.ts
2022-04-14 09:38:58 -05:00
Kibana Machine
f9dd12937b skip failing test suite (#130190) 2022-04-14 08:41:16 -05:00