* [ML] Fix error toasts shown when starting or editing jobs
* [ML] Adds toast_notification_service.ts file
* [ML] Fix Jest and type_check tests
* [ML] Alter check for statusCode in error object handling
* [ML] Fix errors Jest test
* wip: add edit action to dfanalytics table
* add update endpoint and edit flyout
* show success and error toasts. close flyout and refresh on success
* show permission message in edit action
* update types
* disable update button if mml not valid
* show error in toast, init values are config values
* fix undefined check for allow lazy start
* prevent update if mml is empty
Adds support for histogram charts to data grid columns.
- Adds a toggle button to the data grid's header to enabled/disable column charts.
- When enabled, the charts get rendered as part of the data grid header.
- Histogram charts will get rendered for fields based on date, number, string and boolean.
* [ML] WIP filter support
* [ML] value selector
* [ML] only supported filter aggs as options
* [ML] WIP apply config
* [ML] fix form persistence
* [ML] refactor
* [ML] support clone
* [ML] validation, get es config
* [ML] support "exists", fixes for the term form, validation
* [ML] fix ts issues
* [ML] don't perform request on adding incomplete agg
* [ML] basic range number support
* [ML] filter bool agg support
* [ML] functional tests
* [ML] getAggConfigFromEsAgg tests
* [ML] fix unit tests
* [ML] agg name update on config change, add unit tests
* [ML] update snapshot
* [ML] range selector enhancements
* [ML] improve types
* [ML] update step for range selector to support float numbers
* [ML] range validation
* [ML] term selector improvements
* [ML] fix switch between advanced editor
* [ML] prefix test ids
* [ML] support helper text for aggs item
* ensure destinationIndex name is defined
* set array for destIndex as invalid
* update type
* reset destIndex already exists error when updating advanced editor
* [ML] Client side cut over
* updating paths and commented code
* changes based on review
* disabling telemetry tests
* fixing start job stylesheets
* fixing everything that is broken
* fixing types and ml icon order
* using icon constant
* wip: create react jobSelector wrapper + main component
* Load jobs and select first if none selected via url
* wip: create flyout content
* Add endpoint for fetching jobs with timerange for table
* display selected ids in flyout
* Add custom table allowing external selection
* add groups table in groups tab
* Get groups and jobs in initial api call
* add ability to select groups
* Hook jobSelector into SingleMetricView
* Show selected group badges with count
* Organize jobSelector component directories
* Move timerange logic to server
* Move group color selection to utils
* hide/show badges and add localization
* fetch jobs in route to enable selector jobid validation
* upate globalState on setting jobId in SingleMetricView
* Add pager options.Retain search query on tab change
* Ensure gantBar timeRanges correct
* cleanup old commented code. tweak flyout header/footer style
* running gantt bar and remove unnecessary api call
* GanttBar running style. Pass timezone to server.
* Running gantt bar limited to timerange. Clean up comments.
* Refactor jobSelector endpoint to use fullJobs
* Retain group selection in globalState
* Recalculate ganttbars on resize
* add test for JobSelectorTable
* [@kbn/expect] "fork" expect.js into repo
* [eslint] autofix references to expect.js
* [tslint] autofix all expect.js imports
* now that expect.js is in strict mode, avoid reassigning fn.length
We need to share `@kbn/datemath` with `@elastic/eui`, and rather than making them rely on Kibana for their dependencies we've decided to republish `@kbn/datemath` as `@elastic/datemath`. This isn't something we want to do often, so please check with the platform team if you'd like to do this for another module.
- Enables support for the rare detector for the charts in Anomaly Explorer and Single Metric Viewer.
- The charts use a count aggregation. The anomaly records for rare detectors include actual/typical values, but they don't refer to values we have for other detectors. actual is always 1 and doesn't refer to the actual count. typical has the probability as its value. To avoid confusing users by displaying these values as actual/typical in the tooltip, just the value of count of the aggregation will be shown.
- This enables the existing charts to be able to visualize rare detectors. A follow-up to this PR will introduce a specific chart for rare detectors.
This provides more helpful texts for job validation success messages. Previously only a list of checks was shown to the user without any further explanation. This PR addresses this issue in the following way:
- At the bottom of the modal an introductory brief text about job validation including a link to documentation is inserted.
- The success messages in the list now provide a more helpful text including (where applicable) a deep link to documentation
- The messages now support a richer Callout layout including a header and additional text.