When it comes to features, Edge has the one critical item that always kept me crawling back to Chrome. If you are on a webpage, you can easily turn it into an app, by clicking the three dots in the top right and clicking install app. This is huge, as it allows me to turn Google Calendar, Tweetdeck, and a few other pages into applications on my desktop that makes my workflow, a lot easier.
we should definitely whitelist all Chrome based browsers @falco
We want to get this working, but the last time we tried with the “You are offline” page wasn’t a great experience. Also we had a lot of suggestions about making reading Discourse possible when you are offline.
The current changes only affect GET requests, so it will make you able to use the composer, if you ever did it while online.
Discourse already keeps submitting a topic in a persistent “Saving” blue bar, and this doesn’t touch that request, so it should keep the current behavior.
However, getting Discourse to work totally in write mode while offline would require a lot more work and be a long term project involving multiple people. That is not the scope here, which is just enabling installs in Desktop.
It’s in the same branch as always here. You could deploy from that branch but it is a lot behind master currently. I can rebase it to master, but I don’t recommend messing with this until it’s proven stable here.
Another cool thing, if you try to use the pwa with a cold cache:
Chrome 76 se lanzó ayer con el botón de llamada a la acción ‘Instalar’ en la barra omnibox, y la última versión de Discourse funciona con él sin necesidad de configuraciones adicionales.
Confirmado que funciona en Chrome 76, lanzado hoy. Incluso hay una animación bastante compleja en la barra de direcciones que llama la atención sobre ella.
¿Hay alguna manera de ocultar el icono en la barra de direcciones, ya sea desde Discourse o desde Chrome? Prefiero usar solo el navegador, así que no veo el sentido de tener ese icono visible para siempre.
He estado buscando en Google por el lado de Chrome, pero no encontré nada. Así que supongo que les preguntaré directamente.
¿Es algo que teóricamente se pueda descartar (por ejemplo, con localStorage) o ocultar permanentemente según una configuración de Discourse? Lo pregunto porque no sé si Chrome detecta automáticamente si el sitio web es compatible como PWA o si hay alguna flexibilidad de su parte para ofrecer la opción solo condicionalmente.
Para cualquier otra persona interesada, hay una configuración en chrome://flags llamada App Banners que puedes establecer en Deshabilitado para eliminar el icono en la barra de direcciones.
EDITO: En realidad, la configuración relevante parece ser Desktop PWAs installable from the omnibox.
Solo para informarte, hoy en Chrome en Linux (Ubuntu) incluso apareció un popup proponiéndome «instalar» Discourse como una aplicación. Algo similar a los popups cuando los sitios web solicitan permiso para enviar notificaciones.
¿Está Chrome intentando promover este tipo de «instalaciones»?