Tell me, how beautifully (correctly) to organize the loading indicator on the page during the execution of asynchronous requests?
Now I thought of it like this: I take the GIF, the start of the download - we show the GIF in a modal way to the whole window. Loading and / or processing of the response is completed - we hide the gif.
But how good it is, beautiful, good - I do not know.
By the modal indicator for the whole window, I mean - a little gif that spins in the center of the window while everything else is dark.