Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

dan and committed by
GitHub
f5b277c9 5f9f81f8

+13
+5
src/lib/constants.ts
··· 139 139 value: 'following', 140 140 pinned: true, 141 141 } 142 + export const VIDEO_SAVED_FEED = { 143 + type: 'feed', 144 + value: VIDEO_FEED_URI, 145 + pinned: true, 146 + } 142 147 143 148 export const RECOMMENDED_SAVED_FEEDS: Pick< 144 149 AppBskyActorDefs.SavedFeed,
+1
src/lib/statsig/gates.ts
··· 3 3 | 'debug_show_feedcontext' 4 4 | 'debug_subscriptions' 5 5 | 'new_postonboarding' 6 + | 'onboarding_add_video_feed' 6 7 | 'remove_show_latest_button' 7 8 | 'test_gate_1' 8 9 | 'test_gate_2'
+7
src/screens/Onboarding/StepFinished.tsx
··· 12 12 BSKY_APP_ACCOUNT_DID, 13 13 DISCOVER_SAVED_FEED, 14 14 TIMELINE_SAVED_FEED, 15 + VIDEO_SAVED_FEED, 15 16 } from '#/lib/constants' 16 17 import {useRequestNotificationsPermission} from '#/lib/notifications/notifications' 17 18 import {logEvent, useGate} from '#/lib/statsig/statsig' ··· 111 112 id: TID.nextStr(), 112 113 }, 113 114 ] 115 + if (gate('onboarding_add_video_feed')) { 116 + feedsToSave.push({ 117 + ...VIDEO_SAVED_FEED, 118 + id: TID.nextStr(), 119 + }) 120 + } 114 121 115 122 // Any starter pack feeds will be pinned _after_ the defaults 116 123 if (starterPack && starterPack.feeds?.length) {