I'm submitting a ...
Current behavior:
After clicking on Generate Badges, there is no response for few seconds until badges are created message comes up.
Expected behavior:
Some indication of loading in this time period.
*I am working on it *
You can add an overlay that covers the whole screenand says Wait
And once badges are done just remove it ?
What say ?
Great, that's nice idea, I was thinking for a simpler one, mouse cursor wait property to use in between. What do you suggest ?
@abishekvashok @vaibhavsingh97 your opinion on this.
If you are considering the visibility factor of the loading process you can go with the overlay instead.
@rupav maybe take a look at open-event-webapp
@abishekvashok that's the best option, I will see their codebase to explore this more, will send a PR soon.
Okay!
@abishekvashok I am afraid, we can't implement that progress bar feature similar to open-event webapp generator because it uses webSocket( Socket.IO ) and there is a parameter data.donePercent through which one can know the progress Value. In badgeyay we are using only REST to interact with backend, so don't have any such parameter.
I can try making progress bar but , its animations will be random, and finishes once badges are created successfully. Or should I switch to overlay then ?
It's entierly your choice!