Repository navigation
[ML] AIOps: Adds/edits change point charts embeddable from the Dashboard app - #163694
Conversation
|
@elasticmachine merge upstream |
|
Pinging @elastic/ml-ui (:ml) |
| onChange={onChangeCallback} | ||
| isClearable | ||
| data-test-subj="aiopsChangePointSplitField" | ||
| // @ts-ignore |
There was a problem hiding this comment.
Nit: would be good to know what the ignore is for
|
Looks like the options for partitions aren't updated when the split field is changed. The selected partition field should also be removed if it no longer corresponds to the split field. chartsEmbeddableBug.mp4 |
| const { runRequest, cancelRequest } = useCancellableSearch(); | ||
|
|
||
| const fetchResults = useCallback( | ||
| async (searchValue: string) => { |
There was a problem hiding this comment.
Might be missing something but when does the searchValue get updated for this?
There was a problem hiding this comment.
thanks for spotting this @alvarezmelissa87! fixed in 837b991
|
Thanks for reviewing @jgowdyelastic. I completely forgot about the |
alvarezmelissa87
left a comment
There was a problem hiding this comment.
Latest changes LGTM ⚡
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsasync chunk count
References to deprecated APIs
History
To update your PR or re-run it, just comment with: cc @darnautov |
jgowdyelastic
left a comment
There was a problem hiding this comment.
Added a single nit pick, but otherwise LGTM
| onValidationChange(maxSeriesValidator(newValue)); | ||
| } | ||
| }} | ||
| min={1} |
There was a problem hiding this comment.
This could be a constant, it's used on line 39 too.
Summary
Part of #161248
Checklist