tickit-project/tickit — pull request #96 by jameshalsall (2014-01-17 23:49:59+00:00)
Title: Notification polling

TODO:

- [x] Add `NotificationProvider` instance for polling for new notifications
- [x] Add `Html5NotificationDispatcher` which will (optionally, depending on browser features) notify the browser that there is a new notification via the HTML5 Notification API
- [x] Add `AmbientNotificationDispatcher` which will notify using in-app notifications
- [ ] Add an action for serving new unread notifications or re-purpose `/api/notifications/list` action
- [x] Fix race condition with `App.Notification.loadNotifications()` by making it a callback for `App.User.loadCurrentUser()`
- [x] Create a facade for `jquery.noty` which will ease the transition to another notification library if necessary

Fixes #6