Platform/Features/Notifications: Difference between revisions

Jump to navigation Jump to search
Line 16: Line 16:


== Summary ==
== Summary ==
'''Developer Story'''
A Gmail developer wants to be able to tell Gmail users that they have new mail, even when they don't have Gmail open in a tab.  She sets up a service at Google that browsers can connect to to receive updates on new data.  She also writes client-side code that registers with the service using the user's Gmail ID and - based on the user's permission - can receive and process messages.  This client-side code is based on a JavaScript worker that is activated when there's a notification.  The worker can then send an immediate notification or batch up data in the background, based on a preference that the user set on Gmail.  The background worker can also create a new tab on demand and load Gmail, passing the notification data along as information to control what Gmail loads.
'''User Story'''
o can subscribe
o can control subscriptions
o can disable
o very useful
'''Feature description'''
Notifications is a feature that makes it possible for web-based applications to send messages from applications to users.  These messages can either be delivered as a popup bubble or can be delivered to an application as an API callback and then processed.  It should be possible to deliver messages even when a page isn't open and have them handled.  It should also be possible to do this on desktop or mobile, with the same API and backend.
Notifications is a feature that makes it possible for web-based applications to send messages from applications to users.  These messages can either be delivered as a popup bubble or can be delivered to an application as an API callback and then processed.  It should be possible to deliver messages even when a page isn't open and have them handled.  It should also be possible to do this on desktop or mobile, with the same API and backend.


Line 27: Line 41:


Phase 4: Define how messages can be delivered without a page being opened.  Define a way to create a page or process a message without a page being open.  (Think worker threads.)  Demo how pages and notifications can be created on demand in response to a message.
Phase 4: Define how messages can be delivered without a page being opened.  Define a way to create a page or process a message without a page being open.  (Think worker threads.)  Demo how pages and notifications can be created on demand in response to a message.
'''Needs stories for developers and users.'''


== Team ==
== Team ==
canmove, Confirmed users
1,577

edits

Navigation menu