scale icon indicating copy to clipboard operation
scale copied to clipboard

Buttons need a loading state

Open telion2 opened this issue 2 years ago • 0 comments

The Buttons here https://telekom.github.io/scale/?path=/docs/components-button--standard do not feature a loading state.

The Loading State means, that the Button is disabled and shows a loading spinner. (At least that's how we did it until now.)
This means that colours need to be adjusted, disbaled = true and a spinner Icon is displayed.

The Use-Case can be a generic "Save" Button that sends changed Data to the backend and waits until the backend responds with success order Error.

Alternatively I guess I can implement it myself, but in that case, the design might be inconsistent among the telekom platforms. But if scale supports that in the future, then implementing it will be for naught. But since we use that feature now, we cannot switch to scale buttons.

Screenshot from 2022-08-31 15-52-43

telion2 avatar Aug 31 '22 13:08 telion2