-
Notifications
You must be signed in to change notification settings - Fork 8k
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: Fixes max page search size limit #159052
Conversation
7dcd8f2
to
9878244
Compare
Pinging @elastic/ml-ui (:ml) |
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.
Tested and LGTM
// The reducers and utility functions in this file provide the following features: | ||
// - getDefaultState() | ||
// Sets up the initial form state. It supports overrides to apply a pre-existing configuration. | ||
// The implementation of this function is the only one that's specifically required to define | ||
// the features of the transform edit form. All other functions are generic and could be reused | ||
// in the future for other forms. | ||
// | ||
// - formReducerFactory() / formFieldReducer() | ||
// These nested reducers take care of updating and validating the form state. | ||
// | ||
// - applyFormStateToTransformConfig() (iterates over getUpdateValue()) | ||
// Once a user hits the update button, these functions take care of extracting the information | ||
// necessary to create the update request. They take into account whether a field needs to | ||
// be included at all in the request (for example, if it hadn't been changed). | ||
// The code is also able to identify relationships/dependencies between form fields. | ||
// For example, if the `pipeline` field was changed, it's necessary to make the `index` | ||
// field part of the request, otherwise the update would fail. |
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.
Suggest to leave this comment section as is in this file because it's about the whole file and not just the moved validator.
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 here 7136145
(#159052)
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 changes LGTM!
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @qn895 |
Summary
This PR fixes #157975, and updates the max value for max_page_search_size to be 65536.
It also tweaks a previous behavior with the text input which turns values into NaN when typing restricted values.
Before:
https://github.com/elastic/kibana/assets/43350163/4141b73d-0a59-413b-972e-78d80c8194dc
After:
Screen.Recording.2023-06-05.at.13.27.09.mov
Checklist
Delete any items that are not applicable to this PR.
Risk Matrix
Delete this section if it is not applicable to this PR.
Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.
When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:
For maintainers