redpotion icon indicating copy to clipboard operation
redpotion copied to clipboard

Idea: progress spinner

Open twerth opened this issue 10 years ago • 7 comments
trafficstars

We should decided on a progress gem, like JGProgressHUD or whatever, and make a nice wrapper around it in RedPotion. Especially the common stuff.

twerth avatar Mar 03 '15 17:03 twerth

I really like SVProgressHUD and I use the motion-blitz gem to provide a nice DSL for it. https://github.com/dblandin/motion-blitz

markrickert avatar Mar 03 '15 17:03 markrickert

motion-blitz looks good. I think we usually use JGProgressHUD and from memory @GantMan has a wrapper for it (?)

willrax avatar Mar 03 '15 17:03 willrax

I like it, but i can also see us creating a custom wrapper… maybe a rmq-addon that adds rmq.hud.show rmq.hud.hide, etc.

markrickert avatar Mar 03 '15 18:03 markrickert

:+1: for @markrickert 's idea.

jamonholmgren avatar Mar 03 '15 18:03 jamonholmgren

Imo we make our own wrapper around jgprogress and include it in redpotion.

I'll start it if we agree on this path. I have experience with blitz and jgprogress

GantMan avatar Mar 03 '15 19:03 GantMan

@GantMan @markrickert I like the idea of a plugin. I currently alias Motion::Blitz as Notifier, like it says in the readme. I think referring to it as "notifier" is relatively intuitive. Maybe we can have app.notifier? I haven't used JGProgressHUD, but I assume these are pretty similar libraries. It seems like we should just alias Motion::Blitz since it's already a gem. Is there a reason to go with one over the other?

andrewhavens avatar May 09 '16 23:05 andrewhavens

JG Progress HUD was written to be more advanced than SV Progress HUD. BUT Motion::Blitz is awesome, so I say let JG Progress HUD die.

GantMan avatar May 10 '16 01:05 GantMan