Commit graph

111 commits

Author SHA1 Message Date
infinite-persistence
6bbf310348 GA: browser notification subscription 2021-11-24 07:28:25 -08:00
mayeaux
f2715fa97b
Adds GDPR support (#311)
* add gdpr support

* only run on production

* testing implementation

* just needs last touches then ready

* ready for merge

* add cookies to sidebar

* hide button when secureprivacy not available

* switch over to loading script as a react hook

* conditionally add secureprivacy script

* save gdpr status on session

* better design
2021-11-23 10:21:33 -05:00
infinite-persistence
73f208923a
Optimize makeSelectClaimIsNsfw (and it's surrounding friends) 2021-11-16 10:14:01 +08:00
Dan Peterson
c242c37869
Add initialization status to push notification hook. Can be used to better control render strategy in cmpnts utilizing it. (#284) 2021-11-12 12:06:07 -05:00
mayeaux
d047a748b7
Test ads (#277)
display ad in related sidebar for video view page

Co-authored-by: Thomas Zarebczan <thomas.zarebczan@gmail.com>
2021-11-11 17:15:50 -05:00
Dan Peterson
5639e4c1ff
Adjust some initial states to optimize initial render (#265) 2021-11-10 14:15:40 -05:00
Thomas Zarebczan
db12a4b991
Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
Dan Peterson
704452732a
Add hints if an error occurs subscribing to notifications (#143)
* Add hints if an error occurs subscribing to notifications

* Update import (type/linting issue)

* disable optimization for debugging

* Revert "disable optimization for debugging"

This reverts commit 5b837f94e97b7488a7dc565e7f74d399e19c286f.

* improve detection of notification support + improve ux / ui surrounding that

* update translations
2021-11-01 14:51:23 -04:00
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
Thomas Zarebczan
eaa32e4df4
Odysee references revamp, part1 2021-10-08 15:22:07 -04:00
infinite-persistence
e23e9e1387
Localize sunset nag
Changed the text a bit so that we can re-use the existing 'Learn more'.
2021-09-23 20:19:23 +08:00
jessopb
8a277e767a
revert embedNoEnd and modify preferEmbed end display (#7144) 2021-09-21 12:47:56 -04:00
infinite-persistence
aefa889ee4
Embed: add replay button + msg resizing (#7141)
* Embed: add replay button

Also, changed "Rewatch or Discuss" to "Discuss + external arrow" since there is a dedicated re-watch button.

* Embed: resize "ended message" based on container height
2021-09-21 11:48:05 -04:00
jessopb
6ca058c3a1
support embed preference (#7114)
* support embed preference

* title color
2021-09-18 10:23:30 -04:00
jessopb
91fbd615e2
fix embed end logo (#7106) 2021-09-15 11:28:45 -04:00
zeppi
4b64c35360 sunset link 2021-08-06 13:30:33 -04:00
zeppi
2a19f9f63c lrytv sunset nag 2021-08-06 12:27:37 -04:00
zeppi
e3e5c50a13 style logo in embed 2021-08-03 13:38:17 -04:00
zeppi
3f4c601428 logo component on embeds/embeds ended 2021-07-27 15:13:29 -04:00
zeppi
aed3e98c79 footer recon 2021-07-23 16:20:11 -04:00
zeppi
20b7b24203 meme component2 2021-07-23 14:56:42 -04:00
infinite-persistence
c62c667436
CLS: reserve space for injected video ads 2021-07-23 13:23:51 +08:00
zeppi
90e2a225e4 use meme component 2021-07-19 14:00:35 -04:00
zeppi
00146bcbb2 restrict pixel from auth and mobile 2021-07-14 14:07:29 -04:00
zeppi
e6376871d5 move pixel to web 2021-07-13 23:40:49 -04:00
zeppi
6d8fce6011 remove more google 2021-06-23 08:54:19 -04:00
zeppi
95fa01a952 youpos 2021-06-18 10:57:19 -04:00
zeppi
d0b6839755 copy 2021-06-18 10:57:19 -04:00
zeppi
2268ab01fb app works when id api fails 2021-06-18 10:57:19 -04:00
infinite-persistence
cbf0be3f3c
i18n update request from translators 2021-06-13 15:46:18 +08:00
zeppi
50dd986787 no flow for you 2021-06-08 13:25:52 -04:00
infinite-persistence
46d258c439
Fix footer in master (patch)
- fix invalid <li> nesting
2021-06-08 12:48:15 +08:00
infinite-persistence
5eae88b553
Fix footer in master
Since lbry.tv is going away, I tried not to touch the css file much so that the merge into `odysee` won't affect it. The side effect is that the links are now white instead of the regular link color.
2021-06-08 01:19:41 +08:00
zeppi
0da3fbf309 flow fix 2021-03-22 18:19:16 -04:00
zeppi
611b07052c get out of (adsense) jail free 2021-03-21 16:51:49 -04:00
zeppi
bce86ae8a3 remove adsense script when blocked 2021-02-10 10:19:50 -05:00
zeppi
ac6bf00b93 script error 2021-02-03 00:13:04 -05:00
zeppi
958fb0b085 fix ads blacklist 2021-02-03 00:13:04 -05:00
zeppi
e8de12bf91 fix flow in ads component 2021-02-02 21:18:13 -05:00
zeppi
11931d4037 provide ad blacklisting 2021-02-02 21:18:13 -05:00
zeppi
d04b0f09ba fix ad areas and drivers 2021-01-26 19:39:22 -05:00
zeppi
a8a26fabd8 simplesite always ads
theme based related ads

test ad layout

logic
2021-01-24 17:32:51 -05:00
zeppi
61ace3566a gads on master 2021-01-23 12:57:09 -05:00
infiinte-persistence
dd1d956bfe i18n fix 2021-01-04 09:57:15 -05:00
infiinte-persistence
0d374725d6 i18n update 2020-12-21 12:11:59 -05:00
infiinte-persistence
6dd40df93b Str-context-split: "Support"
Chinese, Spanish and other translators reported the difficulty in using "Support" as both a noun and verb in their language.
2020-10-14 17:44:44 -04:00
infiinte-persistence
e8e6000b13 Translate the footer.
Most of the items in the footer don't need to be translated, but it was troublesome trying to make `sections[]` re-resolve the label on a language change, if we want to selectively translate certain labels only.

So, just translate everything for now. Translators can simply clone the English string if it doesn't need a translation.
2020-10-14 17:44:44 -04:00
infiinte-persistence
4294e0109a String: fix variable-resolving problems 2020-10-07 16:25:03 -04:00
Sean Yesmunt
248e7a1f9e fix lbry.tv strings 2020-10-05 10:39:24 -04:00
Sean Yesmunt
faa4e7364f alignment with odysee branch 2020-10-01 17:10:42 -04:00
Sean Yesmunt
0ee1ad69e9 fix lbry.tv typo 2020-09-30 10:32:01 -04:00
Sean Yesmunt
2dee81b624 Sign In => Log in 2020-09-29 17:12:32 -04:00
Sean Yesmunt
93f7da132e update twitter link 2020-08-25 09:22:54 -04:00
Sean Yesmunt
692862c769 collapsable sidebar initial commit 2020-08-11 17:04:14 -04:00
jessop
e91c52999e use DOMAIN in ad link copy 2020-07-14 15:44:48 -04:00
Sean Yesmunt
2066205b8f add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
Thomas Zarebczan
87e8957f0e
fix other data collection message... 2020-06-04 19:09:05 -04:00
Thomas Zarebczan
179722b1ef
Update message about third party sharing 2020-06-04 13:40:15 -04:00
Sean Yesmunt
e7cdd6c13d moonpay 2020-06-03 14:16: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