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

Re: [whatwg] Notifications: the ability to specify notifications behavior

From: bindar <robertbindar@gmail.com>
Date: Fri, 29 Aug 2014 17:46:20 -0700 (PDT)
Message-Id: <1409359573070.8c9f08895c19a@mozgaia>
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: WHAT Working Group <whatwg@whatwg.org>, James Burke <jburke@mozilla.com>, julienw@mozilla.com, Michael Henretty <mhenretty@mozilla.com>


Jonas Sicking wrote:
> On Fri, Aug 29, 2014 at 9:18 AM, Robert Bindar <robertbindar@gmail.com> wrote:>> My thought is to firstly introduce a small package of behaviors that
>> would include "lights", "vibration" and "disrupting"
>> (and maybe "noclear" too).
>> The default value for all these 3 behaviors is false.> I don't think we'll want to default "lights" and "vibration" to false.
> And I still have concerns that exposing "vibration" as a boolean could
> mean that a notification goes completely silent, even though neither
> the user or the application intended for that.
>
> Also, how is "disrupting" intended to work? As I understand it, the
> current spec already defines that if you create a notification using a
> tag of an already-existing notification, that it just updates that
> notification without otherwise notifying the user.
>
> So how are you envisioning that disrupting would alter that behavior?
>
> / Jonas

I agree with you on "lights", we rather have fewer apps that would create so many noifications that would drain the battery.
About "vibration"  and "sound", I know they will be kind of useless at some point, but as long as we do not have a way to let the user specify notifications settings we could let the apps to suggest to the UA which behavior their notifications should have, without ending up annoying the user or waste resources.

I have read the spec again and I could not see any information regarding the actions a replacing notification should trigger. Firefox OS for instance triggers these actions every time.

Robert
Received on Saturday, 30 August 2014 00:46:56 UTC

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