View Issue Details

IDProjectCategoryView StatusLast Update
0007069Anastasisanastasis-webuipublic2022-09-26 18:50
ReporterFlorian Dold Assigned Tosebasjm Due Date
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 16: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 19:33

developer   ~0018531

I'm leaving the cancel feature for the future

Issue History

Date ModifiedUsernameFieldChange
2021-11-04 16:12Florian DoldNew Issue
2021-11-04 16:12Florian DoldStatusnew => assigned
2021-11-04 16:12Florian DoldAssigned To => sebasjm
2021-11-12 16:33sebasjmNote Added: 0018478
2021-11-24 19:33sebasjmStatusassigned => resolved
2021-11-24 19:33sebasjmResolutionopen => fixed
2021-11-24 19:33sebasjmNote Added: 0018531
2022-09-26 18:49Christian GrothoffFixed in Version => 0.3.0
2022-09-26 18:49Christian GrothoffTarget Version => 0.3.0
2022-09-26 18:50Christian GrothoffStatusresolved => closed