Closed ornicar closed 8 years ago
so you want a notification tray?
I mostly want a knight icon in the "It's your move" notification.
Which image should be used? The favicon is too small and looks jagged to be used on upscaling.
This is the best icon I can find from https://github.com/ornicar/lila/tree/master/public/images, it's still too small.
Chrome rich notifications API is for chrome extensions and apps, and not exposed to websites. There is currently no way to trigger rich notifications from websites yet without a new service worker, which is not worth the effort.
There are still improvements to make following 5d57e12 though, like better notification body for inbox messages (with preview of the content) and such, and having some types of notifications to actually do something on click (like clicking the notification where you get challenged -> show challenge span if previously hidden and anchor the browser scrolling to it).
https://developer.chrome.com/apps/richNotifications