* add reactMount util to kibana_react
(kibana-react) properly export reactMount
* add MountPoint types and utility
* adapt toast API to no longer accept react elements
(toast API) properly export new Toast type
* adapt calls by using reactMount
createNotifications: do not wrap if text
* update generated doc
* add custom snapshot serializer for reactMount
* fix unit tests
fix xpack unit tests
* adapt non-ts calls
* do not add __reactMount__ property in production
* remove string check on createNotifications
* fix typo and small fix using obj spread
* improve react mount snapshot serializer
* simplify convertToEui
* rename reactMount to toMountPoint
* adapt newly added calls
* move mount types to proper file
* use new Mount types for OverlayBanner apis
* fixing typo
* adapt new calls
* use destructured imports
- rename apm-telemetry save object mapping -> apm-services-telemetry (#49994)
- move saved object types and document IDs to constants file
- Updated APM Indices endpoints to use the SavedObjectsClient from the
legacy request context, and set the apm-indices schema object to be
namspace-agnostic.
* Calculate interval based on the dataset's period
* Remove unused import
* Handle empty data case
* Update x-pack/legacy/plugins/infra/server/utils/calculate_metric_interval.ts
Co-Authored-By: Chris Cowan <chris@chriscowan.us>
* Update x-pack/legacy/plugins/infra/server/routes/metrics_explorer/lib/populate_series_with_tsvb_data.ts
Co-Authored-By: Chris Cowan <chris@chriscowan.us>
* initial push
* self code review
* ignore node-fetch type
* usageFetcher api
* user agent metric
* telemetry plugin collector
* remove extra unused method
* remove unused import
* type check
* fix collections tests
* pass kfetch as dep
* add ui metrics integration test for user agent
* dont start ui metrics when not authenticated
* user agent count always 1
* fix broken ui-metric integration tests
* try using config.get
* avoid fetching configs if sending
* type unknown -> string
* check if fetcher is causing the issue
* disable ui_metric from functional tests
* enable ui_metric back again
* ignore keyword above 256
* check requesting app first
* clean up after all the debugging :)
* fix tests
* always return 200 for ui metric reporting
* remove boom import
* logout after removing role/user
* undo some changes in tests
* inside try catch
* prevent potential race conditions in priorities with =
* use snake_case for telemetry plugin collection
* refactors needed to extract cluster uuid based on collection
* refactoring uuid getters
* revert unneeded changes from merge
* finish server/browser fetching
* skip a test :(
* skip handle_old
* merge master
* fix failing tests
* Fixes combo overflow when the selected field is large
* Prettier quotes
* Changes the style class attribute to use Eui calculation and also the
class name to conform to the BEM naming convention
* Lints src/plugins/newsfeed/public/lib/api.test.ts
* [Maps] default grid aggregation source rendering to grid
* Update docs/maps/maps-aggregations.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* add animated gif and text describing the animation
* clean up text
* simply text
* combine link to getting started with previous paragraph
* Allow registered applications to hide Kibana chrome
* Fix bug in flipped value of application chromeHidden
* Add additional test for app chrome hidden versus chrome visibility
* Rename chromeHidden to chromeless
* Default chrome service app hidden observable to same value as force hidden
* Consolidate force hiding in chrome, add functional tests
* Move chromeless flag to App interface to prevent legacy applications from specifying
* Address review nits to improve separation
* 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
* Move temporary ui imported types in data plugin to common/types.
Remove unnecessary mocks.
* Updated dashboard, discover and visualize mappings - type removal
* Revert "Updated dashboard, discover and visualize mappings - type removal"
This reverts commit 5e931ce62a.
* Move mockFields and mockIndexPatterns to relevant directories
* Restructure stubs store
* Remove test code from production files
* Restructure stubs store
* [ML] Server info service refactor
* removing new job defaults
* changes based on review
* renaming all ml server info getter functions
* missed a file
* initial push
* self code review
* ignore node-fetch type
* usageFetcher api
* user agent metric
* telemetry plugin collector
* remove extra unused method
* remove unused import
* type check
* fix collections tests
* pass kfetch as dep
* add ui metrics integration test for user agent
* dont start ui metrics when not authenticated
* user agent count always 1
* fix broken ui-metric integration tests
* try using config.get
* avoid fetching configs if sending
* type unknown -> string
* check if fetcher is causing the issue
* disable ui_metric from functional tests
* enable ui_metric back again
* ignore keyword above 256
* check requesting app first
* clean up after all the debugging :)
* fix tests
* always return 200 for ui metric reporting
* remove boom import
* logout after removing role/user
* undo some changes in tests
* inside try catch
* prevent potential race conditions in priorities with =
* use snake_case for telemetry plugin collection
* usageFetcher -> sendUsageFrom
* more replacements
* remove extra unused route
* config() -> config
* Update src/legacy/core_plugins/telemetry/index.ts
Co-Authored-By: Mike Côté <mikecote@users.noreply.github.com>
* Update src/legacy/core_plugins/ui_metric/server/routes/api/ui_metric.ts
Co-Authored-By: Mike Côté <mikecote@users.noreply.github.com>
* config() -> config
* fix SO update logic given the current changes
* fix opt in check
* triple check
* check for non boolean
* take into account older settings
* import TelemetryOptInProvider
* update test case
* Removing tel splash page in UI layer
* Removing more components
* New disclaimer text
* Removing telemetry i18n text
* More i18n text removals
* Snapshot updates
* Snapshot tests + quick links for tel opt-out when possible
* Fixing TS issues in test
This PR is merged with an error, because these errors happen on master as well. @flash1293 is working on fixing those.
This one should allow us running with the latest es snapshot
* deprecate include_type_name
* include_type_name
* remove doc from mappings
* Updated timelion mapping
* Updated spaces and uptime mapping
* monitoring apm mapping
* Updated more mappings
* 2 more mappings
* Updated reporting mappings after syncing with @gammon
* Removed deprecated setting
* Initial work
* WIP changes
* Turn off banner when allowChangingOptInStatus is true
* Fix bugs
* Fix broken jest tests
* Add jest tests for TelemetryForm
* Add TelemetryOptIn jest tests
* Make some adjustments to allow always being opted in
* Disallow turning telemetry completely off
* Fix bug in Joi config
* Keep route there
* [Maps] replace coordinate map with Elastic Maps in Kibana getting started docs
* update dashboard getting started page
* update screen shot
* Update docs/getting-started/tutorial-visualizing.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* review feedback
* update dashboard instructions to include step to set time fitler
* clean up more instances for vector style
* review feedback