phonlab-tcd / An-Scealai

An Scéalaí is an open-source online learning platform for teachers and students of the Irish language.
GNU General Public License v3.0
7 stars 3 forks source link

Adds loading spinner for TTS #494

Closed OisinNolan closed 1 year ago

OisinNolan commented 1 year ago

https://github.com/phonlab-tcd/An-Scealai/issues/490

Added a loading spinner that displays for the intermediate time between clicking the synth button and audio.play() being called.

Here's how it looks:

https://github.com/phonlab-tcd/An-Scealai/assets/34962541/1b585cd6-2cca-431e-87f6-3acf56e6cd2a

maddiecomtois commented 1 year ago

Looks great! We also have css code for something similar called 'blinker'. I think it's used in the dashboard (or styles.css) for the speech to text and the recording page. Just mentioning in case either could benefit from code merging!