Skip to content

Seeing entities in analytics view manager #2160

Manish requested to merge feat/seeing-entities-in-top-feed-2160 into master

Summary

We're currently automatically marking as seen whatever we're returning from the unseen-top endpoint. with this MR we're marking as seen only those entities that have actually been seen using the already existing analytics->viewsManager

closes #2160 (closed)

Steps to test

  1. make sure the client is using the newsfeed-top-latest-4998 branch, the feature flag is set, and the top-feed-2 experiment is either running or ignored.
  2. open newsfeed, turn top-feed on. for every entity returned from the top-feed, there should be an API call to api/v2/analytics/views/activity/GUID that marks these entities as seen. the seen entities should not be returned again (unless all top-feed entities are seen).
  3. for further testing go down, click on "more top posts" button, after new entites were loaded, disable network and take a look at the new feed entites. now refresh the page and those entities should now appear in the top feed.

Estimated Regression Scope

  • unseen top feed
  • analytics view recording

Merge request reports