New issue
Advanced search Search tips

Issue 781979 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Deprecate list type from extension notification api, or implement across more platforms?

Project Member Reported by est...@chromium.org, Nov 6 2017

Issue description

See docs: https://developer.chrome.com/apps/notifications

There's a TemplateType called "list" which doesn't appear to ever have been implemented on Mac OS. I don't know how popular it is overall* but I would have doubted it could be very popular if there hasn't been a push to implement on Mac.

This list type is also not, so far as I can tell, available as part of web notifications and is not used by any Chrome/ChromeOS system notifications, so we have a lot of extra code in the message center (NotificationItem struct, vector of items, etc.) to deal with it, but it's only used by some (rare?) extensions.

*when I look up the UMA for it, Notifications.ExtensionNotificationType, it does seem to be used on Windows to the tune of 5% of notifications, on Mac 2%, and on Chrome OS a vanishingly small percent.

What is the fate of this notification type?
 

Comment 1 by peter@chromium.org, Nov 6 2017

Cc: sgabr...@chromium.org
It's implemented on Mac OS (and soon Linux) exactly how those docs state: we only show the first item, and that's dictated by their respective notification systems.

They're fully supported in the message center, we can support them on Android (there's no need yet, as you observed) and are implementing them for Action Center notifications, where we can show either two or three.

Lists also are very common in notifications we show through ARC++, as Gmail and co. use them. If anything, I'd rather bring them to Web Notifications too.

+sgabriel for Chrome OS UX
Seems like something we'd like to keep if only for parity with Android. 
Bringing it to web notifications sounds good too.

Comment 3 by estade@google.com, Nov 7 2017

Are they really used for arc? I don't see any references to NOTIFICATION_TYPE_MULTIPLE in arc. I would imagine all arc notifications use NOTIFICATION_TYPE_CUSTOM.

It seems not great to give extension developers an API they can't be sure will work everywhere. If I were in their shoes, I'd end up just not using the API for that reason (instead use embedded bullet points or something).

What is the Action Center? Will list notifications work with native Windows notifications?

Comment 4 by peter@chromium.org, Nov 7 2017

> It seems not great to give extension developers an API they can't be sure will work everywhere.

This is an implicit side-effect of the decision to move towards native notification centers. The user gets an experience consistent with their operating system, but we lose control and thereby potentially functionality.

> What is the Action Center?

The Action Center is the native Windows notification center.
Owner: peter@chromium.org
Status: Assigned (was: Untriaged)
Assigning to peter@ as notifications owner to get this out of triage.  Feel free to reassign as appropriate.
Cc: ligim...@chromium.org
Labels: Hotlist-DesktopUIChecked
*** UI Mass Triage **

This bug is inactive since long time, checking whether anything is actionable here?

Sign in to add a comment