-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Transform] Show destination index mapping warning for the latest transform #87858
Conversation
Pinging @elastic/ml-ui (:ml) |
<p> | ||
<FormattedMessage | ||
id="xpack.transform.stepDetailsForm.destinationIndexWarning" | ||
defaultMessage="Note that dynamic mappings based on the source fields will be used if the destination index does not exist. If alternate mappings are required, use the {docsLink} prior to starting the transform. If the transform fails, please check the messages tab for the transform on the Stack Management page for errors." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defaultMessage="Note that dynamic mappings based on the source fields will be used if the destination index does not exist. If alternate mappings are required, use the {docsLink} prior to starting the transform. If the transform fails, please check the messages tab for the transform on the Stack Management page for errors." | |
defaultMessage="Before you start the transform, use index templates or the {docsLink} to ensure the mappings for your destination index match the source index. If the transform fails, check the messages tab on the Stack Management page for errors." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in 8bb38f5
Technically the callout seems to be horizontally aligned with the Here's an alternative version, it will consume more vertical space though, but it's still in line with what the EUI docs suggest (https://elastic.github.io/eui/#/forms/form-validation), what do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Text changes LGTM
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
…nsform (elastic#87858) * [Transform] show callout for the latest transform * [Transform] fix flex styles * [Transform] change to vertical layout, update warning message * [Transform] fix messages
…nsform (elastic#87858) * [Transform] show callout for the latest transform * [Transform] fix flex styles * [Transform] change to vertical layout, update warning message * [Transform] fix messages
Summary
With a recently revealed elasticsearch bug with the dynamic mappings, we need to show a warning callout in the UI.