lbry-desktop/ui/redux/reducers
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
..
app.js add initial support for comment API outside of SDK 2021-02-11 10:45:34 -05:00
blocked.js New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
coinSwap.js ViewPastSwaps: limit to 10 entries + other fixes 2021-04-13 14:02:25 -04:00
comments.js Fix muted-words now returning null instead of "" 2021-07-23 15:46:38 +08:00
content.js Fill in remaining Recsys fields 2021-08-03 09:34:36 -04:00
livestream.js use commentron for live view counts 2021-06-17 14:58:55 -04:00
notifications.js fetch notofication/categories for notification types dropdown 2021-04-30 12:45:46 -04:00
reactions.js add file reactions code from odysee 2020-10-02 15:28:00 -04:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
rewards.js add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
search.js default search types from config 2021-07-23 10:31:07 -04:00
settings.js more 2021-07-19 13:52:15 -04:00
subscriptions.js fix colon handling 2021-07-15 17:48:02 -04:00
sync.js Don't hard fail on sync set error 2020-11-14 01:17:26 -05:00
tags.js Performance: don't spread in 'reduce' 2021-06-02 08:21:43 +08:00
user.js Clear 'passwordSet*' flags too in USER_PASSWORD_SET_CLEAR 2020-09-15 12:52:12 -04:00