* Remove support for scripted fields for all controls
* Remove support only for options list
* Add functional test
(cherry picked from commit 508f0127e3)
* [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>
* 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>
* 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
* 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>
* 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>
* [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>
* 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.
* 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>
* 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>
* 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
* [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
* 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>
* [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
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.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>