lbry-desktop/ui
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
..
component Fill in remaining Recsys fields 2021-08-03 09:34:36 -04:00
constants Fill in remaining Recsys fields 2021-08-03 09:34:36 -04:00
effects livestream api constant rename 2021-07-28 16:51:11 -04:00
modal Change warning 2021-07-30 10:24:04 -04:00
page i18n 2021-08-03 14:44:57 +08:00
redux Fill in remaining Recsys fields 2021-08-03 09:34:36 -04:00
scss fix #6766 (Channel staked badge in the wrong line) 2021-08-03 00:14:26 -05:00
util no limit on stream types for following 2021-08-02 16:14:33 -04:00
analytics.js patch devmode for custom lbry api 2021-07-28 11:49:36 -04:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Reactions: switch from SDK to Commentron 2021-07-16 13:41:41 -04:00
i18n.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
index.jsx bugfix 2021-07-29 12:58:25 -04: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 wip 2021-06-08 13:25:52 -04:00
rewards.js When a new reward is acquired, only close modals if the reward comes from reward_code 2021-01-08 08:16:41 -07:00
store.js improve pending over refreshes 2021-07-05 10:22:13 -04:00