W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2014

[whatwg] Add a |transient| mechanism to the notifications API

From: Vivien Nicolas <vnicolas@mozilla.com>
Date: Tue, 15 Apr 2014 18:08:23 +0200
Message-ID: <534D5977.4040307@mozilla.com>
To: whatwg@lists.whatwg.org

Would it be possible to add a |transient| mechanism to the notifications 
spec ?

In the context of FirefosOS, one of the use case is for example an email 
application. For instance the user can write a message, click the send 
button, and then leave the application to do something else.

It would be useful if the application is able to give the user a 
transient notification that the email has been correctly sent.

This kind of notifications are not particularly useful after a while and 
should dismiss automatically after a small delay.

Looking at what others are doing, it seems related to 'Toasts'.

Here is what I found on google:
  Gnome is using a |transient| hint 

  Windows 8 call those type of notifications Toast and display them for 
7 seconds 

  Android also call that Toasts and let the user specify a duration 

  iOS: It seems like this is not part of the default UI toolkit.

  Looking at Growl for mac (http://growl.info/) it seems like there is 
no possibility for the notifications to be transient or not. Instead 
everything is customizable by the user, and all notifications ends up 
into the 'Rollup' database (even when you mount/unmount a hard drive).

Received on Tuesday, 15 April 2014 16:09:46 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:19 UTC