lbry-desktop/web
Dan Peterson 03f69eff86
Browser push notifications (#133)
* fix type error

fix is subscribed check

- Persist subscription data locally
- add / remove subscription during log in / out
- Use store directly in hook

Add toast error if subscription fails

Revert removal of v2

hotfix linting issue

Add custom notification handler

- fix isSupported flag
- make icon color compatible with light/dark theme
- fix icon on notifications blocked banner

wip: add push notification banner to notifications page.

- ignore failed deletions via internal API
- add ua parsing package
- add more robust meta data to token save

refactor naming + add push toggle to notification button

shift some code around

update css naming o proper BEM notation

update notifications UI

remove now unneeded util function

Update push notification system to sue firebase sdk

separate service worker webpack bundling

update service worker to use firebase sdk

Add firebase config

Add firebase and remove filemanager

Stub out the basics for browser push notifications.

* fix safari

* try smaller image for badge

* add token validation with server, refactor code

* remove param

* add special icon for web notification badge

* add translations

* add missing trans for toast error

* add pushRequest method that will not prompt users who have subscribed but since disabled notifications in the settings.
2021-10-27 10:38:10 -04:00
..
component Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
effects app works when id api fails 2021-06-18 10:57:19 -04:00
middleware Add favicon for Google Search results (#7205) 2021-10-01 08:09:02 -04:00
page Odysee references revamp, part1 2021-10-08 15:22:07 -04:00
scss [Comment/Livestream] Markdown and style fixes (#55) 2021-10-12 17:06:20 -04:00
setup Change API server address to odysee-api 2021-07-20 10:23:00 -04:00
src Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
static/pwa Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
stubs rename lbrytv to web 2020-05-25 17:21:02 -04:00
.env.ody Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
bundle-id.js fix uuid import with new version 2020-10-02 14:36:22 -04:00
index.js cache static files for webserver 2021-06-04 12:05:23 -04:00
lbry.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
package.json Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
theme.js better... 2021-07-29 11:28:19 -04:00
webpack.config.js Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
webpack.sw.config.js Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
yarn.lock Browser push notifications (#133) 2021-10-27 10:38:10 -04:00