* [Dashboard] Add visualization from dasbhoard empty screen
* Fixing linting errors
* Fixing i18n error
* Fixing unit test that was causing typecheck failure
* Prototyping adding Visualization to Dashboard
* i18n fixes
* Remvoing dashboard empty screen directive
* Updating test for empty dashboard screen
* Removing unused state variable
* Adding a test for DashboardViewPort
* i18n & minor fixes
* Fixing fullscreen mode view
* Fixing failing functional test (hopefully)
* Minor style fix
* Fixing EUI text, rendering empty screen OR the panels
* Fixing empty screen in fullscreen mode
* Update snapshot
* Trying to render empty screen from Angular controller
* refactor: 💡 don't pass renderEmpty through inputs
And make sure isEmptyState is not stale.
* Fixing tests after Vadim's commit
* Removing unnecessary isEmptyStateProps
* Skipping failing test
* Removing unnecessary en.json file
* Re-adding emptyState, reintroducing functional test
* Fixing ja-JP file
* Undoing my thing to the functional test
* Add automatic support for nested fields in existing filter types
* Index pattern could be undefined
* add test for handleNestedFilter function
* remove console.log
* add tests for all "getFilterField" functions
* update migrateFilters to work on full filter objects so that it doesn't
have to worry about queries that have been wrapped with `nested`
* add test to ensure fromFilters auto wraps filters on nested fields
* Add smoke test for nested filter and move filter editor tests into
their own suite for easier running and debugging
* fix bad type change
* dedupe filterToQuery logic
* fix helper that wasn't doing what it said it did
* Convert test from pre-merge to jest
* Use new time range style
The hashUrl and unhashUrl functions no longer rely on states being provided as an argument, therefore getUnhashableStates/getUnhashableStatesProvider have been removed.
* [ftr/visualize] continue to wait for save completion by default
* capture the toast message when saving the visualization so that it can be inspected if desired
* fix/flaky visualize listing tests (#33)
* move waitForSaveModalToClose from dashboard_page to common_page
* call common_page.waitForSaveModalToClose()
* remove extra wait for toast
* fix trailing spaces
* improve error message of failing test
* deangularize visLegend
* update vislib controller to mount react legend directly
* convert legend components to eui
* Position popover based on legend position
* Styles cleanup including removing of unused/unnecessary styles
* eui to 16.0.0
* type defs
* card click
* snapshot updates
* time format test updates
* ts return
* integration fix
* async
* more time format fixes
* more time format fixes
* test updates
* add uisettings dateformat timepicker test
* after method to clear setting
* Added base folder structure for Newsfeed plugin
* Added base folders for lib and component
* Added newsfeed button to navigation controls on the right side
* add getApi() to return api data observable (#49581)
* Added flyout base body and provided EuiHeaderAlert component inside the newsfeed plugin
* Moved newsfeed plugin to OSS and added for the styles purpose new folder for legacy plugin 'newsfeed' with the same id to support this
* Added subscribe on fetch newsfeed change
* Add NewsfeedApiDriver class (#49710)
* add NewsfeedApiDriver class
* fix xpack prefix
* add corner case handling
* Added data binding to the ui
* added EuiHeaderAlert style overrides (#49739)
* Fixed due to comments on PR
* add missing fields to NewsfeedItem and FetchResult
* fix templating of service url
* gracefully handle temporary request failure
* Mapped missing fields for data and badge
* Fixed typos issues
* integrate i18n.getLocale()
* allow service url root to be changed in dev mode
* replace a lot of consts with config
* fix flyout height (#49809)
* Add "error" field to FetchResult: Error | null
* simplify fetch error handling
* Do not store hash for items that are filtered out
* add expireOn in case it is useful to UI
* always use staging url for dev config
* unit test for newsfeed api driver
* simplify modelItems
* Fixed eslint errors
* Fixed label translations
* Add unit test for concatenating the stored hashes with the new
* add newsfeed to i18n.json
* Fixed expression error
* --wip-- [skip ci]
* fix parse error
* fix test
* test(newsfeed): Added testing endpoint which simulates the Elastic Newsfeed for consumption in functional tests
* add tests for getApi()
* add tests for getApi
* Added no news page
* fix fetch not happening after page refresh with sessionStorage primed
* test(newsfeed): Added testing endpoint which simulates the Elastic Newsfeed for consumption in functional tests
* Added loading screen
* Small fixes due to comments
* Fixed issue with stop fetching news on error catch
* test(newsfeed): Configure FTS to point newsfeed to the simulated newsfeed endpoit
* Fixed browser error message: Invariant Violation: [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.
* Fixed typo issue in label name
* polish the code changes
* Add simple jest/enzyme tests for the components
* honor utc format
* Filter pre-published items
* Fall back to en
* retry tests
* comment clarfication
* Setup newsfeed service fixture from test/common/config
* Added base functional tests for newsfeed functionality
* valid urlroot is for prod
* add documentation for the supported enabled setting
* more urlRoot
* --wip-- [skip ci]
* add the before for fn
* add ui_capabilties test
* update jest snapshot
* Fixed failing test
* finish newsfeed error functional test
* include ui_capability config
* error case testing in ci group 6
* refactor(newsfeed): moved newsfeed api call so that it is done before its use
* code polish
* enabled newsfeed_err test in CI
* [a11y] add initial accessibility functional tests
* add accessibility jobs
* fix config path
* remove percy setup from scripts
* disable color-contrast rule
* apply changes from @myasonik
* define aria-controls/owns props even when suggestions aren't visible
* [ftr/a11y] only throw error when there are errors
* adding tests for management page
* add a11y test for management page
* adding ignore rules' to a11y
* accessibility test for kibana home
* 7 passing tests, 0 failures
* jest snapshot update
* support a11y test in pipeline job
* update a11y test script for pipelines
* use oss compatible ci setup
* fix exclude syntax
* add default exclusion syntax
* New filter UI
* Prototype of functionality
* EUIFication of filters in Discover
* Adding tests for field_selector component
* Replacing FieldSelector with EuiForm components
* Adding more discover field search tests
* Removing console statement
* Fixing failing functional test
* Removing obsolete snapshot
* design tweaks for filter popover
* use compressed style inputs
* Changing selectors to be EuiButtonGroup
* Removing unnecessary if statement
* Getting rid of ts-ignore warning
This PR adds a new syntax to KQL for querying nested fields.
Nested fields can be queried in two different ways:
Parts of the query may only match a single nested doc (bool inside nested). This is what most people want when querying on a nested field.
Parts of the query may match different nested docs (nested inside bool). This is how a regular object field works but nested fields can be queried in the same way. Although generally less useful, there are occasions where one might want to query a nested field in this way.
The new KQL syntax supports both.
* First version of change view functionality
* Adds the 'replace view' functionality to dashboard edit mode
* Fixed type_check errors
* Make action part of dashboard_embeddable_container
* Fixed import paths for type check errors
* Fixed i18n errors
* Renamed action to 'Replace panel' and adjusted jest tests to pass type check
* test: add functional tests
Closes#43900
* Add error when there is no histogram agg when using parent pipeline
* Update error message
* Update message
* Add vis title to state
* Revert unrelated changes
* Update vis title when vis is renamed
* Update title in url when renaming
* Added 5 second sleep to let thte page load before checking for title.
* Made changes to Rollups page object, added data test subjects to some elements, added function to get Indices to indexmanagement page.
* Removed 5 second wait from old commit,
* Updated home page for a more simplified create rollups method. Simplified data for the rollups to use a simple data structure rather than using makelogs.
* Added stop to the previous rollup job that ran. Added some timeouts to wait for the rollup to run. Added future data to be rolled into hybrid index pattern. Added some custom handling for creating different types of index patterns.
* Added forking condition for if the create index pattern button has the dropdown due to rollup data being present and to handle that case. Changed assertion for rollup job test to ensure that there is one index created with the proper name from the rollup job. Made adjustment to cron expression to run every 10 seconds. Added deletion clauses for all rollup jobs, index patterns and indices to ensure proper teardown.
* Added navigate to the discover page and verify the number of hits.
* Fixed assertion: Not supposed to contain hits.
* Fixing the button that's being searched for.
* Made adjustment to setings page due to test failures.
* Made adjustment to setings page due to test failures.
* Made a change to the order of the parameters for createIndexPattern which was causing non rollup index patterns to break. Also added new conditional and function to click on rollup index pattern button.
* Changed ciGroup and also added logging statements to rollup jobs test.
* Trying an additional wait to see if there is a race condition.
* Changed timing of when rollup job is stopped. It was getting stopped before having triggered.
* Added waitlogic for condition rather than hardcoded skeep. Used cheerio methods to parse table instead of bluebird's map async. Updated tests assertiuons to ensure the rollup has triggered and produced the right number of documents. Tested many times with Throttling and headless mode enabled.
* Returned the method reloadIndicesButton back to the page object instead of modifying it.
* Changed CI job to run test repeatedly.
* Forgot some script omissions.
* Reverting the script changes. Did not work.
* Readded config to run tests repeatedly per Dima.
* Added additional config for running CI tests.
* Fixed config error.
* Removed extra rollup cration step.
* Made edits per review and added some comments to clarify functions purposes.
* Added explanation of assertion and change that the rollup_info file was renamed.
* Adjusted assertion to compensate for CI's slow network.
* Split the hybrid index pattern test out and rollup job to be in separate files. Mocked out rollups and cleaned up log statements.
* Added load empty kibana to reset kibana to an empty state.
* Removed duplicate file and move method over from it. Updated references.
* Renamed test suite to hybrid index pattern as that's what the test entails
* Fixed missed reference rename.
* Fixed mistaken async keyword causing unhandled rejection error. Also deleted rollup job in hybrid index pattern test in after hook. Renoved log statements.
* Reverted changes to build scripts to normal.
* Fixed jobs file to match upstream due to a missed fix in a merge conflict.
* Added remainder of CI groups to job.
* Removed whitespace error.
* Made fixes per CJs review. Fixed clashing variable names. Reverted rollup job test to assert using rollups table. Changed group back to ciGroup1. Removed duplicate teardown index deletion calls.
* Created more concrete assertion for checking if hybrid index pattern was created. Some refactorings. Changed Math.floor() to Date.now() for avoidance of name collisions.
* Removed the data.json file.
* Addressed nits.
* [apps/management] improve import objects tests
* [page_objects/dashboard_page] replace link navigation with direct url
* [dashboard/time_zones] reset date format via API
* update jest snapshot
* [management/_kibana_settings] reset date format via API
* revert changees to dashboard tests
* run ciGroup 7 & 8 15x times
* Revert "run ciGroup 7 & 8 15x times"
This reverts commit 8be64d52dc.