Intent to implement and ship: Notification badges

83 views
Skip to first unread message

Michael van Ouwerkerk

unread,
Mar 17, 2016, 2:18:19 PM3/17/16
to blink-dev

Contact emails

mvanou...@chromium.org


Spec

Badge discussion

Badge PR


Summary

A badge image may be used to represent a notification when there is not enough space to display the notification itself, like in the Android status bar. It may also be displayed inside the notification, but then it should have less visual priority than the notification icon.


Motivation

Badges are part of the existing native notification feature set on Android and Windows. The Android platform requires them in order to represent notifications in the status bar, and Chrome currently falls back to the same default badge for every site.


Interoperability and Compatibility Risk

Low risk. Specifying a custom badge is optional. Chrome will be the first browser to implement this.


Ongoing technical constraints

None.


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

It will be used immediately on Android, and we are working with the UI team to consider showing it on Chrome's desktop toasts as well.


OWP launch tracking bug

https://crbug.com/591394


Link to entry on the feature dashboard

https://www.chromestatus.com/features/5630897160192000


Requesting approval to ship?

Yes


Chris Harrelson

unread,
Mar 17, 2016, 6:23:23 PM3/17/16
to Michael van Ouwerkerk, blink-dev
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Philip Jägenstedt

unread,
Mar 24, 2016, 6:23:37 AM3/24/16
to Chris Harrelson, Michael van Ouwerkerk, blink-dev
LGTM2

This is has now been merged to the spec. It's spread out, but see e.g. in https://notifications.spec.whatwg.org/#displaying-notification

Jochen Eisinger

unread,
Mar 24, 2016, 7:18:16 AM3/24/16
to Philip Jägenstedt, Chris Harrelson, Michael van Ouwerkerk, blink-dev

lgtm3

Reply all
Reply to author
Forward
0 new messages