Intent to Ship: App Shortcuts Menu (Mac/Linux)

91 views
Skip to first unread message

Ajay Rahatekar

unread,
Oct 7, 2021, 12:53:01 PM10/7/21
to blink-dev

Contact emails

mjac...@microsoft.com, mandy...@microsoft.com, est...@google.com, ajayra...@google.com


Explainer

Shortcuts Explainer


Spec

W3C spec: https://w3c.github.io/manifest/#shortcuts-member

Tag Review: https://github.com/w3ctag/design-reviews/issues/510


Summary

This feature provides PWA developers the ability to show a shortcuts menu of common tasks in their app. The menu can be invoked by right clicking the app icon in the quick launch bar after the PWA has been installed on the user’s desktop, or long pressing on the app on Android. This capability already exists for native apps on various platforms (Android, Linux, macOS, and Windows).


Link to “Intent to Prototype” blink-dev discussion

https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/gK4XF2vbvf0


Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

This feature was previously shipped for Windows and Android https://groups.google.com/a/chromium.org/g/blink-dev/c/FgzYX7AFbUQ/m/f2i0-f-BAQAJ 


Requesting approval to ship on Mac and Linux https://bugs.chromium.org/p/chromium/issues/detail?id=1248101 



Demo link

Test Website.

The enable-desktop-pwas-app-icon-shortcuts-menu-ui flag needs to be enabled.


Risks

Interoperability and Compatibility

No Interoperability/Compatibility risk. When a web developer doesn’t provide a shortcuts member in the PWA’s WebAppManifest, current installation behavior is not affected by this feature.


Edge: In development/Public Support

Firefox: No signals

Safari: No signals

Web / Framework developers: Positive feedback from web developers


Ergonomics

Shortcuts will be used as part of the WebAppManifest. Use will not affect performance.


Activation

Use will be straightforward, it will only require developers to list their shortcuts in their manifest.


Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.

Pre-existing manual WPT tests exist: appmanifest/shortcuts-member/


Entry on the feature dashboard

https://www.chromestatus.com/feature/5706099464339456


--
Ajay Rahatekar | Technical Program Manager | ajayra...@google.com | 650-797-1279

Mike West

unread,
Oct 7, 2021, 2:57:45 PM10/7/21
to Ajay Rahatekar, blink-dev
Extending the existing support from Android and Windows to Mac and Linux is quite reasonable. LGTM1.

That said, it would be ideal to ping https://github.com/mozilla/standards-positions/issues/338 in the hopes of keeping this on Mozilla's radar in the hopes of eventual interop.

-mike


--
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/CAHB%2BDAgpD1v%2Bp0Y4HtXa43TiySyA_R0_%3Do4Dg4U1AJtQrQu_vQ%40mail.gmail.com.

Chris Harrelson

unread,
Oct 7, 2021, 2:58:42 PM10/7/21
to Mike West, Ajay Rahatekar, blink-dev

Daniel Bratell

unread,
Oct 7, 2021, 3:11:02 PM10/7/21
to Chris Harrelson, Mike West, Ajay Rahatekar, blink-dev
Reply all
Reply to author
Forward
0 new messages