From 0e54e650e30e646c0bfd6afd963a418a182cc509 Mon Sep 17 00:00:00 2001 From: M Fahru Date: Tue, 20 May 2025 07:40:39 -0700 Subject: [PATCH] Merge pull request #25706 from overleaf/mf-tear-down-nudge-annual-checkout-page [web] Tear down `nudge-annual-checkout-page` split test and keep the default version GitOrigin-RevId: 5714810b2a8abedca60855b37b059cd7f900407c --- services/web/frontend/extracted-translations.json | 3 --- .../bootstrap-5/pages/subscription.scss | 14 -------------- services/web/locales/en.json | 3 --- .../types/subscription/payment-context-value.tsx | 1 - 4 files changed, 21 deletions(-) diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 6c5af98c38..36e66feed7 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -1447,7 +1447,6 @@ "saml_missing_signature_error": "", "saml_response": "", "save": "", - "save_20_percent_when_you_switch_to_annual": "", "save_or_cancel-cancel": "", "save_or_cancel-or": "", "save_or_cancel-save": "", @@ -1681,7 +1680,6 @@ "sure_you_want_to_change_plan": "", "sure_you_want_to_delete": "", "sure_you_want_to_leave_group": "", - "switch_back_to_monthly_pay_20_more": "", "switch_compile_mode_for_faster_draft_compilation": "", "switch_to_editor": "", "switch_to_new_editor": "", @@ -2091,7 +2089,6 @@ "you_are_a_manager_of_publisher_x": "", "you_are_a_manager_of_x_plan_as_member_of_group_subscription_y_administered_by_z": "", "you_are_a_manager_of_x_plan_as_member_of_group_subscription_y_administered_by_z_you": "", - "you_are_now_saving_20_percent": "", "you_are_on_a_paid_plan_contact_support_to_find_out_more": "", "you_are_on_x_plan_as_a_confirmed_member_of_institution_y": "", "you_are_on_x_plan_as_member_of_group_subscription_y_administered_by_z": "", diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/subscription.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/subscription.scss index ed2acdf5b5..cc01e1abd2 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/subscription.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/subscription.scss @@ -182,10 +182,6 @@ h4 { margin-bottom: var(--spacing-06); - - &:has(+ .payment-nudge-annual-button) { - margin-bottom: 0; - } } .features-list { @@ -452,16 +448,6 @@ } } -.payment-nudge-annual-button { - margin: var(--spacing-02) 0 var(--spacing-06) 0; - - @include body-sm; - - button { - padding: 0; - } -} - .add-on-card { display: flex; align-items: center; diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 6495a24fbd..21ee0fd735 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1910,7 +1910,6 @@ "saml_response": "SAML Response", "save": "Save", "save_20_percent": "save 20%", - "save_20_percent_when_you_switch_to_annual": "Save 20% when you switch to annual", "save_or_cancel-cancel": "Cancel", "save_or_cancel-or": "or", "save_or_cancel-save": "Save", @@ -2178,7 +2177,6 @@ "sure_you_want_to_delete": "Are you sure you want to permanently delete the following files?", "sure_you_want_to_leave_group": "Are you sure you want to leave this group?", "sv": "Swedish", - "switch_back_to_monthly_pay_20_more": "Switch back to monthly (20% more)", "switch_compile_mode_for_faster_draft_compilation": "Switch compile mode for faster draft compilation", "switch_to_editor": "Switch to editor", "switch_to_new_editor": "Switch to new editor", @@ -2645,7 +2643,6 @@ "you_are_a_manager_of_x_plan_as_member_of_group_subscription_y_administered_by_z": "You are a <1>manager of the <0>__planName__ group subscription <1>__groupName__ administered by <1>__adminEmail__.", "you_are_a_manager_of_x_plan_as_member_of_group_subscription_y_administered_by_z_you": "You are a <1>manager of the <0>__planName__ group subscription <1>__groupName__ administered by <1>you (__adminEmail__).", "you_are_currently_logged_in_as": "You are currently logged in as __email__.", - "you_are_now_saving_20_percent": "You are now saving 20%", "you_are_on_a_paid_plan_contact_support_to_find_out_more": "You’re on an __appName__ Paid plan. <0>Contact support to find out more.", "you_are_on_x_plan_as_a_confirmed_member_of_institution_y": "You are on our <0>__planName__ plan as a <1>confirmed member of <1>__institutionName__", "you_are_on_x_plan_as_member_of_group_subscription_y_administered_by_z": "You are on our <0>__planName__ plan as a <1>member of the group subscription <1>__groupName__ administered by <1>__adminEmail__", diff --git a/services/web/types/subscription/payment-context-value.tsx b/services/web/types/subscription/payment-context-value.tsx index 496f7e027b..2df1265270 100644 --- a/services/web/types/subscription/payment-context-value.tsx +++ b/services/web/types/subscription/payment-context-value.tsx @@ -73,5 +73,4 @@ export type PaymentContextValue = { React.SetStateAction > updatePlan: (newPlanCode: string) => void - showNudgeToAnnualText: boolean }