Contact emails
aw...@chromium.org, nsat...@chromium.org, pe...@chromium.org
Explainer
https://github.com/anitawoodruff/inline-notification-replies
Spec
https://github.com/whatwg/notifications/ - see https://github.com/whatwg/notifications/pull/132 for the specific additions.
TAG review: w3ctag/design-reviews#284
Summary
An addition to the Notifications API to allow users to type a text reply to a notification within the notification's own UI.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/9s8Zamqbv34/JngoiqKeAwAJ
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Android N +, Windows 10 + (with native notifications enabled) and Chrome OS.
Older versions of Windows to follow, but not planned on Linux and Mac OS.
Not supported on WebView because WebView does not yet support notifications.
Demo link
https://tests.peter.sh/notification-generator/ - select an action with type 'text' from the dropdown of example actions (currently requires enable-experimental-web-platform-features to be set in chrome://flags). Select 'Show an alert' under Reaction Settings to check the reply.
Risks
Interoperability and Compatibility
Edge: No signals
Firefox: No signals
Safari: No signals
Web developers: Positive
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
I created https://github.com/web-platform-tests/wpt/pull/11122 to test the new interface properties, currently blocked on https://github.com/web-platform-tests/wpt/issues/11105 (infra bug)
Fuller testing of the Notifications API is blocked on adding an Automation section to the Notifications API - see https://github.com/whatwg/notifications/issues/134
Entry on the feature dashboard
https://www.chromestatus.com/feature/5743740178137088--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/276127bb-c405-4164-89fa-1d6c4be43062%40chromium.org.
Contact emails
aw...@chromium.org, nsat...@chromium.org, pe...@chromium.org
Explainer
https://github.com/anitawoodruff/inline-notification-replies
Spec
https://github.com/whatwg/notifications/ - see https://github.com/whatwg/notifications/pull/132 for the specific additions.
TAG review: w3ctag/design-reviews#284
Summary
An addition to the Notifications API to allow users to type a text reply to a notification within the notification's own UI.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/9s8Zamqbv34/JngoiqKeAwAJ
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Android N +, Windows 10 + (with native notifications enabled) and Chrome OS.
Older versions of Windows to follow, but not planned on Linux and Mac OS.
Not supported on WebView because WebView does not yet support notifications.
Demo link
https://tests.peter.sh/notification-generator/ - select an action with type 'text' from the dropdown of example actions (currently requires enable-experimental-web-platform-features to be set in chrome://flags). Select 'Show an alert' under Reaction Settings to check the reply.
Risks
Interoperability and Compatibility
Edge: No signals
Firefox: No signals
Safari: No signals
Web developers: Positive
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
I created https://github.com/web-platform-tests/wpt/pull/11122 to test the new interface properties, currently blocked on https://github.com/web-platform-tests/wpt/issues/11105 (infra bug)
Fuller testing of the Notifications API is blocked on adding an Automation section to the Notifications API - see https://github.com/whatwg/notifications/issues/134
Entry on the feature dashboard
https://www.chromestatus.com/feature/5743740178137088
--
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhmS%2BFMEtFgSWnrq3J6Df-h6PuT_DOUY%2BV60fyy2UBHww%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/276127bb-c405-4164-89fa-1d6c4be43062%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhmS%2BFMEtFgSWnrq3J6Df-h6PuT_DOUY%2BV60fyy2UBHww%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/276127bb-c405-4164-89fa-1d6c4be43062%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhmS%2BFMEtFgSWnrq3J6Df-h6PuT_DOUY%2BV60fyy2UBHww%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/55579a7b-c43f-4caa-8651-5a875a513dab%40chromium.org.
Would this new part of the notifications API be limited to secure contexts?
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/276127bb-c405-4164-89fa-1d6c4be43062%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhmS%2BFMEtFgSWnrq3J6Df-h6PuT_DOUY%2BV60fyy2UBHww%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/276127bb-c405-4164-89fa-1d6c4be43062%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhmS%2BFMEtFgSWnrq3J6Df-h6PuT_DOUY%2BV60fyy2UBHww%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/55579a7b-c43f-4caa-8651-5a875a513dab%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/10ca02cb-c29b-40fd-b13a-cf081337f7ca%40chromium.org.
Update:TAG review is now complete (https://github.com/w3ctag/design-reviews/issues/284) andwe are waiting to hear back from other browser vendors - I have reached out to them on thespec pull request here.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/276127bb-c405-4164-89fa-1d6c4be43062%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhmS%2BFMEtFgSWnrq3J6Df-h6PuT_DOUY%2BV60fyy2UBHww%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/55579a7b-c43f-4caa-8651-5a875a513dab%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_voVm_s5gcfxELTgP4YYHQ9Up3q%3Do-hb4Gm2mge-gnNA%40mail.gmail.com.
Beside the worrying interoperability aspect, I am worried about the intra-operability aspect of this (Linux, macOS and at least initially Windows earlier than 10 will not be supported). I understand that the native macOS notification system simply does not have the feature (still not great, but a bit more understandable...), but I thought that Linux does not have a standard notification system anyway, so why will it not be supported there?Also, can the macOS notification system be enhanced to support this in a slightly different way? For example, if it supports buttons at all, have a "reply" button or whatever that opens a Chrome-created overlay/window for entering text?Regarding interoperability again, will Safari for iOS be able to implement this API with its current notification system? If not, this really might just end up being a Chrome only feature for good which is not, hm... good (:)). :(
Interoperability (as well as intra-operability), at least as I see it, is also about having a reliable, consistent platform. Non-interoperable and non-intra-operable features slice the consistency and reliability of the platform and makes it not much dependable (the "write once" promise is broken).Backwards compatibility helps, but implementing it gracefully sometimes comes as a critical bug to the developers when some of their users try feature X on browser Y and it does not work and they have to suddenly fix it.Yes, you can say that it is their fault for not testing it on other supported browsers or not feature detecting it or not looking at compatibility tables when implementing it, but (for anything other than not testing) - developers do not always know that a feature is even "new" or "mostly not supported across browsers" when they use it. You know, you Google it, you find an example, you copy it, it works with your setup when you test it - there you go, the feature is shipped. Not every developer is careful enough to check those stuff (dare I say, most are not?) and they should probably not be expected to do so.Are expert developers the primary crowd for the web platform that browsers offer? If so, this is probably a foot-gun, because most are probably not.(Plus, regarding testing, the matrix is so big that they can be forgiven for not testing everything everywhere, I think. Resources are naturally limited)But I have gotten too philosophical here, I suppose.
☆PhistucK
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/276127bb-c405-4164-89fa-1d6c4be43062%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhmS%2BFMEtFgSWnrq3J6Df-h6PuT_DOUY%2BV60fyy2UBHww%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/55579a7b-c43f-4caa-8651-5a875a513dab%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Hi all -Anita's unfortunately moved teams, so I'll be picking this up.PhistucK, notifications are a bit of a peculiar case in regards to platform consistency - unless we render our own notifications everywhere, the feature will inherently be subject to (major) differences between operating systems, versions and devices. Providing users with an experience that's consistent with the rest of their device takes priority.Specifically to your macOS/iOS question, inline replies could be supported there, but platform limitations would restrict the maximum number of developer-provided buttons to one if we do. We'd rather make that decision when we know how developers are going to use this :-)What we can't do is feature detection through property exposure because connecting to the OS' notification center is too slow to delay renderer creation for it. This is a problem we might want to solve with something like Notification.getPlatformCapabilities().That said, developers will need to handle empty responses, which is effectively analogous to the user being unable to enter a response in the first place. In cases where the difference matters, the `reply` attribute distinguishes the empty string (empty response) from `null` (no response).
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEjrcdLnUMJN17kuHESX2qTOq%2BbOPpCrU7F6i9r3pYXXWg%40mail.gmail.com.