Commit graph

1724 commits

Author SHA1 Message Date
Kibana Machine
800489aadb skip failing test suite (#145560) 2022-11-17 10:41:32 -05:00
Kibana Machine
65f421f31f skip failing test suite (#132865) 2022-11-15 13:24:18 -05:00
Hannah Mudge
91edd82b92
[Dashboard] [Control] Remove support for scripted fields for options list (#144643) (#144744)
* Remove support for scripted fields for all controls

* Remove support only for options list

* Add functional test

(cherry picked from commit 508f0127e3)
2022-11-07 14:13:22 -07:00
Kibana Machine
17027559b6
[Discover] Unskip "classic doc table" flaky test (#140786) (#144169)
* [Discover] Unskip flaky test

* [Discover] Fix async tests

* [Discover] Try again

* [Discover] Try again

* [Discover] Try again

* [Discover] Try again

* [Discover] Try to skip a subtest

* [Discover] Try to skip a subtest

* [Discover] Try to modify the test

* [Discover] Add some logging

* [Discover] Return the async

* [Discover] Wait for ui

* [Discover] Suppress tooltips

* [Discover] Suppress tooltips

* [Discover] Fix api usage

* [Discover] Cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 48e1b5c887)

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
2022-10-31 01:54:55 -07:00
Kibana Machine
fd72ccb62e
[Discover] Fix management flaky test (#141650) (#141817)
* [Discover] Tmp commit

* [Discover] Update deprecated class

* [Discover] Wait for lens page to load

(cherry picked from commit e35a7310e5)

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
2022-09-26 10:42:58 -07: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
Kibana Machine
5efe05d410
[dashboard controls] skip failing test on cloud (#141291) (#141419)
(cherry picked from commit aa11010f01)

Co-authored-by: liza-mae <liza-mae@users.noreply.github.com>
2022-09-22 06:30:00 -07:00
Dmitry Tomashevich
3c5b3f38db
[Discover] Fix columns management of saved search embeddable (#140799)
* [Discover] fix manage of saved search embeddable columns

* [Discover] add functional test

* [Discover] rename function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-20 13:39:22 +03:00
Davis McPhee
56680ab18c
[Discover] Update layout for unified histogram (#139446)
* [Discover] Replace view mode toggle group with tabs

* [Discover] Clean up new Discover tabs

* [Discover] Refactor layout to have resizable sections

* [Discover] Getting histogram resizing to work

* [Discover] Set panel sizes on load

* [Discover] Create discover_main_content component

* [Discover] Improve layout resizing so chart stays fixed when window is resized

* [Discover] Clean up Discover layout resize code, and implement auto resizing functionality to handle window resizing edge cases

* [Discover] Improving mobile support

* [Discover] Simplify histogram layout

* [Discover] Fix field stats layout

* [Discover] Comment flexbox CSS fix

* [Discover] Refactor discover_main_content to include a fixed panels layout and a resizable panels layout, and switch to fixed panels when in mobile

* [Discover] Fix Discover layout performance issues when resizing to and from mobile

* [Discover] Refactor reverse portals usage to clean things up

* [Discover] Rename Discover panel tsx files

* [Discover] Rollback unnecessary css change

* [Discover] Fix component names for Discover layout

* [Discover] Fix broken discover_layout Jest test

* [Discover] Decoupled discover_panels from discover_main_content to improve testability and reusability

* [Discover] Clean up discover panels for testing

* [Discover] Add Discover panels Jest tests

* [Discover] Clean up Jest tests

* [Discover] Add functional test for resizable layout panels

* [Discover] Fix broken discover_layout Jest tests

* [Discover] Removing unnecessary CSS in discover_panels_fixed.tsx

* [Discover] Fix issue where resizable panels with extra whitespace are shown when data view is not time based, and fix a flexbox issue with fixed panels that caused content to overflow the container

* [Discover] Change Discover view mode tabs to use smaller font, and force blur the Discover layout resize button after a resize

* [Discover] Fix data-test-subj casing for resizable layout work

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-19 09:55:50 -03:00
Muhammad Ibragimov
cd52a2e641
[Console] Fix status badges not showing on cloud (#140873)
* Fix status badges not showing up in cloud

* Unskip related test file

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-19 12:48:26 +05:00
liza-mae
22e78f9bb9
[console] skip failing test on cloud (#140837)
* [console] skip failing test on cloud

* Fix spacing
2022-09-15 12:29:28 -06:00
Julia Rechkunova
cae3a33de3
[Discover] New field stats in Discover sidebar popover (#139072)
* [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

* Revert "[UnifiedFieldList] Revert changes from Discover for now"

This reverts commit 3f4ae6e395.

* [Discover] Extract top values UI into a separate component. Update colors.

* [Discover] Extract bucket UI into a separate component. Update colors.

* [Discover] Update styling

* [Discover] Fix empty values

* [Discover] Allow to customize colors

* [Discover] Add filter buttons

* [Discover] Rename props

* [Discover] Improve format

* [Discover] Add a switch in Settings. Move Visualize button into PopoverFooter.

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

* [Discover] Fix props

* [Discover] Hide filter buttons for Other section

* [Discover] Simplify default messages when analysis is not available

* [Discover] Small update

* [Discover] Remove translations

* [Discover] Update some tests

* [Discover] Fallback to old Discover logic and show examples for non-aggregatable fields

* [Discover] Exclude vector fields

* [Discover] Don't call details unless for legacy code

* [Discover] Fix types

* [Discover] Small update for stories

* [Discover] Adapt tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Add tooltips. Update examples sample values. Update tests.

* [Discover] Close the popover when filter is pressed

* [Discover] Add functional tests for non-aggregatable fields

* [Discover] Fix query

* [Discover] Add more tests

* [Discover] Add more tests

* [Discover] Add more tests

* [Discover] Add more tests

* [Discover] Fix time range for field stats

* [Discover] Remove sort param from examples query

* [Discover] Prevent reduntant requests

* [Discover] Increase examples size

* [Discover] Add exist filter to Discover popover

* [Discover] Update label

* [Discover] Update logic for picking a multifield

* [Discover] Fix how percentage is calculated for Examples view (non-aggregatable fields)

* [Discover] Update copy and uncomment console error

* [Discover] Add "no data" message and update field type check in examples

* [Discover] Update type checks and no-data copy

* [Discover] Update copy

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-09-15 14:26:41 +02:00
Hannah Mudge
138f2cda0d
[Dashboard] Services abstraction (#139145)
* Service abstraction for data service

* Remove unnecessary files

* Fix jest tests for new data service

* Service abstraction for HTTP service + fix Jest tests

* Services abstraction for visualizations service

* Services abstraction for data views editor service

* Services abstraction for spaces service

* Services abstraction for settings service

* Remove more unnecessary files + clean up imports

* Add theme to new settings service + fix imports

* Services abstraction for overlays service

* Services abstraction for navigation service

* Services abstraction for chrome service

* Services abstraction for embeddable service  + fix Jest tests

* Services abstraction for notifications service

* Services abstraction for dashboard capabilities service

* Remove unecessary context provider

* Services abstraction for screenshot mode service

* Services abstraction for url forwarding service

* Services abstraction for share service

* Services abstraction for usage collection service

* Another round of code cleanup

* Services abstraction for initializer context service

* Clean up more unecessary files

* Services abstraction for application service

* Remove duplicated saved object client service

* Services abstraction for saved objects service

* Services abstraction for saved objects tagging service

* Services abstraction for dashboard session storage service

* Services abstraction for core context service

* Clean up initializer context code

* Refactor to create singular no data page context service

* Create and use dashboard mount context provider

* Clean up + abstraction for docs link service

* Remove dashboard container services

* Temporarily revert back to deprecated fullscreen button

* Remove PlaceholderEmbeddableServices + more code clean up

* More code clean up

* Clean up plugin code

* Investigated possibly flaky test - doesn't actually seem to be flaky

* Update snapshot for new services

* Clean up actions code

* Clean up dashboard container code

* Add to documentation links service to remove type casting

* Address feedback

* Undo move of services in dashboard container factory
2022-09-14 08:09:45 -06:00
Dmitry Tomashevich
52131666da
[Discover] Introduce adhoc Data Views (#138283)
* [Discover] add first steps for hoc data views

* [Discover] add confirm prompt when needed

* [Discover] fix types

* [Discover] fix tests

* [Discover] fix remaining tests

* [Discover] fix some comments

* [Discover] refactor, fix some bugs

* [Discover] add functional tests

* [Discover] improve tests

* [Discover] fix test

* [Discover] add saved data view toast

* [Discover] fix unit tests

* [Discover] fix remaining tests

* [Discover] resolve comments

* [Discover] generate new id on saving search copy, add functionals, fix data view picker

* [Discover] fix bug with top nav actions

* [Discover] enable stats for adhocs

* [Discover] fix lint

* [Discover] remove duplications

* [Discover] clean up changes

* [Discover] enable sql view, fix functional test

* [Discover] fix sql view for adHocDataViews, update savedSearch on data view save, apply suggestions

* Update src/plugins/discover/public/hooks/show_confirm_panel.tsx

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* [Discover] fix navigate to lens

* [Discover] add functional to test dashboard

* [Discover] fix types

* [Discover] fix maps visualization

* [Discover] fix checks

* [Discover] fix fields drag and drop

* [Discover] fix checks

* [Discover] remove logs

* [Lens] apply suggestions

* [Discover] add ignoreFetchState flag

* [Discover] improve nav link issue solution

* [Discover] fix type checks

* [Discover] allow multiple adhoc data views

* [Discover] use light spec for vis action payload

* [Discover] fix check types

* Improve URL tracking
- URL are no longer tracked for AdHoc data views

* Fix unit tests

* [Discover] apply suggestions

* [Discover] add unit test

* [Discover] add another test

* [Discover] fix bug with name

* [Discover] add remaining things

* [Discover] fix unit tests

* [Discover] fix error on refresh lens with adhoc created from discover

* [Discover] revert adhoc data views in sql mode

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2022-09-14 16:06:09 +03:00
Lukas Olson
940f108aeb
[Filters] Remove filter validation for ad-hoc data views (#139431)
* No longer disable filters for invalid data views

* Fix failing test

* Fix functional test

* Remove unused translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-13 11:21:38 -07:00
Matthew Kime
bcf8c79bb3
[data view field editor] Composite runtime field editor (#136954)
* Initial commit

* [Runtime field editor] Composite runtime in Kibana Data Views (#110226)

* Apply updates from feature branch

* Fix TS issues

* Fix TS issue

* Fix TS issue

* Fix jest tests

* fix jest tests

* fix integration test

* fix delete error test

* partial progress

* partial progress

* remove mistaken change

* fix import

* remove unused translation

* partial progress

* merge

* use preview api

* cleanup

* use specific index instead of index pattern

* fix jest test

* one less any

* setting type on composite subfields is roughly working

* partial progress

* setState not working

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

* partial progress

* working but a bit wonky

* merge

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

* fix handing of field types, remove some console.log statements

* fix initial type for subfields

* fix subfield type updates, rename some vars

* fix breakage from bad merge

* fix types

* type fixes

* cleanup

* i18n fix

* i18n fix

* i18n fix

* comment cleanup

* remove unused var

* add code comment

* remove comments

* fix jest test

* add start of functional test

* functional test:

* composite subfield preview

* add functional test

* functional tests

* functional tests

* rendering improvements

* functional tests

* functional tests

* add jest test

* add jest test

* move to observables

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

* cleanup

* better use of form lib

* type fixes

* cleanup

* add refresh button

* remove ts ignore

* improve dev docs

* internationalize text

* type fix

* delete should warn regarding subfields

* typescript fix

* redraws of FieldEditor would reset diff state. This fixes it.

* add placeholder text to code editor

* hook cleanup

* add getFieldPreviewChanges jest test

* add getFieldPreviewChanges jest test

* keep parent name in sync with preview when changed during script update

* fix test

* move subfields to observables

* fix jest tests

* fix jest tests

* fix save after field type change to composite

* previewFields to behaviorSubject

* fix test

Co-authored-by: Sébastien Loix <sabee77@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sébastien Loix <sebastien.loix@elastic.co>
2022-09-12 08:43:22 -05:00
Dmitry Tomashevich
c80de81964
[Discover] Fix saved search embeddable rendering (#140264)
* [Discover] fix rendering issue

* [Discover] add functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-12 12:58:16 +03:00
Julia Rechkunova
6380e4cecb
[Discover] Fix flaky test regarding field actions in a flyout (#140415)
* [Discover] Fix flaky test regarding field actions in a flyout

* [Discover] Update a11y tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-12 11:01:00 +02:00
Rashmi Kulkarni
3f62679852
timepicker change for tsvb_charts (#140230)
* timepicker change

* timepicker change

* remove comments
2022-09-09 16:49:55 -04:00
Rashmi Kulkarni
fb157fab77
unskipping a test to check on CI and FTR (#139756) 2022-09-08 17:10:02 -07:00
John Dorlus
5521574db2
unskip Comment console test 139295 (#140234)
* Updated test to use uiSettings.

* Pushing test to run in CI.

* Pushing test to run in CI.

* Fixed issue with merge conflict and removed comment for skipped test.
2022-09-08 13:35:41 -04:00
Kibana Machine
4c3d562a73 skip failing test suite (#139762) 2022-09-08 07:28:45 -06:00
Maja Grubic
19293950ae
[Kibana Overview] Fix failing test (#139112)
* [Kibana Overview] Fix failing test

* Remove comment

* Fix regexp

* Add a comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-08 10:38:26 +02:00
Constance
98f73d674a
Upgrade EUI to v63.0.6 - updates to new EuiPageTemplate and deprecates old page components (#139524)
* Update all usages of EuiPageTemplate to EuiPageTemplate_Deprecated

* EuiPageContent_Deprecated as EuiPageContent

* EuiPageContentBody_Deprecated as EuiPageContentBody

* EuiPageContentHeader_Deprecated as EuiPageContentHeader

* EuiPageContentHeaderSection_Deprecated as EuiPageContentHeaderSection

* EuiPageSideBar_Deprecated as EuiPageSideBar

* EuiPageContent__Deprecated to EuiPageContent_Deprecated

* Fix rogue semi-colons

* WIP: NoDataConfigPage & NoDataPage converted to new template

- `withSolutionNav` not yet handled

* WIP: KibanaPageTemplateInner converted to use new template

- Pushes existing `pageHeader` prompts onto created EuiPageTemplate.PageHeader
- Uses `isEmptyState` to push `pageHeader` props to EuiPageTemplate.EmptyPrompt instead (if `children` are not supplied)

* WIP: `withSolutionNav` now renders the sidebar content properly

- Collapsing isn’t working (minWidth isn’t updating)

* Fixing stickiness of sidebar

* [Security] Fixed SecuritySolutionTemplateWrapper’s usage

- Moved `bottomBar` to EuiPageTemplate.BottomBar (now contained in just the page contents)
- Change EuiPanel children wrapper with EuiPageTemplate.Section

* [O11y] Wrap `children` with EuiPageTemplate.Section

* Fix getting_started usage

* WIP: Fixing types

* Removing `template` pass through

* Set EUI to 63.0.0

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

* More import fixes

* Sidebar component update

* Expand `KibanaPageTemplate` to all namespaced EUI counterparts

- Updated `docs/tutorials` mdx page
- Fixed SolutionNav prop types

* Updated the tutorial mdx page

* [Stack Management] Updated app layout to new template

- Some temporary props applied for BWC until all other pages can be converted
- Converted `API Keys` page’s layout (and especially prompt usags) to new paradigm

* Fix circular dep

* Fix new circular dependency

- copying and pasting types from KibanaPageTemplateProps, but ah well

* [Security Solution] Remove `template` prop - no longer a prop on Kibana/EuiPageTemplate

* [O11y] Allow customizing EuiPageTemplate.Section wrapper

- converts pageBodyProps
- fixes non-centered loading template

* [Enterprise Search] Update page templates

- fix layouts by auto-wrapping an EuiPageSection for padding, while adding a `customPageSections` prop for more custom sections/layouts

- re-center 404 errors

- update tests

* Update KibanaPageTemplate tests

* Update snapshots

* Fix FTR test with removed EUI classNames

* Fix FTR tests with changed kbn classNames

* Update failing dashboard snapshots

- drop shadow changed slightly in EUI

* Fix failing Security Cypress test

* [O11y] Fix Inventory page using deprecated CSS hooks

* [O11y][Uptime] Fix missing bottom bars

- Modifies ObservabilityPageTemplate to accept a `bottomBar` prop (a la the old EuiPageTemplate behavior)

NOTE: This opinionated page layout structure is starting to feel like it could be potentially limiting / have all the same pitfalls the previous EuiPageTemplate did. If so, consider something closer to the Enterprise Search page template conversion (`customPageSections`).

- Misc cleanup: Use `KibanaPageTemplate` over `EuiPageTemplate`

* [O11y] Fix route template typing

- Since theObservabilityPageTemplate is using the new Eui/KibanaPageTemplate, its child templates and types need to be updated accordingly

* Fix broken minWidth behavior

- was an EUI issue that required a patch release
+ update snapshots

* [Security Solution] Type fixes, restore empty state

- Fix empty state logic removed in a previous commit
- bogarts KibanaPageTemplate's `isEmptyState` prop instead of using `template="noData"`

- extend template wrappers to past ...rest to underlying Kibana/EuiPageTemplate

+ replace EuiPageTemplate with KibanaPageTemplate for consistency

* Fix failing synthetics selector

* Grab EUI v63.0.6

- for deprecation tags and section tag support

* Fix Kibana Overview plugin layout

- needs to use KibanaPageTemplate.Section to get padding back

- use `bottomBorder` prop over horizontal rules

- restore previous page color via panelled=false

* Convert Home plugin to new KibanaPageTemplate

- use KibanaPageTemplate.Section instead to preserve page width/paddings

- use `bottomBorder` instead of `EuiHorizontalRule`

- NOTE: This causes margins to decrease slightly from xxl to xl (largest padding available for EuiPageSection) - this can be restored by CSS overrides if desired

- update CSS to preserve previous looks, + convert to logical properties

* [O11y] Fix non-centered empty/loading states

* [O11y] Restore subdued background on various empty state prompts

* [O11y] Fix all instances of views that require a scrollable full-height child

+ restore comment for inventory view

* [O11y][ux] Fix broken sidebar

- The entire app was missing a wrapping EuiProvider, and as such breakpoint utils were not working, and the sidebar was missing

+ misc cleanup
  - remove unnecessary fragment
  - remove role="main" attr - now that EuiPageTemplate sets a `main` tag, they'll conflict
  - add isEmptyState to center loading component

* [APM Cypress tests] harden flaky test

* [APM Cypress tests] Fix failing Cypress test, again

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-07 15:35:23 -05:00
Nathan Reese
ddcae9cfcf
[Controls] timeslider control (#139228)
* Timeslider plugin boilerplate

* wire redux store

* add time range bounds to store

* range control

* set value in store

* previous next buttons

* Spacetime timeslider dash (#138553)

* wire redux store

* add time range bounds to store

* range control

* set value in store

* previous next buttons

* push timeslice to Dashboard input

* Wire up timeslice (#138570)

* wire redux store

* add time range bounds to store

* range control

* set value in store

* previous next buttons

* push timeslice to Dashboard input

* cleanup

* Spacetime timeslider dash (#138573)

* wire redux store

* add time range bounds to store

* range control

* set value in store

* previous next buttons

* push timeslice to Dashboard input

* cleanup

* play button

* Notify control group when all panels loaded (#138674)

* get play button working

* play button (#138681)

* wire redux store

* add time range bounds to store

* range control

* set value in store

* previous next buttons

* push timeslice to Dashboard input

* cleanup

* play button

* get play button working

* cleanup

* clean up

* clean up wrap logic

* Spacetime timeslider dash -clean up wrap logic (#138822)

* wire redux store

* add time range bounds to store

* range control

* set value in store

* previous next buttons

* push timeslice to Dashboard input

* cleanup

* play button

* get play button working

* cleanup

* clean up wrap logic

* Add waitForPanelsToLoad$ observable (#138950)

* fix import

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

* sync range slider width on popover panel resize

* fix styling

* update embeddables to support time slice

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

* change file structure

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

* disable add button when control group contains timeslider

* hide edit button for timeslider control

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

* force timeslider width to be large

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

* use timeslice to filter other controls

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

* skip timeslider control in control chaining

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

* cleanup

* fix initial timeRange

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

* clear button

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

* render prepend

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

* remove unused code

* Container.getAnyChildOutputChange$

* play observable

* tslint

* tslint

* clean up

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

* fix lint

* fix import

* fix plugin size and other clean up

* fix 'unsaved changes' issue

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

* fix Dragging UI Nit

* fix Label position Above Nit

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

* support relative time ranges

* fix issue where clear not propogated to panels

* time slider functional test

* clean up functional test

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

* tslint

* fix time_slider functional test

* fix time slider not expanding after creating non-expanding control

Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-09-07 11:21:53 -06: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
Rashmi Kulkarni
e8f9dd99ed
timepicker change (#135478) 2022-08-29 11:32:47 -07:00
Jonathan Budzenski
7919682c07 skip flaky suite. #138652 2022-08-29 10:30:33 -05:00
Lee Drengenberg
a029e68e56
[Archive Migration] batch 5 of removing empty_kibana (#139410)
* remove use of empty_kibana es_archive

* remove empty_kibana archives again

* replace es_archiver/empty_kibana with cleanStandardList

* remove more empty_kibana uses

* add cleanup of a package

* remove comment

* move fleet_setup before epm, something not cleaning packages

* revert fleet_api_integration changes and restore empty_kibana
2022-08-27 11:24:39 +03:00
spalger
2576403be4 Revert "replace es_archiver/empty_kibana with cleanStandardList (#139324)"
This reverts commit 220578bf48.
2022-08-24 09:44:52 -07:00
Tim Sullivan
348d59c92d
[DataViews] fix behavior for loading a missing data view (#139044)
* [DataViews] fix behavior for loading a missing data view

* remove link text from error message

* add functional test

* update error toast notification title

* cleanups

* update content and add toastMessage

* revert change to error message params

* update content per feedback

* error might be null-ish

* fix bug
2022-08-24 09:12:28 -07:00
Lee Drengenberg
220578bf48
replace es_archiver/empty_kibana with cleanStandardList (#139324) 2022-08-24 09:53:31 -06: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
Catherine Liu
239def566c
[Controls] Removes timeslider in favor of new timeslider control (#138931)
* Removed timeslider in favor of new timeslider control

* Removed time slider import

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

* Fixed i18n errors

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-23 12:49:35 -07: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
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
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
Tiago Costa
d5164311f2
skip flaky suite (#138160) 2022-08-22 13:54:27 +01: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
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
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
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
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
Spencer
742e040ae3
[ftr/discover] split up configs (#137629) 2022-08-01 06:48:17 -05: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