This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Rafael dos Santos Silva 0a5b332b8c
FEATURE: Incorporate PWA install prompt into Discourse UI (#8013)
* 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>
2019-08-19 14:09:21 -03:00
..
adapters SECURITY: XSS in routes 2019-06-26 16:34:15 +02:00
components FEATURE: Incorporate PWA install prompt into Discourse UI (#8013) 2019-08-19 14:09:21 -03:00
controllers Ran prettier to fix build 2019-08-16 13:03:01 -06:00
helpers FIX: Rename deprecated icons, allow custom icons in badges 2019-07-16 11:13:44 -04:00
initializers SECURITY: Restrict message-bus access on login_required sites 2019-08-14 09:43:12 +01:00
lib DEV: injects router in customHref/customFilter of addNavigationBarItem (#8018) 2019-08-19 18:33:12 +02:00
mixins REVERT: External auth when redeeming invites 2019-08-16 12:44:14 -06:00
models FIX: uses simpler pattern for custom href on extra nav items (#8015) 2019-08-19 16:27:16 +10:00
pre-initializers FIX: Better detection of Apple browsers (#7961) 2019-08-02 12:43:25 -03:00
raw-views DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
routes FEATURE: add support for group members visibility level (#8004) 2019-08-14 19:00:04 +05:30
services FEATURE: favorites emojis will also show in composer autocomplete (#8011) 2019-08-16 11:47:03 +02:00
templates FEATURE: Incorporate PWA install prompt into Discourse UI (#8013) 2019-08-19 14:09:21 -03:00
widgets REFACTOR: user-menu-links widget for extensibility (#7996) 2019-08-12 14:01:59 -04:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00