lbry-desktop/ui/scss/component
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
..
_ads.scss CLS: reserve space for injected video ads 2021-07-23 13:23:51 +08:00
_animation.scss Revert "Make dropdown menus actually dropdown" 2021-01-29 11:54:39 -05:00
_badge.scss theme orginization and cleanup 2021-04-30 15:05:58 -04:00
_block-list.scss Blocklist: paginate + search (#7055) 2021-09-10 11:36:08 -04:00
_button.scss Expanded Playback and List controls (#6921) 2021-09-02 16:05:32 -04:00
_card.scss Mobile view: Make comments expandable 2021-08-03 11:05:32 -04:00
_channel-mention.scss Add Channel Mention selection ability (#7151) 2021-09-30 17:30:32 -04:00
_channel.scss Thumbnail upload fixes (#6860) 2021-08-24 20:28:23 -04:00
_claim-list.scss Adds sub count to search and other areas. (#10) 2021-10-16 14:12:09 -04:00
_claim-search.scss Fix dropdown caret spacing (#7096) 2021-09-15 15:18:17 -04:00
_collection.scss Playlist style fixes (#6509) 2021-07-16 15:13:28 -04:00
_comments.scss [Comment/Livestream] Markdown and style fixes (#55) 2021-10-12 17:06:20 -04:00
_content.scss CodeSplit: Initial work 2021-06-25 16:00:44 +08:00
_dat-gui.scss Fix and enable 3D viewer: #4035 2020-04-27 14:27:04 -04:00
_embed-player.scss support embed preference (#7114) 2021-09-18 10:23:30 -04:00
_empty.scss winning claim style pass 2020-12-16 14:58:30 -05:00
_expandable.scss Adjust comment fade-out height 2021-09-27 11:01:44 +08:00
_file-drop.scss moonpay 2020-06-03 14:16:43 -04:00
_file-list.scss moonpay 2020-06-03 14:16:43 -04:00
_file-properties.scss unify some styles with master 2021-04-27 11:20:41 -04:00
_file-render.scss Embed: add replay button + msg resizing (#7141) 2021-09-21 11:48:05 -04:00
_footer.scss Fix footer in master 2021-06-08 01:19:41 +08:00
_form-field.scss Fix dropdown caret spacing (#7096) 2021-09-15 15:18:17 -04:00
_form-row.scss moonpay 2020-06-03 14:16:43 -04:00
_header.scss fix logo size on firefox 2021-08-01 14:26:59 -04:00
_icon.scss Vertically center 'icon--help' (redo) 2021-09-07 16:12:21 +08:00
_item-list.scss moonpay 2020-06-03 14:16:43 -04:00
_livestream.scss [Comment/Livestream] Markdown and style fixes (#55) 2021-10-12 17:06:20 -04:00
_main.scss Fix spacing / centering live stream + comments section (#7225) 2021-10-04 09:19:52 -04:00
_markdown-editor.scss Fix broken markdown editor border color 2021-02-26 11:04:25 -05:00
_markdown-preview.scss Fix markdown preview word break (#70) 2021-10-13 16:31:12 -04:00
_media.scss Fix mobile view with long descriptions 2021-05-14 13:51:55 -04:00
_meme.scss meme style 2021-07-19 14:17:43 -04:00
_modal.scss Revert "Open the actual image when clicking on the image viewer" 2021-02-19 14:05:51 -05:00
_navigation.scss adjust channel staked indicator in side navigation 2021-06-17 10:28:16 -04:00
_notification.scss #6935 Direct reacting from notifications 2021-08-28 20:50:35 +08:00
_nudge.scss wip 2021-04-27 11:20:41 -04:00
_pagination.scss moonpay 2020-06-03 14:16:43 -04:00
_placeholder.scss fix placeholder tile margin 2021-03-08 14:05:02 -05:00
_post.scss Posts: restore "Tip unlock | Claim details" component (#6051) 2021-05-12 14:26:47 -04:00
_progress.scss add youtube sync to first run 2020-09-29 17:12:32 -04:00
_purchase.scss unify some styles with master 2021-04-27 11:20:41 -04:00
_search.scss SearchChannelField 2021-09-08 21:23:50 +08:00
_share.scss use web share api 2020-03-30 15:49:45 -04:00
_snack-bar.scss adjust css for toast message so that it behaves as expected (text truncation via ellipsis) (#7213) 2021-10-04 09:21:59 -04:00
_spinner.scss moonpay 2020-06-03 14:16:43 -04:00
_splash.scss moonpay 2020-06-03 14:16:43 -04:00
_status-bar.scss Fix css "--spacing-?" renaming that recent PRs missed during the merge. 2020-06-04 10:53:32 -04:00
_stripe-card.scss Move transactions from Settings to Wallet (#6871) 2021-08-13 13:59:43 -04:00
_superchat.scss hyperchats 2021-04-23 16:20:17 -04:00
_syntax-highlighter.scss Add integrated light theme 2020-02-07 09:21:28 -05:00
_table.scss theme orginization and cleanup 2021-04-30 15:05:58 -04:00
_tags.scss Moderator Delegation GUI 2021-06-18 15:46:51 -04:00
_tooltip.scss add channel staked amount indicator on channel thumbnails 2021-02-18 01:14:39 -05:00
_txo-list.scss finish button links 2021-08-23 19:52:56 +02:00
_videojs.scss Revert "player background color (#86)" (#132) 2021-10-26 14:47:02 -04:00
_view_count.scss Fix issue where channel upload viewcounts were creating a new line (#7154) 2021-09-29 15:04:43 -04:00
_wallet-tip-send.scss updated code 2021-07-03 14:42:37 -04:00
_wunderbar.scss Wunderbar: re-arrange static buttons to the top 2021-09-14 15:07:30 +08:00
_yrbl.scss New repost flow 2020-12-16 09:47:28 -05:00
expanding-details.scss moonpay 2020-06-03 14:16:43 -04:00
menu-button.scss Fix “Your Account” popup on mobile (#5652) (#7172) 2021-09-29 11:20:36 -04:00
nag.scss wip 2021-04-27 11:20:41 -04:00
notifications-banner.scss Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
notifications-blocked.scss Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
section.scss Convert "moderator search" to use the new widget 2021-09-08 21:27:25 +08:00
tabs.scss extra collection publish buttons, styling 2021-06-15 18:37:35 -04:00