* [Discover] Implement UI for storing time with a saved search
* [Discover] Save time range data with a saved search
* [Discover] Improve updating of values
* [Discover] Restore time range after loading a saved search
* [Discover] Add time range validation
* [Discover] Add refresh interval validation
* [Discover] Update how saved search gets restored
* [Discover] Improve tests
* [Discover] Update tests
* [Discover] Improve type imports
* [Discover] Update copy
* [Discover] Fix types after the merge
* [Discover] Update test name
* [Discover] Fix types
* [Discover] Update mapping
* [Discover] Update mapping
* Explicitly set field limit for .kibana_ esArchives
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
* new modules for timeline `PageObjects` and services for FTR
* fix `navigateToUrlWithBrowserHistory()` so that optional arguments are stringified to `undefined` when left empty
* Detection service: change waitForAlerts() to allow for a query + timeout to be passed in
* New super date picker pageObjects helpers
* Update discover and canvas tests
* Add length
* Update rule name to have no spaces
* Fix calling function
* Try to close tooltip
* Fix rules spinner
* Move toggleLayerVisibility to gis_page
* Add wait for layers to load
* Remove unused declaration
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Upgrade to v62.0.3
* Update EUI i18n tokens
* Update html string snapshots
- Emotion CSS hash changed
* [EuiIcon] Update instances of `keyboardShortcut` icons to `keyboard`
* [EuiErrorBoundary] Update snapshots from Emotion conversion
* [EuiImage] Update snapshots, tests, and CSS to account for Emotion conversion
* [EuiImage][RTL] Fix test failures caused by EuiImage changes
* [EuiCommentList] Deprecate EuiCommentProps.type
* [EuiCommentList] Rename `timelineIcon` prop to `timelineAvatar`
- see https://github.com/elastic/eui/pull/6071
* [EuiCommentList] Fix selectors deprecated by Emotion conversion
* [EuiPopover][EuiCommentEvent][Enzyme] Fix mounted test failures caused by Emotion conversions
- Mounting displays the Emotion wrapper with the data-test-subj on them - we need to specify the output div renders in order for text assertions to be correct
* [EuiPopover] Deprecate `initialFocus={false}` as an option
see https://github.com/elastic/eui/pull/6044
* [EuiPopover] Rename `display=inlineBlock` to `inline-block`
- see https://github.com/elastic/eui/pull/5977
* [EuiPopover] Update snapshots from Emotion conversion
* [EuiPopover] Replace deprecated `.euiPopover__panel-isOpen` class with new `[data-popover-open]` attribute
* [EuiPopover][RTL] Fix test failures caused by not waiting for EuiPopover animation/transition
* Skip failing a11y tests
- test w/ similar error already skipped in another test above
- requires closing the popover for next test to pass
- not sure why delete action is no longer available
* Fix failing Security Cypress tests
* Attempt to squash flaky FTR tests around Add Filter popover
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
* 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>
* Use panel action to show filters
* Switch over to a modal
* Fix how I'm getting data views
* Deserialize and clean filters for getFilters
* Read only filter items
* Fix render of filter pills
* Fix title for read only filter pills + clean up code
* Add i18n support + fix types
* Provide Kibana uiSettings to modal
* Fix how panel titles are grabbed for functional tests
* Add jest tests for badge
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* Remove focus trap from modal
* Add edit button to modal that redirects to visualize app
* Add tooltip to filter pills
* Add jest tests for modal
* Clean up badge code and move to modal
* Make filter pills focusable
* Add tooltip to readOnly filter pills only
* Add `getFilters` to saved search embeddable
* Add query to filters modal
* Support by reference embeddables - specifically for visualize
* Fix jest tests for modal
* Add i18n support for new form in modal
* Clean up code
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* Fix jest tests for badge
* Temporarily disable for maps and add TODO comment
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Fix styling of modal + i18n of aria label
* Fix bundle size
* Address first round of feedback
* Add comments to public APIs
* Export missing API
* Add comments to public dashboard API
* Fix imports, types, and add more comments
* Fix losing of context
* Add more public API comments
* Add comments to each embeddable/dashboard container
* Add more public API comments
* Fix losing of context for real this time
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* Fix jest test
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* Address feedback
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* [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>
* don't use es_archiver/empty_kibana, speed up steps
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* revert change to listing page
* revert this change and do in another PR
* normalize data-test-subjects on landing pages
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* revert shakespeare from another PR
* re-add missing dts
* found a few more replacements to change
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* another fix
* add data-test-subj for 'Create your first vis/dash'
* update jest snapshot
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* 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>
* add EBT Labels through CI
* remove prId from labels when it's not running on PR's
Co-authored-by: Spencer <email@spalger.com>
* adds parsing validation
Co-authored-by: Spencer <email@spalger.com>
* [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
* 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>
* [Discover] Supports SQL query language (#134429)
* Move the add dataview action above the dataview selection panel
* Implements a new selectable on the dataview picker for the text based languages
* Implementation of the transition modal when on SQL mode and select a dataview
* Fix es lint
* Change switch modal button modal icon
* Lazy load components
* Small changes on the styling of the switch without saving button
* Initialization of mocaco editor
* Change to the type
* Fixes types checks
* New submit button for query mode
* Implememtation of the expanded mode of the editor
* Implement documentation
* Implementation of the oneliner mode with ellipsis
* Some fixes on the resizer
* Implementation of the errors layout, WIP
* Fetch SQL data in Discover
* Fix expression test
* Fix editor zIndex
* Fix types error
* Fix type check in Discover
* Fix more types
* some CI fixes
* Fixes
* Cleanup after merge
* Remove from state
* Connect search errors with the unified search editor
* Add error mrkers in unified search editor
* Save and open saved searches
* Filter out saved searches from text based languages
* Some fixes
* Fix unit tests
* Fix checks
* On save and exit modal implementation
* Add shortcut on the editor for submit query
* Fix wrong condition
* Initial types change
* Use regex to find the index pattern string
* Fix some types and cleanup
* Fix types
* Fix some types
* Further fixes
* More fixes
* More fixes
* Fix visualize types
* more
* More fixes
* Fixes more types
* Fix dashboard types
* Fix dashboard types
* Controls plugin types
* Fix Lens types
* Fix data plugin types
* Fix types in Lens 2
* buildEsConfig type fixes
* Fix observability types
* Fix maps types
* data visualizer types
* Fix ml types
* xpack rest types
* Fix jest test
* Fix
* Move helper functions to es config
* fix bug on breadcrumb click
* Fix time field bug
* Add enableSql advanced setting to discover for enabling the sql mode
* Make the documentation component more dynamic
* Add some comments, improvements
* Enhance storybook with the textbased languages
* Update storybook with the error state of the editor
* Adds a readme for the editor and fixes the modal mobile version
* [Discover] improve test and storybook for new data type
* [Discover] add functional tests
* Add aggregate functions to the documentation
* [Discover] fix tests
* Add some unit tests
* [Discover] fix linting
* [Discover] update linting
* More unti tests
* Dataview picker unit tests
* Fix a bug on the dataview picker
* Add unit tests for the editor
* Fix jest test
* [Discover] apply suggestions
* [Discover] adjust styles
* Fix some bugs and select columns in the sql mode
* [Discover] fix eslint and tests
* [Discover] update unit tests
* Fix bug on transitioning from sql mode to dataview mode
* [Discover] fix tests
* Design fixes on the errors messages
* [Discover] fix ci
* Update the columns only if the query changes
* [Discover] change isPlainRecord retrieval method
* Fix bug on cleanup
* Fix bug on opening a saved search
* [Discover] fix comments
* [Discover] fix bug with browser refresh
* [Discover] fix functional
* [Discover] fix another functional
* Fix ordering lost when the user refreshes the browser
* [Discover] revert use_discover_state
* [Discover] revert functional impl
* Fix security solution types
* Casting dashboard plugin
* Revert change
* type param
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* Revert types changes
* More reverts
* Types fixes
* Fix Discover jest test
* Fix context app jest test
* Final types changes
* Fixes unit test
Co-authored-by: Dzmitry Tamashevich <diaamnj@mail.ru>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
* Fix types
* Fix jest test
* More design fixes
* Update advanced setting description
* Further design changes
* [Discover] Remove document explorer header column edit data view field functionality (#136743)
* remove Edit data view field for SQL
* Fix the fix
* [Discover] Implement SQL data fetching for embeddable (#136793)
* remove Edit data view field for SQL
* Fix the fix
* Implement SQL for embeddable
* Fix non-saved-search embeddables
* Fix reporting bundle size
* Allow filters on dashboard level for sql searches
* Fix the radius on the editor
* Add vertical padding on the editor
* Change the theme
* Address PR comments
* Fix types
* Address some of the comments
* Fix bug on transitioning from SQL to dataview mode with the modal dismissed
* More types fixes
* Design review comments
* Discovery team review comments
* Fix jest tests
* Fix bug on navigating from the SQL mode to the dataview mode and back in sql mode by clicking the breadcrumb
* Update src/plugins/discover/public/application/main/hooks/use_discover_state.ts
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
* Add padding to the top of the editor without creating any bug
* Add some padding to the bottom without creating any bug
* Fixes undo bug
* Fix confusing naming of variable
* Fix nested selects
* Update texts for transition modal and warning
* Make it work with dashboard Query
* Address some of the comments
Co-authored-by: Dzmitry Tamashevich <diaamnj@mail.ru>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
* [Console] Fix flaky tests for comments and folds]
* Fix flaky test
* Remove dismissTutorial
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
* [Data views] Add pre-configuration options to runtime field editor fly-out
* fix test
* more polish
* update example app functional test
* fix functional test
* improve comment
* fix unexported public apis
* comments for public apis
* restrict runaway metrics changes
* more comments for public api
* fix fn test
* revert updates to api_docs
* more public api comments in data_view_field_editor
* fix api comments
* add public api export
* clean up FieldFormatConfig types
* cleanup
* allow checkbox to be visually checked