MicrosoftEdge / MSEdgeExplainers

Home for explainer documents originated by the Microsoft Edge team
Creative Commons Attribution 4.0 International
1.29k stars 205 forks source link

[Web Install] Should an unknown `mode` always fallback to a standalone app? #682

Closed amandabaker closed 10 months ago

amandabaker commented 1 year ago

I could imagine it being confusing for users if an app store says "install app in sidebar" but the app ends up installing normally.

  1. How would the store know if the user's browser supports custom modes like side_panel? If they can get that info, then this isn't much of an issue since you could ask the developer to customize their code accordingly.
  2. If there's no way to know which modes are supported, can there be an option to strictly follow the install params and fail installation if the params are not met? Then the store can handle the error and explain to the user why the installation failed.
diekus commented 10 months ago

the mode option has been removed. For a PWA to be installed into the sidebar there's the display override mode that will hint to the UA the desired install location.