* transaction actions menu
* transaction actions menu
* fixing pr comments
* fixing pr comments
* fixing pr comments
* fixing pr comments
* fixing unit test
* fixing unit test
* using moment to calculate the timestamp
* renaming labels
* Changing section subtitle
* fixing unit tests
* replacing div for react fragment
* refactoring
* removing marginbottom property
* div is needed to remove the margin from the correct element
* [Telemetry] Refactor to TS Monitoring telemetry_collection files
* [Telemetry] Fetch side documents generated by monitoring to build up the Kibana plugins stats
* Update x-pack/legacy/plugins/monitoring/server/telemetry_collection/get_beats_stats.ts
Co-Authored-By: Ahmad Bamieh <ahmadbamieh@gmail.com>
* Fix import in test file
* Move mocha tests to Jest + TS
* Fix extended telemetry in functional tests
* Fix types
* [Telemetry] Fix bug in usage_collector wrong function override
* Revert integration tests (change not needed)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
- Fixes hiding the global date picker on anomaly detection settings pages.
- Consolidates various timefilter usages for enabling/disabling the date picker into a useTimefilter() hook.
* Move mode and lexer rules to shared space
* Update searchprofiler mode rules
* Moved x-json worker out of searchprofiler and into es_ui_shared (for use in Watcher)
Renamed ace/mode -> ace/modes
* Moved collapse and expand literal string functions to es_ui_shared
* Fix some imports
Enable Watcher editor to parse XJson using XJsonMode
* Fix imports
Import JSON highlight rules in XJSONHighlight rules
* Move console_lang, fix Jest tests
Exporting console_lang through the es_ui_shared/public barrel caused the XJsonMode to imported to a index_management too and any other plugin that may
import something from that directory. console_lang was moved to it's own top level directory es_ui_shared/console_lang.
We also included a mock for tests using XJsonMode to import from console_lang.
* Fixed OSS Jest tests
Console Jest tests were still failing because they did not mock out the raw-loader imported worker file
* Expand triple quotes in editor
Upon entering the advanced watcher creation view, the JSON should be scanned for triple quote expansion
* Bring all editors themes in line
Editors had github theme, which diverged from the textmate theme used in Console and SearchProfiler
* Added XJSON mode to simulate alternative input editor
Slight refactor to the logic for using XJSON mode. Created an adhoc hook for wrapping the
logic of useState and moved lanugage util imports there too to reduce the number of imports
in both the watcher form and simulate tabs in advanced creation.
* Moved x-json worker to x-pack
x-json worker is currently only used inside of x-pack. Also testing
for if this will fix the CI/prod build
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Made eui search field not a controlled component
Added validateRegExpString util
* Update error message display. Use EuiCallOut and i18n to replicate other search filter behaviour, e.g. index management.
* Remove unused variable
* Update Jest snapshot
* Updated layout for callout
The previous callout layout looked off-center next to the controls in the table.
* Update copy and remove intl
Update "Filter Invalid:" to sentence case
Remove inject intl wrapper from CheckupControls component
Remove unnecessary grow={true}
* Updated Jest component snapshot
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [@kbn/test] build with source-maps
* [@kbn/test] the jUnit Reporter being used for SIEM Cypress tests sometimes doesn't include testcases in XML
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Previously, when using the slack action with a url which was not whitelisted, the entire URL was reported in the error. With this change, only the hostname is reported in the error.
* Fix ILM policy creation
* Handle errors thrown in scenario multiple Kibana instances are started at the same time
* Fix tests and cleanup
* Start adding tests
* Refactor tests, add index template failure test
* Create cluster client adapter to facilitate testing and isolation
* Fix places calling callEs still
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Reporting/New Platform] Provide async access to server-side
* consistent name for reportingPlugin
* Prettier changes
* simplify reporting usage collector setup
* add more tests
* extract internals access to separate core class
* fix tests
* fix imports for jest and build
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Initial Policy List view
* Add `endpoint/policy` route and displays Policy List
* test cases (both unit and functional)
Does not yet interact with API (Ingest).
* [ML] Update filters routes to use new platform router
* [ML] Edits to filters route following review
* [ML] Edits following review and fix job service api docs
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* eui to v19.0.0
* typescript updates; idAria removal
* src snapshot updates
* mock euicode and euicodeblock for jest
* x-pack snapshot updates
* mock euicode for jest
* more euicode snapshots
* mock euicode in storyshots
* types/enzyme yarn.lock
* sidenav type update
This PR adds a sidebar navigation. clicking the icons in the nav will focus the camera on the different nodes. There is an animation effect when the camera moves.
* [kbn/optimizer] simplify run_workers.ts a smidge
* use Path.resolve() to create windows paths from normalized ones
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Fix to trigger a chart update with the correct width when resizing the browser window. Previously after a browser refresh, or opening the view from a bookmarked URL, the chart would not resize until a state change was made to the view (such as moving the zoom slider or altering the time range).
* update DNS histogram
* fix indent
* hide dropdown if only one option provided
* update DNS histogram
* fix types
* wip
* isolate matrix histogram on server side
* fix type for graphql
* fix types
* fix tests
* fix types
* fix types
* add unit test
* add unit test
* fix types
* split histogram configs to an object
* an idea to simplify more
* add unit test
* remove updateDateRange passing down to matrixHistogram
* change histogramType to enum
* handle the case which config not available
* fix review
* fix review II
* fix parser for dns histogram
* revert change
* isolate parsers
* fix unit
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>