Aquest lloc web fa servir cookies pròpies i de tercers per millorar l’experiència de navegació, i oferir continguts i serveis d’interès. En continuar la navegació entenem que acceptes la nostra política de cookies. Per a més informació consulta aquí.
Vés al contingut principal
Logo oficial de Metadecidim
  • Català Triar la llengua Elegir el idioma Choose language
    • Castellano
    • English
Registra't Entra
  • Inici
  • Processos
  • Assemblees
  • Iniciatives
  • Consultes
  • Jornades
  • Ajuda

Proposa noves funcionalitats

#DecidimRoadmap Dissenyant el Decidim entre totes

Fase 1 de 1
Obert 01-01-2019 - 31-12-2030
Veure les fases Envia una proposta
  • El procés
  • Debats
  • Proposa noves funcionalitats
  • Novetats
chevron-left Torna al llistat

Add to Home Screen

Avatar: InnovacióDemocràtica InnovacióDemocràtica verified-badge
16/09/2021 11:47  
Finalitzada

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:

  1. In the browsers that support A2HS, show a link in the footer with “Add $THIS_ORGANIZATION to your Home Screen”.
  2. 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


  • Resultats al filtrar per la categoria: PX (Participant eXperience) / Usabilitat PX (Participant eXperience) / Usabilitat

El desenvolupament d'aquesta proposta ha finalitzat

  • Reviewed by @product and accepted in the main project
  • It is funded by Barcelona City Council
  • Developed by Populate
  • Available in release 0.27 via #8736

Número d'adhesions0
Add to Home Screen Comentaris 0

Referència: MDC-PROP-2021-09-16743
Versió 3 (de 3) veure altres versions
Verifica l'empremta digital

Empremta digital

El text següent és una representació abreviada i hashejada d'aquest contingut. És útil per garantir que el contingut no hagi estat alterat, ja que una única modificació provocaria un valor totalment diferent.

Valor: c193385e90ad00bffd31ce52f18cdf7121df747fb46021f5b6966fa2f399d3c1

Origen: {"body":{"en":"<p>Ref. PWA06</p><p>NOTE: this feature is from a big development. See <a href=\"https://github.com/decidim/decidim/discussions/8334\" target=\"_blank\">PWA discussion at GitHub</a>.</p><p><strong>Is your feature request related to a problem? Please describe.<br></strong> As a participant, I want to have faster access to the platform from my mobile phone.</p><p><strong>Describe the solution you’d like<br></strong> To easily have a possibility to add Decidim to my home screen. This is feature is called Add To Home Screen (A2HS).</p><p>It’s fundamental that we <strong>don’t</strong> 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.</p><p>With this problem in mind, the solution would consist in:</p><ol><li>In the browsers that support A2HS, show a link in the footer with “Add $THIS_ORGANIZATION to your Home Screen”.</li><li>A participant would see the A2HS action after more than 3 visits to the website with the same browser.</li></ol><p><strong>Describe alternatives you’ve considered<br></strong> 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.</p><p>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.</p><p><strong>Additional context<br></strong> <strong><img src=\"https://i.imgur.com/mMkmtTw.png\"><br></strong> <strong><img src=\"https://i.imgur.com/SfOe11v.png\"></strong></p><p><strong>See </strong><a href=\"https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Add_to_home_screen\" target=\"_blank\">MDN webdocs A2HS</a> page.<strong><br></strong> See <a href=\"https://caniuse.com/web-app-manifest\" target=\"_blank\">Can I Use “Add to home screen (A2HS)”?</a>.<strong><br></strong> See <a href=\"https://web.dev/customize-install/\" target=\"_blank\">provide your own in-app install experience</a> for how implementing the A2HS link.</p><p><strong>Does this issue could impact on users private data?<br></strong> No, it’s a shortcut for improving access.</p><p><strong>Acceptance criteria</strong></p><ul><li>Given that I’m a visitor and I’m visiting with a <a href=\"https://caniuse.com/web-app-manifest\" target=\"_blank\">compatible browser</a><strong><br></strong> When I go to a Decidim instance I have a link in the footer that says “Add $THIS_ORGANIZATION to your Home Screen”<strong><br></strong> and when I click the button<strong><br></strong> Then I see the “Add to Home Screen” confirmation banner<strong><br></strong> and When I click it then I have an App icon on my Home Screen</li><li>Given that I’m a visitor and I’m visiting with an <strong>incompatible browser<br></strong> When I go to a Decidim instance I <strong>don’t</strong> have a link in the footer that says “Add $THIS_ORGANIZATION to your Home Screen”</li><li>Given that I’m a visitor and I’m visiting with a <a href=\"https://caniuse.com/web-app-manifest\" target=\"_blank\">compatible browser</a><strong><br></strong> When I go to Decidim and visit 3 pages<strong><br></strong> Then I see the “Add to Home Screen” confirmation banner<strong><br></strong> and When I click it then I have an App icon on my Home Screen</li></ul><p><br></p>"},"title":{"en":"Add to Home Screen"}}

Aquesta empremta digital es calcula mitjançant un algoritme de hash SHA256. Per reproduir-lo tu mateix, pots utilitzar una Calculadora MD5 en línia i copiar-hi les dades d'origen.

Compartir:

link-intact Compartir l'enllaç

Compartir l'enllaç:

Si us plau, enganxa aquest codi a la teva pàgina:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16743/embed.js?locale=ca"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16743/embed.html?locale=ca" frameborder="0" scrolling="vertical"></iframe></noscript>

Reportar contingut inapropiat

Aquest contingut no és apropiat?

Motiu

0 comentaris

Ordenar per:
  • Més antic
    • Més ben valorats
    • Recent
    • Més antic
    • Més discutit

Deixa el teu comentari

Inicia la sessió amb el teu compte o registra't per afegir el teu comentari.

Carregant els comentaris ...

  • Termes i condicions d'ús
  • Sobre la comunitat
  • Descarrega els fitxers de dades obertes
  • Metadecidim a Twitter Twitter
  • Metadecidim a Instagram Instagram
  • Metadecidim a YouTube YouTube
  • Metadecidim a GitHub GitHub
Amb llicència Creative Commons Web creada amb programari lliure.
Logo Decidim

Confirmar

D'acord Cancel·lar

Si us plau, inicia sessió

decidim Inicia sessió amb Decidim Barcelona
O

Registra't

Has oblidat la teva contrasenya?