View Issue Details

IDProjectCategoryView StatusLast Update
0007069Anastasisanastasis-webuipublic2022-09-26 20:50
ReporterFlorian Dold Assigned Tosebasjm  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.3.0Fixed in Version0.3.0 
Summary0007069: show spinner and/or disable next button while waiting for the reducer
DescriptionSome 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).
TagsNo tags attached.

Activities

sebasjm

2021-11-12 17:33

developer   ~0018478

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.

sebasjm

2021-11-24 20:33

developer   ~0018531

I'm leaving the cancel feature for the future

Issue History

Date Modified Username Field Change
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