Changes at "Add to Home Screen"
Title
- +{"en"=>"Add to Home Screen"}
Body
-
+["
Ref. PWA06
NOTE: this feature is from a big development. See PWA discussion at GitHub.
Is your feature request related to a problem? Please describe.
As a participant, I want to have faster access to the platform from my mobile phone.Describe the solution youâd like
To easily have a possibility to add Decidim to my home screen. This is feature is called Add To Home Screen (A2HS).Itâs fundamental that we donât spam the visitors with âThis website wants to add to your screenâ, as we donât want to be that kind of website. The user has to opt-in to having this pop-up, so we donât show too many pop-ups in the first visit: imagine visiting a Decidim installation the first time, and seeing the Omnipresent banner, and the cookie fixed banner and the A2HS fixed native banner⊠Just too many banners at once.
With this problem in mind, the solution would consist in:
- In the browsers that support A2HS, show a link in the footer with âAdd $THIS_ORGANIZATION to your Home Screenâ.
- A participant would see the A2HS action after more than 3 visits to the website with the same browser.
Describe alternatives youâve considered
One possibility would be to not have this feature as we have at the moment, but that means that participants need to remember the URL or get in through an email or notification. Itâs more comfortable to have an Icon if itâs possible.We also discussed and discarded having a banner that says âWant to have easier access to ORGANIZATION_NAME?â with a button âAdd it to your Home Screenâ, but we think that could take too much space.
Additional context
See MDN webdocs A2HS page.
See Can I Use âAdd to home screen (A2HS)â?.
See provide your own in-app install experience for how implementing the A2HS link.Does this issue could impact on users private data?
No, itâs a shortcut for improving access.Acceptance criteria
- Given that Iâm a visitor and Iâm visiting with a compatible browser
When I go to a Decidim instance I have a link in the footer that says âAdd $THIS_ORGANIZATION to your Home Screenâ
and when I click the button
Then I see the âAdd to Home Screenâ confirmation banner
and When I click it then I have an App icon on my Home Screen - Given that Iâm a visitor and Iâm visiting with an incompatible browser
When I go to a Decidim instance I donât have a link in the footer that says âAdd $THIS_ORGANIZATION to your Home Screenâ - Given that Iâm a visitor and Iâm visiting with a compatible browser
When I go to Decidim and visit 3 pages
Then I see the âAdd to Home Screenâ confirmation banner
and When I click it then I have an App icon on my Home Screen
"]
Share