Phasedio / webapp

1 stars 0 forks source link

idea: loader #41

Closed daveriedstra closed 7 years ago

daveriedstra commented 8 years ago

show a loader until data is retrieved from firebase (could use Phased:setup or Phased:history events)

daveriedstra commented 8 years ago

alternatively (or in addition), we could cache some team data (categories, team members, maybe even history) using HTML5 localstorage

brianbest commented 8 years ago

Yes, I agree. I'm a fan of covering up the whole page until JS is done its initial load and data is properly formatted. See Asana's loader as an example below:

screen shot 2016-01-15 at 9 47 22 am

I like holding information in HTML5 local storage. caching the last 100 updates and tasks here then once a connection is made then it loads newest results. With this, since it would be in the same vain, also build out features for offline mode.

I'm just thinking if a user is on site and their connection is spotty then frequent disconnects might be an issue. We don't have to go crazy with it but for like an MVP, we just do updates if the user is offline. I'll make a separate ticket for that.