lbry-desktop/ui/redux/actions
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 clean 2021-07-15 17:48:02 -04:00
blocked.js Additional pop up menu options 2021-06-15 13:47:56 -04:00
coinSwap.js CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00
comments.js Beautify/elaborate comment spam-check message 2021-07-23 13:33:10 -04:00
content.js Fill in remaining Recsys fields 2021-08-03 09:34:36 -04:00
file.js Pop up Menu Fixes and Improvements 2021-07-21 14:40:44 -04:00
livestream.js review 2021-04-23 14:51:09 -04:00
notifications.js Cleaned up notification constants 2021-07-08 11:21:24 +08:00
publish.js Feat publish replays on master (#5863) 2021-04-14 00:06:11 -04:00
reactions.js sync reducer stuff 2020-10-27 10:17:11 -04:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
rewards.js remove paid content reward claim 2020-07-22 12:58:20 -04:00
search.js update lighthouse search api 2021-07-30 11:47:28 -04:00
settings.js sync again 2021-01-25 10:39:40 -05:00
subscriptions.js Fix notification bell toast 2021-07-12 11:03:11 -04:00
sync.js use comment component for livestream comments 2021-03-25 15:08:05 -04:00
tags.js sync reducer stuff 2020-10-27 10:17:11 -04:00
user.js youpos 2021-06-18 10:57:19 -04:00
websocket.js update sockety api urls 2021-08-01 09:47:44 -04:00