lbry-desktop/ui
infinite-persistence 0143b63c74 Ads: replace DOM manipulations with React components
- Instead of 2 ways to display ads (DOM injection + React method) and having both of them clash, just do it the predictable React way.
    - Augment the existing React version to support tile layout + ability to place in last visible slot.
    - Consolidate styling code to scss ... DOM manipulations were making it even harder to maintain.
    - Removed the need to check for ad-blockers for now. It was being executed every time an ad is displayed, and now that we are displaying ads in more places, the gains doesn't justify the performance loss. Also, it wasn't being done for Recommended ads anyway, so the inconsistency probably means it's not needed in the first place.

Other known issues fixed:
- double ad injection when changing language via nag.
- additional "total-blocking-time" due to ads at startup removed.
- fixed ads not appearing in mobile homepage until navigated away and back to homepage.
- enable ads in channel page.
- support for both List and Tile layout.
2022-03-08 10:53:52 -05:00
..
component Ads: replace DOM manipulations with React components 2022-03-08 10:53:52 -05:00
constants Sidebar: show "last active subs" instead of "by name" 2022-03-04 11:32:00 -05:00
effects Ads: replace DOM manipulations with React components 2022-03-08 10:53:52 -05:00
modal Use locale/get response to suggest homepage and language switch (#839) 2022-03-02 09:44:01 -05:00
page Ads: replace DOM manipulations with React components 2022-03-08 10:53:52 -05:00
redux Sidebar: show "last active subs" instead of "by name" 2022-03-04 11:32:00 -05:00
scss Ads: replace DOM manipulations with React components 2022-03-08 10:53:52 -05:00
util Missed remaining 'homepages' imports 2022-03-04 11:10:08 +08:00
analytics.js More cleanup 2022-01-31 11:39:03 -05:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Remove custom comments server 2022-02-03 10:24:58 -05:00
i18n.js Add env to auto report new strings in console 2022-01-05 00:26:31 -08:00
index.jsx Grab homepages from the content API (#1016) 2022-03-03 09:22:59 -05:00
lbry.js Un-authenticated resolve (#341) 2021-11-24 09:33:34 -05:00
locale.js Use locale/get response to suggest homepage and language switch (#839) 2022-03-02 09:44:01 -05:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
reducers.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
rewards.js Change logic for daily reward claiming to weekly 2021-12-23 02:40:58 -05:00
store.js Patch to restore position upon returning to video until more fully fleshed out fix can be introduced (#817) 2022-02-07 12:51:26 -05:00