Install Postulo, or open it in the installed app, from the browser's address bar #899
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#899
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#895 made Postulo installable and put an Install entry in the account menu. This issue covers the browser's own address bar. There, a person should be able to install Postulo and, once it is installed, open the page they are on in the app window. They should not need to go into the account menu, and nothing should nag.
What is already there (since #895)
core:manifestservesid,scope: "/",start_url(the board),display: "standalone", icons 192/512 plus a maskable 512, and shortcuts.base.htmllinks it with credentials./sw.jsis registered for every signed-in visit and keeps only the offline page.app.jscancelsbeforeinstallprompt(event.preventDefault()) and keeps it for the menu. The comment there assumes that "the address bar's install icon is still there for anybody who looks". Nobody has checked that this holds on every browser.What to do
Where one does not appear, find out why and fix it. Candidates: the cancelled
beforeinstallprompt, the credentialed manifest fetch when signed out,start_urlredirecting to the sign-in page, and icon sizes.scope. Make sure it shows on every Postulo page, and that the page opens in the app at the same address, not atstart_url.launch_handlerwithclient_mode: ["focus-existing", "auto"], so an open window is reused rather than a second one started.handle_links: "preferred", so links from mail, chat or the browser extensions open in the installed app where the browser and the person allow it.Both follow the browser's own settings and the person can turn them off there. Postulo adds no setting of its own.
Done when