tidepool-org/blip — pull request #138 by nicolashery (2014-09-19 20:30:34+00:00)
Title: Fix loading indicator on dashboard with invites

@ianjorgensen This is just as an FYI. I noticed a small flash of empty UI on the dashboard when some things finish loading but it can't render yet. I fixed that here.

I don't expect you to catch it as I haven't documented how you can use the mock API to test this. But for info, if you save your session (`localStorage.mockAuthToken = 'token11'`), and then reload with the URL:

```
http://localhost:3000/?api.patient.getall.delay=2000&api.invitation.getReceived.delay=1000#/patients
```

You can see the app in "loading" states, which mimics a bit better what the user would see in the real world.

Merging this now, as only a cosmetic change. Just wanted to put it up here for you to see.