Android N and Windows 10 support showing a text input in a notification. This feature would allow users to quickly write a reply without launching a new browser window. The benefits are more evident in low resource devices, where the cost of doing so is non trivial.
I suggest adding a boolean requestReply attribute to NotificationAction. If it's true, the user agent should provide a way to let the user activate the action with a text response. Naturally, this means a new attribute DOMString reply is added to Notification, conveying the reply text (which may be empty) or null if no reply was requested.
What do you think?
Android N and Windows 10 support showing a text input in a notification. This feature would allow users to quickly write a reply without launching a new browser window. The benefits are more evident in low resource devices, where the cost of doing so is non trivial.
I suggest adding a
boolean requestReplyattribute toNotificationAction. If it's true, the user agent should provide a way to let the user activate the action with a text response. Naturally, this means a new attributeDOMString replyis added toNotification, conveying the reply text (which may be empty) or null if no reply was requested.What do you think?