eirikb / nipster

Search tool for npm
http://nipstr.com/
126 stars 20 forks source link

More prominent load indicator #17

Open dandv opened 10 years ago

dandv commented 10 years ago

I'm on a medium-speed connection (f_k you AT&T) and 15 seconds after typing in a few characters in Nipster, there's still no result other than "Processing". I know_ it will eventually return something, but other users might not.

Maybe display a larger load indicator, or some numeric progress?

DTrejo commented 10 years ago

spinner

my personal favorite :)

eirikb commented 10 years ago

The main problem is the superhuge json-file which takes a while to load, and as long as this solution is static only (and that is the core point, so that is how it will still be) I can't do much about the load speed (AFAIK). But a spinner, like suggested above, should be possible to add.

Another option is to add a progress-bar for the file loading, and with XHR2 we can use Progress events to make a progressbar. Good idea?