Update copy and link in reporting flow (#8583)

* Update copy and link

* fix prettier

* Update link

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
This commit is contained in:
Eric Bailey
2025-07-17 11:01:10 -05:00
committed by GitHub
parent 94a3e5bbe1
commit 42bfee5d9d
2 changed files with 8 additions and 4 deletions
@@ -1 +1,2 @@
export const DMCA_LINK = 'https://bsky.social/about/support/copyright' export const DMCA_LINK = 'https://bsky.social/about/support/copyright'
export const SUPPORT_PAGE = 'https://bsky.social/about/support'
@@ -30,7 +30,7 @@ import {createStaticClick, InlineLinkText, Link} from '#/components/Link'
import {Loader} from '#/components/Loader' import {Loader} from '#/components/Loader'
import {Text} from '#/components/Typography' import {Text} from '#/components/Typography'
import {useSubmitReportMutation} from './action' import {useSubmitReportMutation} from './action'
import {DMCA_LINK} from './const' import {SUPPORT_PAGE} from './const'
import {useCopyForSubject} from './copy' import {useCopyForSubject} from './copy'
import {initialState, reducer} from './state' import {initialState, reducer} from './state'
import {type ReportDialogProps, type ReportSubject} from './types' import {type ReportDialogProps, type ReportSubject} from './types'
@@ -266,9 +266,9 @@ function Inner(props: ReportDialogProps) {
{['post', 'account'].includes(props.subject.type) && ( {['post', 'account'].includes(props.subject.type) && (
<Link <Link
to={DMCA_LINK} to={SUPPORT_PAGE}
label={_( label={_(
msg`View details for reporting a copyright violation`, msg`Need to report a copyright violation, legal request, or regulatory compliance issue?`,
)}> )}>
{({hovered, pressed}) => ( {({hovered, pressed}) => (
<View <View
@@ -285,7 +285,10 @@ function Inner(props: ReportDialogProps) {
: [t.atoms.border_contrast_low], : [t.atoms.border_contrast_low],
]}> ]}>
<Text style={[a.flex_1, a.italic, a.leading_snug]}> <Text style={[a.flex_1, a.italic, a.leading_snug]}>
<Trans>Need to report a copyright violation?</Trans> <Trans>
Need to report a copyright violation, legal
request, or regulatory compliance issue?
</Trans>
</Text> </Text>
<SquareArrowTopRight <SquareArrowTopRight
size="sm" size="sm"