[D1X] Use user action and viewing history to inform suggested follows (#4727)

* Use user action and viewing history to inform suggested follows

* Remove dynamic spreads

* Track more info about seen posts

* Add ranking

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
This commit is contained in:
Eric Bailey 2024-07-04 16:28:38 -05:00 committed by GitHub
parent 1c6bfc02fb
commit 3407206f52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 196 additions and 49 deletions

View file

@ -110,24 +110,7 @@ const interstials: Record<
| 'interstitialProgressGuide'
})[]
> = {
following: [
{
type: followInterstitialType,
params: {
variant: 'default',
},
key: followInterstitialType,
slot: 20,
},
{
type: feedInterstitialType,
params: {
variant: 'default',
},
key: feedInterstitialType,
slot: 40,
},
],
following: [],
discover: [
{
type: progressGuideInterstitialType,
@ -137,14 +120,6 @@ const interstials: Record<
key: progressGuideInterstitialType,
slot: 0,
},
{
type: feedInterstitialType,
params: {
variant: 'default',
},
key: feedInterstitialType,
slot: 40,
},
{
type: followInterstitialType,
params: {