- Fixes the default sorting of the annotations table to sort by starting timestamp.
- Fixes sorting of the label column by adding a "Label" column header.
- Fixes creating annotations when starting over model bounds by setting pointer-events: none to non-interactive chart elements like model bound areas and lines
- Fixes hovering of anomaly markers on top of annotation by changing the order of SVG wrapper elements in the Single Metric Chart.
- Fixes a regression and re-enables the display of the labels in the annotation chart in Single Metric Viewer.
- Fixes missing background color of annotation labels in Firefox/IE.
EUI 5.7.0 had a color refresh which switched around our palette to better match branding guidelines. Hex colors are still hard coded in large parts of Kibana so most of the changes not in kbn/ui-framework are simple shifts to match that styling.
- The annotations table has been updated to support multiple jobs.If annotations from multiple jobs are shown, a column with job ID will dynamically be added to the annotation table.
- The code for openSingleMetricView() to drill down from the annotations table has been updated to work both from the jobs list and Anomaly Explorer.
- The wrapper angularjs directive for the annotations table now has support for a scope attribute to show/hide the column with A/B/C... labels.
* [ML] List all annotations in jobs list annotations table even outside analysis time range.
* [ML] Adjust the links time range if annotation is outside analysis time range.
Fixes the overflow of annotations left and right of the focus area chart using a SVG mask. In addition to the masking, annotation label position are adjusted to not be hidden or cut off when the start or endof a masked annotation is outside the visible area.
* Create calendar list in react
* wip: create new_calendar page
* Update new calendar settings directory name
* Edit button action + update utils
* Adds ability to create new calendar
* Display calendar data on edit
* rename directory to settings/calendar
* Add scss files to calendar dir
* Create new group from form
* Adds event table and partial event modal.
* adds datepicker to modal
* Time range event functionality
* add import event functionality
* upate new event modal design
* Add error handling to list/edit
* calendarId validity check
* Create/delete permission. List/form style tweak
* Update calendarList to match filterList
* Add missing newlines in scss files
* Initial tests for calendar list
* Update classnames to meet guidelines
* ImportedEvents component + create utils
* remove unnecessary import
* rename calendars dir
* include past evens in import if checkbox checked
* code review updates
* move components into own directories
* update index.scss with dir name change
* skip irrelevant tests
* fix unsaved event deletion. rename scss file.
* Add modal tests
* Show calendarId and description as header on edit
* update snapshot for refactor
* update classnames to BEM guidelines
* Update snapshot for classname change
Adds isRequired to timeseries_chart props to match the minimum required props necessary to render the component without errors reflected in the Minimal initialization test.
* [ML] Fixes the skipping rule for metricData.
* [ML] Adds a test to check against correct filtering of null/0.
* [ML] Gets rid of _.has() and fixed a rare error with field values containing a trailing dot.
* [ML] Fixes rare/event_distribution chart filtering.
* [ML] Fixes race condition related to view by swimlane initialization.
* [ML] Updated comment to clarify metricData filtering.
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.
- The controller tests introduced in #25382 had a flaw: If a controller initialization would fail and throw an error, that test suite wouldn't be able to clean up any stubs. So tests using the same stubs would report and error because the stubs couldn't be wrapped again.
- This PR wraps every controller initialization inside an assertion and catches those errors properly as part of the test.
* fix: move buildEsQuery to utils
* fix: tests that I broke
* fix: add back link to the docs
* fix: don't export from ui/ and link to utils
* fix: move to a package
* fix: move error to errors.js
* fix: paths for peg task
* fix: update reference to kuery
* fix: build step for transpilation
* fix: add typescript declaration file
* fix: test
* tmp: debug individual tests
* debug: add debug stuff for reporting tests
* try to debug test
* Testing splitting reporting jobs in two
* Testing splitting each job
* Fix ci yaml
* Skipping job to check failing test
* debug - adding a catch to jobResponseHandler on report
* Testing a different job and enabling verbose mode
* Testing verbose on phantom_api skipping other CI tests
* Fix script mode
* fix: try running tests in chromium
* fix: move out of devDependencies
* fix: remove commented test
* Revert "fix: try running tests in chromium"
This reverts commit 991d46f051.
* Revert testing changes
* Fixing build for phantomjs
* Revert CI configuration to master. Remove verbose logging for tests