Add account deletion terms section

This commit is contained in:
2026-09-11 15:44:26 +05:00
parent 5278509046
commit b96ad82cf7
3 changed files with 65 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ interface LegalPageProps {
interface LegalSectionProps { interface LegalSectionProps {
title: string; title: string;
children: ReactNode; children: ReactNode;
anchorId?: string;
} }
export function LegalPage({ export function LegalPage({
@@ -58,9 +59,9 @@ export function LegalPage({
); );
} }
export function LegalSection({ title, children }: LegalSectionProps) { export function LegalSection({ title, children, anchorId }: LegalSectionProps) {
return ( return (
<Box component="section" className={classes.section}> <Box component="section" id={anchorId} className={classes.section}>
<Title order={2} className={classes.sectionTitle}> <Title order={2} className={classes.sectionTitle}>
{title} {title}
</Title> </Title>

View File

@@ -126,6 +126,14 @@ export function PrivacyPage() {
some requests may require you to provide information that helps us verify some requests may require you to provide information that helps us verify
control of the relevant account or keys. control of the relevant account or keys.
</LegalText> </LegalText>
<LegalText>
For step-by-step deletion instructions, including what data may remain, see
the{' '}
<Anchor component={Link} to="/terms#account-deletion">
Account Deletion section of the Terms of Use
</Anchor>
.
</LegalText>
</LegalSection> </LegalSection>
<LegalSection title="8. Children"> <LegalSection title="8. Children">

View File

@@ -218,6 +218,60 @@ export function TermsPage() {
Phone: <Anchor href="tel:+85228910030">+852 2891 0030</Anchor> Phone: <Anchor href="tel:+85228910030">+852 2891 0030</Anchor>
</LegalText> </LegalText>
</LegalSection> </LegalSection>
<LegalSection title="20. Account Deletion" anchorId="account-deletion">
<LegalText>
You can permanently delete your Rosetta account in the app. This action
cannot be undone. Rosetta accounts use cryptographic identities, so no phone
number or email address is required to create or delete one.
</LegalText>
<LegalText>To delete the account currently signed in on an Android device:</LegalText>
<LegalList>
<List.Item>Open Rosetta and sign in to the account you want to remove.</List.Item>
<List.Item>Open Settings, then choose Safety.</List.Item>
<List.Item>Select Delete Account.</List.Item>
<List.Item>Review the confirmation and select Delete.</List.Item>
</LegalList>
<LegalText>
Deleting an account removes its local account record, message history,
conversations, cached profile media, and other account-scoped data from the
device where you complete the deletion. It also ends the signed-in session
for that account on that device.
</LegalText>
<LegalText>
Rosetta is designed so readable message history stays on users&apos; devices,
not as a readable server-side message archive. Encrypted data in transit is
processed only as needed to deliver the service. Deletion does not remove
messages, attachments, or other data that other people have already received
and stored on their own devices.
</LegalText>
<LegalText>
Limited technical logs and support communications may be retained only for
as long as reasonably necessary for security, reliability, support, legal,
and operational purposes, as described in our{' '}
<Anchor component={Link} to="/privacy">
Privacy Policy
</Anchor>
.
</LegalText>
<LegalText>
If you cannot sign in or need help with an account-deletion request, email{' '}
<Anchor href="mailto:admin@rosetta.im?subject=Rosetta%20Account%20Deletion%20Request">
admin@rosetta.im
</Anchor>
. Include the public account identifier, if available, and enough detail for
us to locate the request. We may ask you to verify control of the account or
its keys before acting on a request. Never send your private key or recovery
phrase by email or to support.
</LegalText>
<LegalText>
For help, contact{' '}
<Anchor href="mailto:support@rosetta.im?subject=Rosetta%20Account%20Deletion%20Help">
support@rosetta.im
</Anchor>
.
</LegalText>
</LegalSection>
</LegalPage> </LegalPage>
</> </>
); );