EUI improved the EuiSteps component to be able to show a loading state for async actions. That means we can update the step item to show a loading state rather than put an additional spinner in the content of item.
Proposed solution
Change the EuiStep to show loading when the create jobs button is clicked.
Change the button state to disabled and change the label to show Creating jobs...
Summary
Related to https://github.com/elastic/eui/pull/4338
EUI improved the
EuiSteps
component to be able to show aloading
state for async actions. That means we can update the step item to show a loading state rather than put an additional spinner in the content of item.Proposed solution
loading
when the create jobs button is clicked.Creating jobs...