mozilla / id.webmaker.org

OAuth 2.0 identity provider for Webmaker
https://id.webmaker.org
Mozilla Public License 2.0
18 stars 51 forks source link

Login buttons load slow on Teach #257

Open iamjessklein opened 9 years ago

iamjessklein commented 9 years ago

It took about 30 seconds before the Log In | Signup buttons loaded in the upper left hand corner of the page. It looked as though nothing was loading while I waited. This might be a good opportunity to provide the user with some feedback.

alicoding commented 9 years ago

I don't think this is directly a bug on id.webmaker.org @iamjessklein. It could be teach-api bug or just how teach site doing the call to id.wb.org I'm not sure.

cc @toolness

toolness commented 9 years ago

I believe this was because teach-api.herokuapp.com is running on a free 1x web dyno that was asleep, and you logging into teach woke it up. This won't generally be the case in production.

That said, if the user's internet is slow, a similar effect will happen. I assume that while the buttons were loading, the area looked as described in https://github.com/mozilla/teach.webmaker.org/pull/626:

That is the feedback :) We could potentially add something akin to Font Awesome animations to add a throbber/spinner effect, but aside from that or changing the text, there isn't much we can do pre-v1.

secretrobotron commented 9 years ago

@toolness want this moved over to the teach repo?

toolness commented 9 years ago

Sure!