Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Add spinning icon to buttons that execute something #215

Closed christophfriedrich closed 2 years ago

christophfriedrich commented 2 years ago

E.g. the "Run now" button -- currently clicking it results in an open ajax request that causes the spinning icon in the bottom left corner to appear. But it would be nicer if this spinning would take place exactly where it belongs to.

We already have something like this on the login screen.

m-mohr commented 2 years ago

Would it also work if I open a new toast that stays open as long as the request runs? That would also give the option to cancel the request and allow starting a second job, because with the button I realized that this gets out of hands once you start to send two sync jobs at the same time. That is similar to your idea with the "Downloads" in the Browser...

m-mohr commented 2 years ago

First version until we get Cancelation support in the JS client:

image