Badgeyay: Generate Badges taking time, so some indicator of loading/generating should be present.

Created on 5 Feb 2018  路  8Comments  路  Source: fossasia/badgeyay

I'm submitting a ...

  • [ ] bug report
  • [x] feature request

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 *

Enhancement has-PR

All 8 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mariobehling picture mariobehling  路  7Comments

rupav picture rupav  路  4Comments

vaibhavsingh97 picture vaibhavsingh97  路  6Comments

ParthS007 picture ParthS007  路  6Comments

meets2tarun picture meets2tarun  路  8Comments