* FEATURE: Incorporate PWA install prompt into Discourse UI This is mainly done so Discourse forums stop nagging people to install on the very first visits to a website. We will prevent the native install "mini-info" bar from ever appearing, capture the event that pops with it, and delay it until the user meets our criteria, which currently is trust_level 1. If the event happens and the user meets our criteria we show a Discourse alert banner proposing the install to the user. Dismissal of the banner is recorded so the user ins't bothered anymore on the same device. Co-Authored-By: Gerhard Schlager <mail@gerhard-schlager.at> Co-Authored-By: Joffrey JAFFEUX <j.jaffeux@gmail.com> |
||
|---|---|---|
| .. | ||
| adapters | ||
| components | ||
| controllers | ||
| helpers | ||
| initializers | ||
| lib | ||
| mixins | ||
| models | ||
| pre-initializers | ||
| raw-views | ||
| routes | ||
| services | ||
| templates | ||
| widgets | ||
| mapping-router.js.es6 | ||