[ML] Use EuiDataGrid for transform wizard.#52510
Conversation
|
Pinging @elastic/ml-ui (:ml) |
💔 Build Failed
To update your PR or re-run it, just comment with: |
100fff6 to
f406f00
Compare
|
@elasticmachine merge upstream |
|
Is it worth defaulting to a max of say 10 columns, rather than a default of showing all columns? For a |
|
|
Another paging issue with the Preview table - where I guess it is trying to restore the page number if the group by, or aggregation changes. Here I grouped by instance, switched to the last page (page 16), then switched to grouping by region (which only has 5 values), and the table is blank: This also affects the source table (here use farequote, search over all airlines, go to page 2000, and then add an airline:AAL query: Maybe we should reset the page number if the query / Group by / Aggregation change? |
|
Agree that these can be done in follow-ups:
And as a workaround for #52510 (comment), I would vote to hide all |
peteharverson
left a comment
There was a problem hiding this comment.
Tested latest edits, and LGTM!
jgowdyelastic
left a comment
There was a problem hiding this comment.
Added a couple of questions.
But on the whole LGTM!
|
|
||
| type SourceIndexSearchResponse = ErrorResponse | SearchResponse<any>; | ||
| // The types specified in `@types/elasticsearch` are out of date and still have `total: number`. | ||
| interface SearchResponse7 extends SearchResponse<any> { |
There was a problem hiding this comment.
why the 7 at the end of the name?
There was a problem hiding this comment.
The @types/elasticsearch types are quite out of date (6.something) so I put the 7 there as a fix saying for 7.x. Hope this is temporary and at some point we get updated types.
| setStarted(true); | ||
| setLoading(false); | ||
| } else { | ||
| throw new Error(); |
There was a problem hiding this comment.
this error contains no text so it looks like the toast body below will be empty?
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |






Summary
Part of #51288.
Fixes #49849.
Replaces the custom
EuiInMemoryTablecomponent withEuiDataGridfor the transforms wizard.Note for reviewing SCSS: The hard coded
pxvalues are temporary. We plan to do a redesign of the transforms wizard as a follow up to move from the two-column layout to a single-column layout and should be able to get rid of those hard coded by then.TODO / Fix
Checklist
For maintainers