Bug 186265

Summary: Implement inline replies for web notifications
Product: WebKit Reporter: Anita Woodruff <awdf+bugzilla>
Component: Service WorkersAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: nicolas, tomac
Priority: P2    
Version: Safari 11   
Hardware: Unspecified   
OS: Unspecified   

Description Anita Woodruff 2018-06-04 03:50:05 PDT
We intend to extend the Notifications API to allow developers to show notifications that let users type a reply within the notification itself,
 and deliver this reply back to the service worker in the notificationclick event.

 See the spec change pull request at  https://github.com/whatwg/notifications/pull/132
 and explainer here: https://github.com/anitawoodruff/inline-notification-replies

Safari could implement this on Mac using the NSUserNotification API by setting the hasReplyButton property to 'true' - see https://developer.apple.com/documentation/foundation/nsusernotification#//apple_ref/occ/instp/NSUserNotification/hasReplyButton
Comment 1 Thomas Steiner 2018-06-04 04:20:23 PDT
_For iOS_, this depends on the ServiceWorkerRegistration's PushManager interface (https://bugs.webkit.org/show_bug.cgi?id=182566) to be implemented.