lbry-desktop/ui/page
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
..
backup add wallet sync message on wallet page 2020-02-21 13:42:17 -05:00
buy Wallet swap disabled (#107) 2021-10-22 10:48:34 -04:00
channel FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
channelNew Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
channels FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
channelsFollowing Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
channelsFollowingDiscover use homepage LATEST for following discover (#7185) 2021-09-29 15:22:46 -04:00
checkoutPage Revert "move stuff to web (#6537)" 2021-07-19 10:12:57 -04:00
collection Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
creatorDashboard Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
discover FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
embedWrapper FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
file Remove unused props and selector calls. 2021-10-19 21:15:25 +08:00
fileListDownloaded Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
fileListPublished Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
fourOhFour Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
help FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
home Livestream category improvements (#7115) 2021-09-24 10:26:21 -04:00
invite Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
invited Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
library Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
listBlocked Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
lists Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
livestream Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
livestreamCurrent Add 'ENABLE_WIP_FEATURES' for live page. 2021-08-12 21:52:58 -07:00
livestreamSetup Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
navigationHistory refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notifications Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
ownComments Comment-selectors: fix memoization 2021-10-20 11:29:18 +08:00
passwordReset new layout 🕺 2020-09-29 17:12:32 -04:00
passwordSet new layout 🕺 2020-09-29 17:12:32 -04:00
passwordUpdate Move 'update password' into a subpage 2021-08-23 23:45:31 +08:00
publish Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
receive Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
report Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
reportContent Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
repost Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
rewards FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
rewardsVerify rewards redirect fix for manually approved users 2020-07-03 13:18:28 -04:00
search Fix top search for channels (#104) 2021-10-20 12:55:21 -04:00
send Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
settings Page: the 'settingsPage' option now automatically adds the sidebar. 2021-08-23 23:45:25 +08:00
settingsCreator Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
settingsNotifications Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
settingsStripeAccount Merge pull request #6917 from lbryio/squashed-and-merged 2021-08-24 18:46:47 +02:00
settingsStripeCard Fiat tip improvements (#7038) 2021-09-09 12:52:03 -04:00
show FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
signIn new layout 🕺 2020-09-29 17:12:32 -04:00
signInVerify review this 2021-07-13 23:45:51 -04:00
signInWalletPassword get sync password out of signing flow 2020-09-21 14:11:25 -04:00
signUp new layout 🕺 2020-09-29 17:12:32 -04:00
swap Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
tagsFollowing Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
tagsFollowingManage per channel notification settings 2020-11-02 14:13:13 -05:00
top Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
wallet Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
welcome Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
youtubeSync FAQ stuff (#109) 2021-10-21 16:21:51 -04:00