-
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
[ML] Transforms: Extend editing and creation options. #77370
Conversation
Pinging @elastic/ml-ui (:ml) |
...ections/transform_management/components/edit_transform_flyout/edit_transform_flyout_form.tsx
Outdated
Show resolved
Hide resolved
...transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx
Outdated
Show resolved
Hide resolved
...ections/transform_management/components/edit_transform_flyout/edit_transform_flyout_form.tsx
Show resolved
Hide resolved
...ections/transform_management/components/edit_transform_flyout/edit_transform_flyout_form.tsx
Show resolved
Hide resolved
...ections/transform_management/components/edit_transform_flyout/edit_transform_flyout_form.tsx
Show resolved
Hide resolved
)} | ||
> | ||
<EuiFieldText | ||
placeholder="max_page_search_size" |
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.
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.
...transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx
Outdated
Show resolved
Hide resolved
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.
Thanks for adding a functional for the new feature! Just one suggestion.
@peteharverson @pheyos pushed updates to your comments and PR is ready for another look 🤞 |
} | ||
|
||
const defaultContinuousModeDelay = '60s'; | ||
const defaultTransformFrequency = '1m'; |
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.
These settings don't seem to be copied over when cloning a job but reset to the defaults. Also even though it isn't exposed in the Create wizard, I think we should also copy over any docs_per_second
setting.
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.
Good catch, added this to the issue about fixing other missing attributes when cloning transforms: #75264
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.
Functional tests 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.
Latest edits LGTM
|
||
const configValue = getNestedProperty(config, formStateAttribute.configFieldName, fallbackValue); | ||
|
||
// only get depending values if we're not already in a call to get dependeing values. |
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.
nit: should be depending
LGTM 💯 |
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics@kbn/optimizer bundle module count
async chunks size
History
To update your PR or re-run it, just comment with: |
Extends the available options in the edit transform flyout and the wizard details step.
Summary
Fixes #67304, part of #67255.
Extends the available options in the edit transform flyout and the wizard details step.
Edit Flyout
Organizes the form to have basic form fields and expandable advanced sections.
Wizard Details Step
Adds an advanced expandable section.
Review note:
frequency
is on the outer level for the edit form and in the advanced section of the wizard. Feedback on the structure is very welcome.Checklist
For maintainers