CloudServices/Notifications/Specification: Difference between revisions

Jump to navigation Jump to search
Line 38: Line 38:
== User Use Cases ==
== User Use Cases ==


The following is a high-level overview of the
=== Register with Notifications Service ===


# User visits web site
In order to make use of the service, the user must enable notifications on their client (e.g. browser). From the UI side of things, this will probably involve a simple check box. Once the user has "opted in" to using notifications, the following process takes place:
# Web site requests to send notifications to the user
 
## User says no: flow is halted and no further requests take place.
# User selects which notifications server they want to use (most will simply use the Mozilla Notifications server, but users can roll their own if they wish).
## User says yes:  
# Client asks user for account credentials, or points user to a link to create an account.
### TODO
# User enters their account credentials (or simply uses their Sync account)
# Client remembers credentials for later use
 
=== Subscribe to Notifications ===
 
Once set up the user will the be able to subscribe to web sites which they wish to receive push notification from. The process is as follows:
 
# User clicks a button (ideally) or otherwise interacts with a web page such that the page requests to send notifications.
# Client displays a confirmation box asking user if they wish to receive notifications from the web page in question.
# Upon confirmation, a new subscription is created and can be viewed in the client's list of subscriptions.
 
Related Use Cases: [[#Cancel a Subscription|Cancel a Subscription]]
 
=== Cancel a Subscription ===
 
If down the road the user feels that the subscription is not useful or is otherwise unwanted, they can cancel the subscription so that they no longer receive notifications. The process is as follows:
 
# User navigates to the list of subscriptions on their client.
# User selects the subscription(s) they wish to cancel and click a "Unsubscribe" button.
 
Related Use Cases: [[#Subscribe to Notifications|Subscribe to Notifications]]


== Web App Use Cases ==
== Web App Use Cases ==
169

edits

Navigation menu