* [DOCS] Updates intro doc
* [DOCS] Incorporates review comments
* [DOCS] Added image of a solution and other tweaks
* [DOCS] Updates image and content in get data section
* [DOCS] Incorporates review comments into docs intro
* Updated Lens and Visualize
* [DOCS] Adds note about Lens
* [DOCS] Added link to es docs
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
- Deprecates the custom KibanaContext.
- Where applicable dependencies provided via KibanaContext are now passed on via AppDependencies.
- The main feature of KibanaContext was to populate index pattern and saved search information for the transform wizard. This is now provided via the useSearchItems() custom hook.
* Revert setting time field to empty string when it's undefined
* Add unit test
* Mock timeFields
* Update step_time_field.test.tsx
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [ML] Add support for date_nanos time field in anomaly job wizard
* [ML] Edits following review
* [ML] Add functional test for creating job off date_nanos data
* Makes alerting and actions optional properties for interface RequestHandlerContext
* Added an error response result if context for actions and alerting is not registered
* Implemented edit alert functionality
* Added unit tests
* Added functional test for edit alert
* Fixed failed tests
* Fixed edit api
* Fixed due to comments
* Fixed functional test
* Fixed tests
* Fixed add alert
* Small type fix
* Fixed jest test
* Fixed type check
* Fixed bugs with interval and throttle + index threshold expression
* Add direct access link registry and dashboard impl and use in ML
* Add example plugin with migration example
* address code review comments
* Fixes, more code review updates
* Readme clean up
* add tests
* remove else
* Rename everything from DirectAccessLinkGenerator to the much short UrlGenerator. also fix the ml # thing and return a relative link from dashboard genrator
* add important text in bold
* Move url generators into share plugin
* add correct i18n prefix
* Fix timeRange url name
* make share plugin optional for dashboard
* fix code owners
* Use base UrlGeneratorState type, add comments
* Fix hash bug and add test that would have caught it
* Pull core service init out into separate function
* Call bind function from embeddable factory constructor
* Move inspector init back to start method. Remove old license check file
* Add TS types
- Deprecates the custom KibanaContext.
- Where applicable dependencies provided via KibanaContext are now passed on via AppDependencies.
- The main feature of KibanaContext was to populate index pattern and saved search information for the transform wizard. This is now provided via the useSearchItems() custom hook.
* wip
* review follow up
* make ACTION a prefix, not SUFFIX
* fix path
* add warnings about casting to ActionType
* Make context an object in examples, not a string
* require object context, which seems to fix the partial requirement in type and thus the type issue
* mistake
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [SIEM] Fix Timeline registerProvider to be called only when it's needed
* cleanup
* add unit tests
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [APM] Make typescript optimization process compatible with NP
Rather than creating an extra tsconfig.json file in the APM folder, simply change the one in x-pack root, and include APM files from both legacy + NP.
* Update dev_docs/typescript.md
* Use spread op instead of assign
* Use console.error instead of console.log
* [ML] validate mml based on estimated value
* [ML] better memoize
* [ML] memoryInputValidator unit tests
* [ML] cache mml errors
* [ML] prevent override
* [ML] fix validators, add unit tests
* [ML] ignore typing issue with numeral
* [ML] fix validateMinMML
* [ML] fix useCreateAnalyticsForm test
* [ML] setEstimatedModelMemoryLimit to the fallback value in case of an error