alan-turing-institute / AutSPACEs

Code respository for AutSPACEs: the Autistica/Turing citizen science platform
MIT License
36 stars 18 forks source link

Indicate that trigger-toggles worked #645

Closed gedankenstuecke closed 8 months ago

gedankenstuecke commented 8 months ago

This fixes #606, by including a modal overlay of a "spinner" to indicate that the updated results are loaded.

Technically, this is a bit smoke & mirrors, as it's completely unrelated to the actual loading, instead there's a quarter second period in which the overlay is shown before then reloading the website with the new results.

While definitely not an elegant solution, I think for now this is a pragmatic approach, as the more dynamic implementation would mean a quite big chunk of work to refactor how the loading of the results happens!

github-actions[bot] commented 8 months ago

Coverage report

This PR does not seem to contain any modification to coverable code.

gedankenstuecke commented 8 months ago

Thanks @helendduncan for looking over it!