From 1083a05d6938015a8ef73398360bd3bdc8ca3cc2 Mon Sep 17 00:00:00 2001 From: Jimmy Domagala-Tang Date: Wed, 9 Jul 2025 13:27:35 -0700 Subject: [PATCH] adding link to delete writefull account on deletion modal (#26974) GitOrigin-RevId: 6e9dec05a7cecb3013b629bc87b066466db9ed02 --- .../web/frontend/extracted-translations.json | 2 +- .../settings/components/leave/modal-content.tsx | 17 +++++++++-------- services/web/locales/en.json | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 9976c9087e..b563e611bd 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -789,6 +789,7 @@ "id": "", "identify_errors_with_your_compile": "", "if_you_need_to_customize_your_table_further_you_can": "", + "if_you_need_to_delete_your_writefull_account": "", "if_you_want_more_than_x_licenses_on_your_plan_we_need_to_add_them_for_you": "", "if_you_want_to_reduce_the_number_of_licenses_please_contact_support": "", "if_your_occupation_not_listed_type_full_name": "", @@ -1817,7 +1818,6 @@ "to_confirm_transfer_enter_email_address": "", "to_confirm_unlink_all_users_enter_email": "", "to_continue_using_upgrade_or_change_your_browser": "", - "to_delete_your_writefull_account": "", "to_fix_this_you_can": "", "to_fix_this_you_can_ask_the_github_repository_owner": "", "to_insert_or_move_a_caption_make_sure_tabular_is_directly_within_table": "", diff --git a/services/web/frontend/js/features/settings/components/leave/modal-content.tsx b/services/web/frontend/js/features/settings/components/leave/modal-content.tsx index 9ac29d790c..ffe9a99263 100644 --- a/services/web/frontend/js/features/settings/components/leave/modal-content.tsx +++ b/services/web/frontend/js/features/settings/components/leave/modal-content.tsx @@ -10,8 +10,6 @@ import { OLModalTitle, } from '@/features/ui/components/ol/ol-modal' -const WRITEFULL_SUPPORT_EMAIL = 'support@writefull.com' - type LeaveModalContentProps = { handleHide: () => void inFlight: boolean @@ -46,13 +44,16 @@ function LeaveModalContentBlock({ />

, + a: ( + // eslint-disable-next-line jsx-a11y/anchor-has-content + + ), }} />

diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 01a9fc4bd6..d560e93b4d 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1018,6 +1018,7 @@ "if_have_existing_can_link": "If you have an existing __appName__ account on another email, you can link it to your __institutionName__ account by clicking __clickText__.", "if_owner_can_link": "If you own the __appName__ account with __email__, you will be allowed to link it to your __institutionName__ institutional account.", "if_you_need_to_customize_your_table_further_you_can": "If you need to customize your table further, you can. Using LaTeX code, you can change anything from table styles and border styles to colors and column widths. <0>Read our guide to using tables in LaTeX to help you get started.", + "if_you_need_to_delete_your_writefull_account": "If you need to delete your Writefull account, go to your Writefull account settings.", "if_you_want_more_than_x_licenses_on_your_plan_we_need_to_add_them_for_you": "If you want more than __count__ licenses on your plan, we need to add them for you. Just click <0>Send request below and we’ll be happy to help.", "if_you_want_to_reduce_the_number_of_licenses_please_contact_support": "If you want to reduce the number of licenses on your plan, please <0>contact customer support.", "if_your_occupation_not_listed_type_full_name": "If your __occupation__ isn’t listed, you can type the full name.", @@ -2346,7 +2347,6 @@ "to_confirm_transfer_enter_email_address": "To accept the invitation, enter the email address linked to your account.", "to_confirm_unlink_all_users_enter_email": "To confirm you want to unlink all users, enter your email address:", "to_continue_using_upgrade_or_change_your_browser": "To continue using __appName__ without problems you need to upgrade or change to a <0>supported browser.", - "to_delete_your_writefull_account": "To delete your Writefull account, or to check if you have one, please contact __email__.", "to_fix_this_you_can": "To fix this, you can:", "to_fix_this_you_can_ask_the_github_repository_owner": "To fix this, you can ask the GitHub repository owner (<0>__repoOwnerEmail__) to renew their __appName__ subscription and reconnect the project.", "to_insert_or_move_a_caption_make_sure_tabular_is_directly_within_table": "To insert or move a caption, make sure \\begin{tabular} is directly within a table environment",