Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(client): clarify what progress reset includes #54542

Merged
merged 2 commits into from Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions client/i18n/locales/english/translations.json
Expand Up @@ -263,8 +263,12 @@
"nevermind": "Nevermind, I don't want to delete my account",
"certain": "I am 100% certain. Delete everything related to this account",
"reset-heading": "Reset My Progress",
"reset-p1": "This will really delete all of your progress, points, completed challenges, our records of your projects, any certifications you have, everything.",
"reset-p2": "We won't be able to recover any of it for you later, even if you change your mind.",
"reset-p1": "This will permanently delete and reset all of the following:",
"reset-item-1": "Your progress through each step/challenge (all completed challenge will be lost)",
Sembauke marked this conversation as resolved.
Show resolved Hide resolved
"reset-item-2": "Any saved code, including partially completed challenges, and certification project code",
"reset-item-3": "All completed and claimed certifications",
"reset-p2": "You will effectively be set back to the very first day you signed up.",
"reset-p3": "We won't be able to recover any of it for you later, even if you change your mind.",
"nevermind-2": "Nevermind, I don't want to delete all of my progress",
"reset-confirm": "Reset everything. I want to start from the beginning"
},
Expand Down
8 changes: 7 additions & 1 deletion client/src/components/settings/reset-modal.tsx
Expand Up @@ -19,9 +19,15 @@ function ResetModal(props: ResetModalProps): JSX.Element {
<Modal.Header showCloseButton={true} closeButtonClassNames='close'>
{t('settings.danger.reset-heading')}
</Modal.Header>
<Modal.Body>
<Modal.Body alignment='start'>
Sembauke marked this conversation as resolved.
Show resolved Hide resolved
<p>{t('settings.danger.reset-p1')}</p>
<ul>
<li>{t('settings.danger.reset-item-1')}</li>
<li>{t('settings.danger.reset-item-2')}</li>
<li>{t('settings.danger.reset-item-3')}</li>
</ul>
<p>{t('settings.danger.reset-p2')}</p>
<p>{t('settings.danger.reset-p3')}</p>
</Modal.Body>
<Modal.Footer>
<Button
Expand Down