Re: [webkit-dev] Request for position on Badging API

2020-02-20 Thread Ryosuke Niwa
On Wed, Feb 19, 2020 at 4:32 PM Matt Giuca wrote: > > On Thu, 20 Feb 2020 at 11:18, Ryosuke Niwa wrote: > >> >> On Wed, Feb 19, 2020 at 3:29 PM Matt Giuca wrote: >> >>> On Wed, 19 Feb 2020 at 18:14, Ryosuke Niwa wrote: >>> On Tue, Feb 18, 2020 at 4:02 PM Matt Giuca wrote:

Re: [webkit-dev] Request for position on Badging API

2020-02-19 Thread Matt Giuca
There are two separate APIs, one for each use case (set/clearAppBadge and set/clearClientBadge). You could have a separate position on each. Firefox has indicated that they would only implement ClientBadge to begin with, since they don't have installed apps on desktop. Chrome is only implementing

Re: [webkit-dev] Request for position on Badging API

2020-02-19 Thread Maciej Stachowiak
> On Feb 19, 2020, at 4:35 PM, Maciej Stachowiak wrote: > > > >> On Feb 19, 2020, at 4:31 PM, Matt Giuca > > wrote: >> >> >> >> On Thu, 20 Feb 2020 at 11:18, Ryosuke Niwa > > wrote: >> >> On Wed, Feb 19, 2020 at 3:29 PM Matt Giuca >

Re: [webkit-dev] Request for position on Badging API

2020-02-19 Thread Maciej Stachowiak
> On Feb 19, 2020, at 4:31 PM, Matt Giuca wrote: > > > > On Thu, 20 Feb 2020 at 11:18, Ryosuke Niwa > wrote: > > On Wed, Feb 19, 2020 at 3:29 PM Matt Giuca > wrote: > On Wed, 19 Feb 2020 at 18:14, Ryosuke Niwa

Re: [webkit-dev] Request for position on Badging API

2020-02-19 Thread Matt Giuca
On Thu, 20 Feb 2020 at 11:18, Ryosuke Niwa wrote: > > On Wed, Feb 19, 2020 at 3:29 PM Matt Giuca wrote: > >> On Wed, 19 Feb 2020 at 18:14, Ryosuke Niwa wrote: >> >>> >>> On Tue, Feb 18, 2020 at 4:02 PM Matt Giuca wrote: >>> Thanks for the replies. Folding both Dean and Ryosuke's emails

Re: [webkit-dev] Request for position on Badging API

2020-02-19 Thread Matt Giuca
On Wed, 19 Feb 2020 at 18:14, Ryosuke Niwa wrote: > > On Tue, Feb 18, 2020 at 4:02 PM Matt Giuca wrote: > >> Thanks for the replies. Folding both Dean and Ryosuke's emails into one. >> >> On Mon, 17 Feb 2020 at 03:03, Dean Jackson wrote: >> >>> Not speaking for all of WebKit, and definitely

Re: [webkit-dev] Request for position on Badging API

2020-02-18 Thread Ryosuke Niwa
On Tue, Feb 18, 2020 at 4:02 PM Matt Giuca wrote: > Thanks for the replies. Folding both Dean and Ryosuke's emails into one. > > On Mon, 17 Feb 2020 at 03:03, Dean Jackson wrote: > >> Not speaking for all of WebKit, and definitely not all of Apple, but I >> think this seems like a good idea. >>

Re: [webkit-dev] Request for position on Badging API

2020-02-18 Thread Matt Giuca
Thanks for the replies. Folding both Dean and Ryosuke's emails into one. On Mon, 17 Feb 2020 at 03:03, Dean Jackson wrote: > Not speaking for all of WebKit, and definitely not all of Apple, but I > think this seems like a good idea. > > I'm not sure I get the distinction between app badges and

Re: [webkit-dev] Request for position on Badging API

2020-02-16 Thread Ryosuke Niwa
For the record, we have two concerns raised internally at Apple: * The integration of this API with push service worker would require running scripts in order to update the badge. This will pose a serious power consumption issue. * We don’t want every website to start using this API to increase

Re: [webkit-dev] Request for position on Badging API

2020-02-16 Thread Dean Jackson
Not speaking for all of WebKit, and definitely not all of Apple, but I think this seems like a good idea. I'm not sure I get the distinction between app badges and document badges though. I'd also like to see some specification text describing how the browser should ignore multiple set/clear

[webkit-dev] Request for position on Badging API

2020-01-19 Thread Matt Giuca
Hi WebKit team, I have previously proposed the Badging API (https://github.com/WICG/badging) to provide websites with a mechanism to set a badge (a small dot or number) on the current document's tab, or for installed applications, on the app icon in the system shelf or home screen. Would WebKit