Commit graph

18 commits

Author SHA1 Message Date
infinite-persistence
34368760de Fill in remaining Recsys fields
## Issue
6366 Recsys Evaluation Telemetry

The recommended list from lighthouse is obtained from `makeSelectRecommendedContentForUri`. This list is further tweaked by the GUI (e.g. move autoplay next item to top, remove blocked content, etc.). Recsys wants the final recommendation list and the clicked index (in exact order), so we need pass these info to the videojs recsys plugin somehow. Also, Recsys wants a recommendation list ID as well as the parent (referrer) ID, we so need to track the clicks and navigation.

## General Approach
- It seems easiest to just spew back the final (displayed) list and all the required info to Redux, and the recsys plugin (or anyone else in the future) can grab it.
- Try to touch few files as possible. The dirty work should all reside in `<RecommendedContent>` only.

## Changes
- `ClaimPreview`: add optional parameters to store an ID of the container that it is in (for this case, it is `ClaimList`) as well as the index within the container.
  - When clicked, we store the container ID in the navigation history `state` object.
    - For general cases, anyone can check this state from  `history.location.state` to know which container referred/navigated to the current page. For the recsys use case, we can use this as the `parentUUID`.
- `ClaimList`: just relay `onClick` and set IDs.
- `RecommendedContent`: now handles the uuid generation (for both parent and child) and stores the data in Redux.
2021-08-03 09:34:36 -04:00
Sean Yesmunt
e00b98226c remove old import 2020-11-06 00:02:53 -05:00
Sean Yesmunt
295b8cf2e1 refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
Thomas Zarebczan
a1f5292e57
Increase polling interval (makes app lag) 2020-08-24 16:08:14 -04:00
jessop
d9bf72a351 all settings constants come from redux
sync settings

backout nav cases and anon preference key

more robust backout header

put notificationSettings under backout bar

review changes
2020-07-27 11:53:14 -04:00
Sean Yesmunt
c2abcf110c
Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
Jeffrey Fisher
394fad5754 Clear media position if video has played to the end.
Closes #4174
2020-05-15 09:51:18 -04:00
Sean Yesmunt
1a50e697ce embed functionality inside markdown posts 2020-04-30 10:13:01 -04:00
Jeffrey Fisher
65f4562937 Fix purchase confirmation logic
Closes #4057
2020-04-27 09:53:32 -04:00
Sean Yesmunt
dcb79685bc fix typo 2020-04-24 15:12:48 -04:00
Jeffrey Fisher
3535703017 Remove dead code per code review. 2020-04-22 09:34:01 -04:00
Jeffrey Fisher
7adf165f08 Fix flow error.
Partial fix for #2024
2020-04-22 09:34:01 -04:00
jessopb
ba84eb07a5
Merge branch 'master' into fix-noMatureSearchPagination 2019-12-03 18:26:52 -05:00
Sean Yesmunt
bf512e8338 use same code for handling open links on lbry.tv and desktop 2019-12-03 13:25:17 -05:00
jessop
f21925beab paginates over search count rather than channel claim count 2019-11-21 21:27:39 -05:00
Sean Yesmunt
b089a9a953 fix pagination on channel pages 2019-11-19 22:22:24 -05:00
Sean Yesmunt
73bd46e7d8 fire analytics event after file has started downloading 2019-11-13 10:43:21 -05:00
Sean Yesmunt
6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00
Renamed from src/ui/redux/actions/content.js (Browse further)