Fw: Re: [whatwg] Canonical Image and Color

(sending here, as this never ended up on the WHATWG list)


On August 27, 2014 at 3:42:46 PM, Marcos Caceres (marcos@marcosc.com) wrote:
> 
> 
> On August 26, 2014 at 5:04:24 PM, Jonas Sicking (jonas@sicking.cc) wrote:
> > On Tue, Aug 26, 2014 at 10:36 AM, Domenic Denicola
> > wrote:
> > > +Marcos because he is really good at that kind of investigative work, and might have 
> > some idea what FFOS is doing for numeric badges.
> 
> 
> I can do some investigation if people want.
> 
> 
> > We don't do anything yet. But we'd like to. I definitely feel like
> > having a badge is a separate API from notifications. For example a
> > badge could show how many unread emails are in the inbox of a webmail
> > client, but you woudn't want to create a notification for every one of
> > them.
> 
> (I'm not very familiar with the Web's notifications API, so apologies if this is already 
> supported)
> 
> To me, badges are a low-priority notification and could probably be handled by the same 
> API - but it would be ok to have two APIs and just have them co-ordinate. Unlike notifications, 
> a badge can only go away when something explicitly happens at the application level (the 
> email is "read"; the reminder is explicitly marked as "done") - simply "clicking" a notification 
> is not enough to remove a badge.
> 
> There are also some notifications that don't make sense as badges: for instance, iTunes 
> shows me a notification every time a new track starts playing, but doesn't get added as 
> a badge.
> 
> More rarely, some applications don't display numbers, but use colors as badges: For 
> instance, LimeChat on MacOS will display a blue circle when I get a DM, and a red circle 
> when I get mentioned in a channel (this kind of badge sucks tho, because they end up stomping 
> on each other).
> 
> So, it would be great to be able to show a notification and also indicate that its "badge-worthy". 
> But at the same time, *some* badges have to be saved across sessions (if the device is rebooted, 
> badges should be shown after reboot - as iOS does - without needing to relaunch an application). 
> 
> My 2c.
> 
> 
> 

Received on Wednesday, 5 November 2014 20:02:54 UTC