Automatically Add Loading Bars to Your Website
github.hubspot.com
github.hubspot.com
That said: Please.. Show static content first. Don't do the Blogger thing. That looks
- ridiculous
- stupid
- like Geocities did
In other words: For 'apps', games etc. this looks really neat. But a website, say a blog..., shouldn't need to show a progress indicator before any content shows up.
do you really need to use a list of adjectives like that, if you don't understand something at least try to be a little polite about it.
This is a terrible UI experience. Note: I have been living and working with iOS 7 since the first beta. I know it's new and shiny to everyone else, but this is absolutely the worst thing to add to your site. It serves no functional purpose and just clashes with devices that do this natively.
Aside from the whole Department of Redundancy Department feel, they both display progress at different rates.
"A man with a watch knows what time it is. A man with two watches is never sure."
Or use Angular or Backbone and then you really don't need a progress bar.
Another HN fanboy talking crap about scalability (of which he likely knows nothing) and claiming that his favourite magic bullet will save the day.
This is the straw that broke my back. I'm no longer going to lurk.
If you can't front-load enough to give 100 bytes of text to read, don't bother answering my http request.
Users complained it was too slow. They removed the loading bar. Users stopped complaining it was slow.
I've since stopped trying to find new ways to add loading bars, and just focused on making my software faster.
Not sure why a loading bar needs to be so resource-intensive.
(Granted, I'm plugged into a high resolution display, but even so most sites I visit don't have issues like this.)
It is not useful (and indeed it is an anti-pattern) for static sites in which case you'd want to just use the browser loading mechanism, that the user (hopefully) understands and is used to.
The only caveat I encountered with this was that I had to update the z-index in the generated css file to "999999" for it to work with bootstrap. Notable, NProgress has the same incompatibility with bootstrap.
I see the article was published on the 18th, and hubspot created the repo on the 11th, so I wonder if this was just a coincidence. Either way, nice work
Notes... To get it over the bootstrap navbar I z-indexed to a million. The ajax calls on my site seem to happen too fast to invoke. Fast pageloads are the benefit of no traffic!
When it is changed, we loop through various elements and change their background color. The way the themes are generated is a little more complicated, but I don't think that's what you're asking about.
It's Mac OS X. Plus you shouldn't name it that. Call it Wave or something else.