[ML] Add annotation markers to time series brush area to indicate annotations exist outside of selected range#81490
Conversation
…http getAnnotations, add new annotation markers in brush timeline
…ove this.previousShowAnnotations
|
@elasticmachine merge upstream |
|
Pinging @elastic/ml-ui (:ml) |
x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.js
Outdated
Show resolved
Hide resolved
...ins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js
Outdated
Show resolved
Hide resolved
...ins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js
Outdated
Show resolved
Hide resolved
…-markers-in-context-brush-area
…-markers-in-context-brush-area
…-markers-in-context-brush-area
x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.js
Outdated
Show resolved
Hide resolved
...application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx
Outdated
Show resolved
Hide resolved
peteharverson
left a comment
There was a problem hiding this comment.
I like the way the annotations are shown for the full chart area! Left a couple of comments about refining the query used to load the annotations.
...application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx
Outdated
Show resolved
Hide resolved
...application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx
Outdated
Show resolved
Hide resolved
…-markers-in-context-brush-area
peteharverson
left a comment
There was a problem hiding this comment.
Tested latest changes and LGTM.
…-markers-in-context-brush-area
💚 Build SucceededMetrics [docs]@kbn/optimizer bundle module count
async chunks size
History
To update your PR or re-run it, just comment with: |
| // context annotation marker | ||
| .mlContextAnnotationRect { | ||
| stroke: $euiColorFullShade; | ||
| stroke-width: $mlAnnotationBorderWidth; |
There was a problem hiding this comment.
For what it's worth, there are 1px $euiBorderWidthThin and 2px $euiBorderWidthThick variables, if you're interested in using them here.
There was a problem hiding this comment.
Thanks for looking it over 🙏 I think I'll keep mlAnnotationBorderWidth here since it's used for other parts as well but good to know we do have those variables available.
…otations exist outside of selected range (elastic#81490) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* master: (127 commits) [ILM] Fix breadcrumbs (elastic#82594) [UX]Swap env filter with percentile (elastic#82246) Add platform's missing READMEs (elastic#82268) [Discover] Adding uiMetric to track Visualize link click (elastic#82344) [Search] Add used index pattern name to the search agg error field (elastic#82604) improve client-side SO client get pooling (elastic#82603) [Security Solution] Unskips Overview tests (elastic#82459) Embeddables/migrations (elastic#82296) [Enterprise Search] Refactor product server route registrations to their own files/folders (elastic#82663) Moving reinstall function outside of promise.all (elastic#82672) Load choropleth layer correctly (elastic#82628) Master backport elastic#81233 (elastic#82642) [Fleet] Allow snake cased Kibana assets (elastic#77515) Reduce saved objects authorization checks (elastic#82204) [data.search] Add request handler context and asScoped pattern (elastic#80775) [ML] Fixes formatting of fields in index data visualizer (elastic#82593) Usage collector readme (elastic#82548) [Lens] Visualization validation and better error messages (elastic#81439) [ML] Add annotation markers to time series brush area to indicate annotations exist outside of selected range (elastic#81490) chore(NA): install microdnf in UBI docker build only (elastic#82611) ...
Summary
This PR fixes #54025 by adding markers for annotations in the time series brush area to show and that annotations exist outside of the selected, visible range