tangled mirror of catsky-🐱 Soothing soft social-app fork with all the niche toggles! (Unofficial); for issues and PRs please put them on github:NekoDrone/catsky-social

Remove notice in create account flow (#9209)

* Remove notice of policy updates

* Rm debug code

authored by Eric Bailey and committed by GitHub 7861cd15 be53a168

Changed files
-35
src
lib
statsig
screens
Signup
StepInfo
-1
src/lib/statsig/gates.ts
··· 3 3 | 'alt_share_icon' 4 4 | 'debug_show_feedcontext' 5 5 | 'debug_subscriptions' 6 - | 'disable_onboarding_policy_update_notice' 7 6 | 'explore_show_suggested_feeds' 8 7 | 'feed_reply_button_open_thread' 9 8 | 'old_postonboarding'
-34
src/screens/Signup/StepInfo/Policies.tsx
··· 4 4 import {msg, Trans} from '@lingui/macro' 5 5 import {useLingui} from '@lingui/react' 6 6 7 - import {webLinks} from '#/lib/constants' 8 - import {useGate} from '#/lib/statsig/statsig' 9 7 import {atoms as a, useTheme} from '#/alf' 10 8 import {Admonition} from '#/components/Admonition' 11 9 import {InlineLinkText} from '#/components/Link' 12 10 import {Text} from '#/components/Typography' 13 11 14 - function CommunityGuidelinesNotice({}: {}) { 15 - const {_} = useLingui() 16 - const gate = useGate() 17 - 18 - if (gate('disable_onboarding_policy_update_notice')) return null 19 - 20 - return ( 21 - <View style={[a.pt_xs]}> 22 - <Admonition type="tip"> 23 - <Trans> 24 - You also agree to{' '} 25 - <InlineLinkText 26 - label={_(msg`Bluesky's Community Guidelines`)} 27 - to={webLinks.communityDeprecated}> 28 - Bluesky’s Community Guidelines 29 - </InlineLinkText> 30 - . An{' '} 31 - <InlineLinkText 32 - label={_(msg`Bluesky's Updated Community Guidelines`)} 33 - to={webLinks.community}> 34 - updated version of our Community Guidelines 35 - </InlineLinkText>{' '} 36 - will take effect on October 15th. 37 - </Trans> 38 - </Admonition> 39 - </View> 40 - ) 41 - } 42 - 43 12 export const Policies = ({ 44 13 serviceDescription, 45 14 needsGuardian, ··· 67 36 This service has not provided terms of service or a privacy policy. 68 37 </Trans> 69 38 </Admonition> 70 - <CommunityGuidelinesNotice /> 71 39 </View> 72 40 ) 73 41 } ··· 145 113 </Trans> 146 114 </Admonition> 147 115 ) : undefined} 148 - 149 - <CommunityGuidelinesNotice /> 150 116 </View> 151 117 ) 152 118 }