Commit graph

12 commits

Author SHA1 Message Date
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
Merge
30023422b8
Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
saltrafael
143be541cf bump redux 2021-06-14 14:53:14 -04:00
infinite-persistence
9eb0d2a87e Revert "bump redux"
This reverts commit 141ebcf1cd.
2021-06-13 15:45:15 +08:00
saltrafael
141ebcf1cd bump redux 2021-06-11 17:01:20 -04:00
infinite-persistence
eb4e80d56b Re-sync 'web/package.json' with the main one.
Not sure if it's possible to just inherit the main one if there is no customization, but for now, just copy/paste.
2021-06-02 08:21:43 +08:00
dependabot[bot]
81f32ab05f Bump node-fetch from 2.6.0 to 2.6.1 in /web
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-17 11:34:17 -04:00
Sean Yesmunt
5447e334dc use dynamic js bundle urls 2020-08-19 17:14:31 -04:00
Sean Yesmunt
34b0bfc315 Revert "use dynamic js bundle urls"
This reverts commit cb8a801d4a.
2020-08-18 23:34:06 -04:00
Sean Yesmunt
cb8a801d4a use dynamic js bundle urls 2020-08-18 22:22:57 -04:00
Thomas Zarebczan
4291c36c58 Initial commit for LBRY-First
fix killing daemon

bump lbry-first
2020-07-08 14:23:43 -04:00
jessop
e3c2919373 rename lbrytv to web
language and API consts

improve customization
custom homepages
get config from .env.default
custom title and logo

small changes

add pinned item to sidebar

rebase?
2020-05-25 17:21:02 -04:00
Renamed from lbrytv/package.json (Browse further)