Remove notice of policy updates

This commit is contained in:
Eric Bailey
2025-10-15 12:36:45 -05:00
parent be53a168ba
commit b84e405437
3 changed files with 1 additions and 35 deletions
-1
View File
@@ -3,7 +3,6 @@ export type Gate =
| 'alt_share_icon' | 'alt_share_icon'
| 'debug_show_feedcontext' | 'debug_show_feedcontext'
| 'debug_subscriptions' | 'debug_subscriptions'
| 'disable_onboarding_policy_update_notice'
| 'explore_show_suggested_feeds' | 'explore_show_suggested_feeds'
| 'feed_reply_button_open_thread' | 'feed_reply_button_open_thread'
| 'old_postonboarding' | 'old_postonboarding'
+1
View File
@@ -428,6 +428,7 @@ export function PostThread({uri}: {uri: string}) {
/> />
) )
} else { } else {
// return <ThreadItemPostSkeleton index={index} />
return ( return (
<ThreadItemPost <ThreadItemPost
item={item} item={item}
-34
View File
@@ -4,42 +4,11 @@ import {type ComAtprotoServerDescribeServer} from '@atproto/api'
import {msg, Trans} from '@lingui/macro' import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react' import {useLingui} from '@lingui/react'
import {webLinks} from '#/lib/constants'
import {useGate} from '#/lib/statsig/statsig'
import {atoms as a, useTheme} from '#/alf' import {atoms as a, useTheme} from '#/alf'
import {Admonition} from '#/components/Admonition' import {Admonition} from '#/components/Admonition'
import {InlineLinkText} from '#/components/Link' import {InlineLinkText} from '#/components/Link'
import {Text} from '#/components/Typography' import {Text} from '#/components/Typography'
function CommunityGuidelinesNotice({}: {}) {
const {_} = useLingui()
const gate = useGate()
if (gate('disable_onboarding_policy_update_notice')) return null
return (
<View style={[a.pt_xs]}>
<Admonition type="tip">
<Trans>
You also agree to{' '}
<InlineLinkText
label={_(msg`Bluesky's Community Guidelines`)}
to={webLinks.communityDeprecated}>
Blueskys Community Guidelines
</InlineLinkText>
. An{' '}
<InlineLinkText
label={_(msg`Bluesky's Updated Community Guidelines`)}
to={webLinks.community}>
updated version of our Community Guidelines
</InlineLinkText>{' '}
will take effect on October 15th.
</Trans>
</Admonition>
</View>
)
}
export const Policies = ({ export const Policies = ({
serviceDescription, serviceDescription,
needsGuardian, needsGuardian,
@@ -67,7 +36,6 @@ export const Policies = ({
This service has not provided terms of service or a privacy policy. This service has not provided terms of service or a privacy policy.
</Trans> </Trans>
</Admonition> </Admonition>
<CommunityGuidelinesNotice />
</View> </View>
) )
} }
@@ -145,8 +113,6 @@ export const Policies = ({
</Trans> </Trans>
</Admonition> </Admonition>
) : undefined} ) : undefined}
<CommunityGuidelinesNotice />
</View> </View>
) )
} }