Bug 186265 - Implement inline replies for web notifications
Summary: Implement inline replies for web notifications
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: Safari 11
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-04 03:50 PDT by Anita Woodruff
Modified: 2019-09-19 04:24 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.