-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
handle_links
manifest field ✨
#695
Comments
Please answer these questions to help us better understand the proposal.
Thanks! |
Hi @etnos
For our first implementation, we intend to use
This is a new behavior. There is no previous behavior that captures the same information from the app to the UA. It should not be achieved with a service worker because 1. it is a declarative API suited to the manifest, 2. it is not expected to change often or depend on other state, and 3. it is useful even when no SW is found. |
This is a bit unclear - does this assume that the user agent provide a mechanism to set this?
Could you clarify if this is something that the application is expected to provide or the user agent? What happens if the application decides to not provide a way to set this? |
See also: WICG/pwa-url-handler#42 |
Hi @diekus have you achieved any clarity on where this might end up after WICG? Maybe Web Applications working group? |
I can clarify. The proposed
The user agent would provide the user setting mechanism if it does provide it. It is not required to provide one. |
Hi @diekus @LuHuangMSFT we're just reviewing today at our F2F. We're largely happy with the initial proposal. We're slightly concerned about the possibility that the user might get an unexpected user experience - and to what the balance should be between user choice and author choice. Overall we would like to see how this experiment turns out so we would appreciate the opportunity to re-review with some early implementation feedback. Also as mentioned we would like to see this work on a trajectory to the web applications working group. ✨ |
Hola TAG!
I’m requesting an early TAG review of web app link handling.
When clicking on a link, the default behavior is that the browser will open and navigate to the specified URL. However, if a compatible application is installed, a user might prefer to have that application launch and "open" said link. This is the case for native apps that range from media consumption to productivity, where if installed, will open when clicking on a link with related content. This is generally the preferred way to interact with the referenced content. To achieve this, an installed application might want to register itself to handle links and create this seamless flow. From a UX perspective, it is desirable to give users choice on how they prefer the link to be opened, and it is important since it creates the cohesive and integrated experience mentioned previously.
Further details:
You should also know that this work is the evolution of the URL Handling feature. We have iterated on the idea of how URL handling should work on installed web apps, creating a clearer separation of roles between
handle_links
andscope_extensions
.The explainer to the previous “shape” of this feature is listed here: https://github.com/WICG/pwa-url-handler/blob/main/explainer.md.
The TAG review for the previous “shape” of this feature is: #552 .
Related APIs:
scope_extensions
: https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.mdWe'd prefer the TAG provide feedback as:
💬 leave review feedback as a comment in this issue and @-notify : @diekus, @luhuang
✨
The text was updated successfully, but these errors were encountered: