kibana/x-pack/packages/ml/data_view_utils
Walter Rafelsberger 9f86c05d03
[ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202)
Consolidates UI elements and backend code to create/delete data views
and destination indices related to transforms and data frame analytics.

We ended up with two different approaches for creating data views in the
wizards for transforms and data frame analytics, the original reason was
we were not aware of the `allowNoIndex: true` setting and worked around
that in different ways.

This PR aligns UI workflows and moves related code to a new package
`@kbn/ml-data-view-utils` for data views and
`@kbn/ml-creation-wizard-utils` for the destination index form. The
latter might be used for other shared components across wizard..

In Data Frame Analytics, the checkbox to create a data view was removed
from the last "Create" step, instead the option to create a data view
was moved to the "Details" step.

In Transforms, the UI component to create the destination index was
brought over from DFA where there is a switch option to automatically
use the job ID as the name for the destination index by default.
2023-11-29 18:40:35 +00:00
..
actions [ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202) 2023-11-29 18:40:35 +00:00
components [ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202) 2023-11-29 18:40:35 +00:00
schemas [ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202) 2023-11-29 18:40:35 +00:00
types [ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202) 2023-11-29 18:40:35 +00:00
jest.config.js [ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202) 2023-11-29 18:40:35 +00:00
kibana.jsonc [ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202) 2023-11-29 18:40:35 +00:00
package.json [ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202) 2023-11-29 18:40:35 +00:00
README.md [ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202) 2023-11-29 18:40:35 +00:00
tsconfig.json [ML] Transforms/Data frame analytics: Align data view / destination index creation workflow in wizards. (#171202) 2023-11-29 18:40:35 +00:00

@kbn/ml-data-view-utils

Utilities for handling data views in plugins owned by the @elastic/ml-ui team.