[Experiment] Add Video feed on signup (#7531)

This commit is contained in:
dan
2025-01-21 20:56:08 +00:00
committed by GitHub
parent 5f9f81f86c
commit f5b277c9f8
3 changed files with 13 additions and 0 deletions
+7
View File
@@ -12,6 +12,7 @@ import {
BSKY_APP_ACCOUNT_DID,
DISCOVER_SAVED_FEED,
TIMELINE_SAVED_FEED,
VIDEO_SAVED_FEED,
} from '#/lib/constants'
import {useRequestNotificationsPermission} from '#/lib/notifications/notifications'
import {logEvent, useGate} from '#/lib/statsig/statsig'
@@ -111,6 +112,12 @@ export function StepFinished() {
id: TID.nextStr(),
},
]
if (gate('onboarding_add_video_feed')) {
feedsToSave.push({
...VIDEO_SAVED_FEED,
id: TID.nextStr(),
})
}
// Any starter pack feeds will be pinned _after_ the defaults
if (starterPack && starterPack.feeds?.length) {