Commit graph

587 commits

Author SHA1 Message Date
Kibana Machine
800489aadb skip failing test suite (#145560) 2022-11-17 10:41:32 -05:00
Kibana Machine
cbc9f8061a
wait for rendering before comparing filters (#141573) (#141611)
(cherry picked from commit d8a1331682)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-09-23 05:42:35 -07:00
Rashmi Kulkarni
3f62679852
timepicker change for tsvb_charts (#140230)
* timepicker change

* timepicker change

* remove comments
2022-09-09 16:49:55 -04:00
Spencer
5adda1f63b
[ftr/testSubjects/clickOnEnabled] retry on stale-element exceptions (#139964)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-06 08:28:09 -07:00
Lee Drengenberg
8d412c6ac6
[Archive Migration] batch 3 of removing es_archives/empty_kibana (#139319)
* replace es_archiver/empty_kibana with cleanStandardList

* [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>
2022-08-23 18:01:31 -05:00
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
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
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
Shivindera Singh
c8520f941a
show empty prompts in page and don't auto-open flyout in DataViews (#134469)
* show empty prompts in page and don't auto-open flyout in DataViews

* changed flow based on comments

* fix for namespace issues

* fix for failed checks

* fixes for failed checks and tests

* fix failing tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-28 02:12:19 -07:00
Joe Reuter
ea6b79dfbc
fix flaky test (#134634) 2022-06-17 11:26:32 +02:00
Kibana Machine
5135d899df skip failing test suite (#134515) 2022-06-16 11:22:08 -04:00
Stratoula Kalafateli
45ff66a648
[Timelion] Removes the legacy charts library (#134336)
* [Timelion] Removes the legacy library

* Removes unused translations
2022-06-15 09:57:44 +03:00
Shivindera Singh
5731d1aa58
ability to set human readable title of data view & ability to edit data view (#124191)
* ability to set human readable title of data view & ability to edit data view

* add readable data view title to discover

* fix for failing API test

* fix and add functional tests

* add missing lens support

* update snapshots after name change

* fix for broken test and type checks

* fix condition check

* remove description, rename readableTitle to name and fixes

* revert kibana.yaml change

* fixes for failed tests

* fixes for broken tests

* fix functional tests 2

* add confirm modal for edit

* update header to match figma

* fix data views with index pattern

* fix for badge breaking in test due to index change

* remove unused translations

* comment fixes and add name to sample data

* fix test for adding names to sample data

* some ui changes

* fix for failing tests for removing Actions

* comment fixes, change edit modal, fix breadcrumbs

* change copy and fix for failing tests

* change text to have unique key

* update jest snapshots

* fixes for unified_search and some ui changes

* add test fixes and disabled editing data view id when in edit mode

* fix for translation bug

* fix for failing tests

* review comment changes

* some nit fixes

* revert the operation change check

* fixed name not showing in dashboard with visualizations from different dataviews

* added a comment for the management breadcrumb
2022-06-08 09:59:41 -07:00
Stratoula Kalafateli
465c419902
[Visualize] Renders no data component if there is no ES data or dataview (#132223)
* [Visualize] Renders no data component if there is no ES data or dataview

* Fix types

* Adds a functional test

* Fix FTs

* Fix

* Fix no data test

* Changes on the dashboard save test

* Add a loader before the data being fetched

* Add check for default dataview

* A small nit

* Address PR comments
2022-05-18 18:00:31 +03:00
Joe Reuter
7f6f777fd8
[Lens] Check whether metric is filterable (#132043) 2022-05-17 16:24:56 +02: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
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
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
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
Joe Reuter
8ace5e4755
wait for vis update before asserting chart (#131304) 2022-05-02 11:58:29 +02:00
Brian Seeders
7ff1ffca5e
[CI] Split OSS CI Group 11 (#130927) 2022-04-26 13:07:32 -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
Stratoula Kalafateli
c8ef57267e
[Visualize] Adds a functional test for partial rows (#130528) 2022-04-19 17:02:02 +03:00
spalger
3730dd0779 fix all violations 2022-04-16 01:37:30 -05:00
Diana Derevyankina
1c72b56acb
Failing test: Chrome UI Functional Tests.test/functional/apps/visualize/_tsvb_time_series·ts - visualize app visualize ciGroup11 visual builder Time Series basics Clicking on the chart should create a filter for series with multiple split by terms fields one of which has formatting (#129840)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-11 10:25:29 -07:00
Kibana Machine
dcbf9daa00 skip failing test suite (#129785) 2022-04-11 11:38:23 -05:00
Diana Derevyankina
3dc61c89d7
[TSVB] Apply filter event is not working for formatted fields (#128228)
* [WIP][TSVB] Apply filter event is not working for formatted fields

* Add termsSplitValue that might be as single string for terms as MultiFieldKey for multi terms, that allows to create filters for grouped by multi terms data

* Update tests and fix some nits

* Add couple of functional tests

* Remove flaky test

* Update test to fix flakiness

* Fix some nits

* Shorten a condition

* Fix import

* Wrap setting combo box values into retry.try to get rid of flakiness

* In functional test increase sleep a bit to make sure group by field has appeared

* Refactor some code

* Try again to update test coordinates

* Update test coordinates

* Fix condition for terms value

* Fix export of MultiFieldKey

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-07 18:04:41 +03:00
Spencer
be1028c345
[functional/security/test-user] remove naked boolean (#126652)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-03 08:56:56 -07:00
Yaroslav Kuznietsov
54de36f85a
[PieVis] PartitionVis integration to Lens. (#123937)
* Removed pie/donut/mosaic/treemap expressions from lens

* Replaced pie/donut/mosaic/treemap expressions with expressions from expression_partition_vis

* Fixed bug with __other__ labels.

* Cleaned up not used fields at Lens.

* Added support of empty results for multiple chart types.]

* Refactored visualization_noresults.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-14 16:55:57 +02:00
Joe Reuter
5babc9f663
[TSVB] Use panel interval for annotations (#125222) 2022-02-14 14:33:55 +01:00
Diana Derevyankina
110dc8b7cb
[TSVB] Add more functional tests for Timeseries Annotations (#123906)
* [TSVB] Add more functional tests for Timeseries Annotations

* Move common code to beforeEach block

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-29 00:29:04 +03:00
Alexey Antonov
7e1b780672
[TSVB] Fix shard failures are not reported (#123474)
* [TSVB] Fix shard failures are not reported #122944

Closes: #122944

* fix PR comments

* Update ui_settings.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-27 16:12:50 +03:00
Diana Derevyankina
6ee1e37a36
Timelion rescaling vertical bounds incorrectly on window resize (#123534)
* Timelion rescaling vertical bounds incorrectly on window resize

* Update test axis labels data as chart has another scale due to updated padding

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-24 16:46:15 +03:00
Alexey Antonov
31b805a314
[TSVB] Fix the broken "aggregate function" in TSVB table (#119967)
* [TSVB] Fix the broken "aggregate function" in TSVB table

Closes: #91149

* [TSVB] Table series filter and aggregation function applied at the same time cause an error

# Conflicts:
#	src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/split_by_everything.ts
#	src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/split_by_terms.ts

* some work

* filter terms columns

* fix error message on no pivot_id

* fix CI

* enable aggregation function for entire timerange

* fix PR comments

* update check_aggs

* fix series aggs for table

* unify error messages

* fix pr comment: restrictions: UIRestrictions = DEFAULT_UI_RESTRICTION

* fix i18n translation error

* fixes translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-04 15:27:46 +03:00
Alexey Antonov
031c83d9fb
[TSVB] "Bucket script" and "Series Agg" should be active for "timerange" mode (#121301)
* [TSVB] Bucket script is disabled for timerange mode

Closes: #121270

* fix PR comments

* fix serias aggs for table

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-23 11:23:13 +03:00
Trevor Pierce
34dd8964e3
Bumping EUI to v41.2.2 (#119205)
* Bumping EUI to v41.2.0

* Updating translations for EUI Super Select.

* Bumping to v41.2.1 for an EUI fix.

* Updating ten Jest snapshots

* Removing reference to packaged datepicker now in EUI.

* Final removal of packaged Datepicker reference.

* Updating snapshots and datagrid test defaults.

* Fixing last functional test for data grid

* Reverting data source to upstream example for one test.

* Adding a fix for _data_table.ts test.

* Adding a fix for _data_table)notimeindex_filters.ts

* Bumping to 41.2.2 patch fix

* Removing unneeded test code and updating comment

* Bumping to 41.2.3 for bug fix.

* Adding a missed file.

* Adjusting test for tooltip overlap assertion.

* Updating two tests in Security Solution Platform.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-08 14:23:48 -06:00
Stratoula Kalafateli
fea4d2acfb
[Visualize] New heatmap implementation with elastic-charts (#118338)
* [WIP][Heatmap] Creates implementation with elastic-charts

* Fix types and connection with vislib

* Add coloring options

* Brush, click events, coloring etc

* Cleaning up the expression function

* Add legend picker, fix sorting and other fixes

* Further fixes

* Use the shared expression to Lens and cleanup

* PrepareLogTables for new expression function

* Use common renderer and expression function with lens

* Fix i18n

* Small tweaks

* Add unit tests

* Adds a unit test to the heatmap component

* update plugin list

* Fix types

* Fix types

* update limits

* Change to the expression function

* Cleanup translations

* Refactor to use vis

* Fix types

* further cleanup of the translations

* register new setting

* Fix sorting for histogram

* Adds functional tests for the new nisualize heatmap

* Cleanup

* Fix

* Apply PR comments

* Address PR comments

* Fix i18n

* Fix i18n

* Makes the <Heatmap /> id dynamic

* reverse

* fix translation file

* Apply design PR comments

* Fix package

* More fixes

* Fix brush problem

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-30 19:40:02 +02:00
Joe Reuter
eb2cca6971
shorten firefox TSVB test (#119295) 2021-11-22 17:21:42 +01:00
Joe Reuter
2f45be98a2
retry all suggestion checks (#118310) 2021-11-12 11:54:10 +01:00
Brian Seeders
8ba9ebf592
[CI] Rebalance/split cigroups and speed up overall CI time (#118191) 2021-11-10 12:01:03 -05:00
Brian Seeders
30de97bc2d
Revert "[CI] Rebalance/split cigroups and speed up overall CI time (#113676)"
This reverts commit 9888b7fec3.
2021-11-10 10:34:38 -05:00
Brian Seeders
9888b7fec3
[CI] Rebalance/split cigroups and speed up overall CI time (#113676) 2021-11-10 10:33:20 -05:00
Diana Derevyankina
90df011d9b
[TSVB] Fix reappearing of hidden series on refresh and styles loading (#117311)
* [TSVB] Fix reappearing of hidden series on refresh and styles loading

* Add functional test

* Update condition and move loading component to another file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-09 13:03:01 +03:00
Joe Reuter
2ba7cdcf30
use more robust way of entering value (#116566) 2021-11-03 11:04:04 +01:00
Joe Reuter
b8ebccf67a
retry specific metric suggestion check (#116909)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-01 13:48:12 +01:00
Joe Reuter
2b15dc9b10
retry reading suggestion list (#116405)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-28 09:36:52 +02:00
Nick Partridge
6b4d9dd1a9
[Charts] Multi-layer time axis (#115853)
This commit introduces the multi-layer time axis in Discover, Lens, Visualize, TSVB.
It adds visualization:useLegacyTimeAxis advanced settings under charts plugin to toggle legacy time axis.

The new multi-layer time axis is introduced in @elastic/charts https://elastic.github.io/elastic-charts/?path=/story/area-chart--timeslip and was demoed as part of the Kibana Demo Days.

It is the outcome of the research done in elastic/elastic-charts#1310 related to improving the time axis solving the following problems:
- sparse time labels that can be far apart
- unclear where time point is on the label (the middle)
- difficult / tedious to read due to redundant information and small fonts
- resolution is not explicit (is it hours of days or days themselves)
2021-10-27 19:22:35 +02:00
Tiago Costa
b59a805fcd
skip flaky suite (#116033) 2021-10-25 13:47:38 +01:00
Nick Partridge
ada2593c09
update elastic-charts to 38.0.1 (#115623) 2021-10-21 08:25:18 -05:00
Tiago Costa
9e76bcb00d
skip flaky suite (#115529) 2021-10-21 12:52:55 +01:00