From 3580ec6db3cb00c3382a198a4ba69b719661b230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Alby?= Date: Tue, 24 May 2022 09:47:08 +0200 Subject: [PATCH] Merge pull request #8029 from overleaf/ta-settings-fix-7 [SettingsPage] Small Fixes 7 GitOrigin-RevId: 2716fe13af3f5f6b56d6bba47505fad75ba1adbf --- .../web/frontend/extracted-translations.json | 2 +- .../settings/components/emails-section.tsx | 2 +- .../settings/components/emails/add-email.tsx | 5 +++- .../components/emails/add-email/input.tsx | 10 +++++-- .../components/leavers-survey-alert.tsx | 14 ++++----- .../settings/components/linking-section.tsx | 6 ++-- .../settings/context/user-email-context.tsx | 14 +++++---- .../stories/settings/helpers/emails.js | 1 + .../settings/leavers-survey-alert.stories.tsx | 7 ++++- .../frontend/stories/settings/page.stories.js | 2 ++ services/web/locales/en.json | 3 +- .../emails/add-email-input.test.tsx | 29 +++++++++++++++++-- .../components/leavers-survey-alert.test.tsx | 17 ++++++++--- .../components/linking-section.test.tsx | 4 +-- 14 files changed, 85 insertions(+), 31 deletions(-) diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index b01919d21a..a57f1ace3c 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -355,7 +355,7 @@ "reconnect": "", "redirect_to_editor": "", "reference_error_relink_hint": "", - "reference_sync": "", + "reference_managers": "", "references_search_hint": "", "refresh": "", "refresh_page_after_linking_dropbox": "", diff --git a/services/web/frontend/js/features/settings/components/emails-section.tsx b/services/web/frontend/js/features/settings/components/emails-section.tsx index 8439a2966c..f8328af291 100644 --- a/services/web/frontend/js/features/settings/components/emails-section.tsx +++ b/services/web/frontend/js/features/settings/components/emails-section.tsx @@ -31,7 +31,7 @@ function EmailsSectionContent() { {/* eslint-disable-next-line jsx-a11y/anchor-has-content */} - +