Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: replace loading message for placeholder #2121
Ok, probably unexpected but I hope you like it, specially @skipjack.
What if instead of the Loading... message we have right now:
We display a more modern placeholder animated like this:
That last example is serving the actual static + SPA content with CPU and Network throttling, I swear that live it looks really awesome and improves the experience a ton.
I'm also defering related links and contributors until the real markdown content is there.
@montogeek when you are on a wifi network you won't even see the placeholder honestly as it happens too fast. But when your wifi is crappy or you're on a mobile network it really improves the user perception and prevents the content restacking effect.
@EugeneHlushko server side code remains untouch as this only affects Promise based content.
Love it, please see minor comments (one of which I'm fine with holding off on).