Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

[Video] Split 'videos' gate in two (#5037)

authored by

Samuel Newman and committed by
GitHub
c41f372b ab260c35

+6 -5
+3 -2
src/lib/statsig/gates.ts
··· 5 5 | 'onboarding_minimum_interests' 6 6 | 'suggested_feeds_interstitial' 7 7 | 'show_follow_suggestions_in_profile' 8 - | 'video_debug' 9 - | 'videos' 8 + | 'video_debug' // not recommended 9 + | 'video_upload' // upload videos 10 + | 'video_view_on_posts' // see posted videos
+1 -1
src/view/com/composer/Composer.tsx
··· 760 760 ) : ( 761 761 <ToolbarWrapper style={[a.flex_row, a.align_center, a.gap_xs]}> 762 762 <SelectPhotoBtn gallery={gallery} disabled={!canSelectImages} /> 763 - {gate('videos') && ( 763 + {gate('video_upload') && ( 764 764 <SelectVideoBtn 765 765 onSelectVideo={selectVideo} 766 766 disabled={!canSelectImages}
+1 -1
src/view/com/util/post-embeds/VideoEmbed.tsx
··· 31 31 ) 32 32 const gate = useGate() 33 33 34 - if (!gate('videos')) { 34 + if (!gate('video_view_on_posts')) { 35 35 return null 36 36 } 37 37
+1 -1
src/view/com/util/post-embeds/VideoEmbed.web.tsx
··· 47 47 [key], 48 48 ) 49 49 50 - if (!gate('videos')) { 50 + if (!gate('video_view_on_posts')) { 51 51 return null 52 52 } 53 53