W3C home > Mailing lists > Public > public-web-notification@w3.org > June 2012

Re: Matching tags

From: James Graham <jgraham@opera.com>
Date: Wed, 20 Jun 2012 15:36:51 +0200
Message-ID: <4FE1D1F3.4080407@opera.com>
To: John Gregg <johnnyg@google.com>
CC: public-web-notification@w3.org
On 06/20/2012 03:19 PM, John Gregg wrote:
> On Wed, Jun 20, 2012 at 4:13 AM, James Graham <jgraham@opera.com
> <mailto:jgraham@opera.com>> wrote:
>
>     It seems like when tags match the old notification is replaced by
>     the new notification. This seems confusing (and possibly hard to
>     implement?) if there is any substantive difference between the
>     notifications. Why not just discard the new notification?
>
>
> Part of the point of the tag (previously known as "replaceId") is to
> update a notification.  One motivating use case is a chat application
> (see section 7.3 of the spec) -- rather than many incoming chats from
> the same person causing multiple notifications or only the first one,
> the application can consolidate or update as it prefers.

Hmm, but the spec as written it doesn't seem to work for the case where 
you have two mail windows open and they both want to display the same 
notification about the same incoming mail; if you have a notification 
system where the text can't be updated in-place then afaict it will look 
like two different notifications.
Received on Wednesday, 20 June 2012 13:37:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 December 2012 14:48:28 GMT