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:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user