View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007069||Anastasis||anastasis-webui||public||2021-11-04 17:12||2022-09-26 20:50|
|Reporter||Florian Dold||Assigned To||sebasjm|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||0.3.0||Fixed in Version||0.3.0|
|Summary||0007069: show spinner and/or disable next button while waiting for the reducer|
|Description||Some requests to the reducer may take a longer time, for example when actually uploading the secret to the providers.|
Currently, when clicking the next button, nothing happens for a while, and then the next screen is shown.
It would be good to at least disable the "next" button, or maybe even show some spinner. Eventually it might also make sense to have a "cancel" button that we only show if the action takes a long time (say >5secs).
|Tags||No tags attached.|
I have implemented an asyncbutton for any task that may take some time. It shows "Loading..." when waiting.
Currently this is a generic approach for any function that returns a promise. We can make one that take into account the reducer state to being able to cancel it.
Let me know if you think this is good enough or you want to go for the cancellable one.
||I'm leaving the cancel feature for the future|
|2021-11-04 17:12||Florian Dold||New Issue|
|2021-11-04 17:12||Florian Dold||Status||new => assigned|
|2021-11-04 17:12||Florian Dold||Assigned To||=> sebasjm|
|2021-11-12 17:33||sebasjm||Note Added: 0018478|
|2021-11-24 20:33||sebasjm||Status||assigned => resolved|
|2021-11-24 20:33||sebasjm||Resolution||open => fixed|
|2021-11-24 20:33||sebasjm||Note Added: 0018531|
|2022-09-26 20:49||Christian Grothoff||Fixed in Version||=> 0.3.0|
|2022-09-26 20:49||Christian Grothoff||Target Version||=> 0.3.0|
|2022-09-26 20:50||Christian Grothoff||Status||resolved => closed|