Просмотр исходного кода

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
M Fahru 1 год назад
Родитель
Сommit
0e54e650e3

+ 0 - 3
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": "",

+ 0 - 14
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;

+ 0 - 3
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</1> of the <0>__planName__</0> group subscription <1>__groupName__</1> administered by <1>__adminEmail__</1>.",
   "you_are_a_manager_of_x_plan_as_member_of_group_subscription_y_administered_by_z_you": "You are a <1>manager</1> of the <0>__planName__</0> group subscription <1>__groupName__</1> administered by <1>you (__adminEmail__</1>).",
   "you_are_currently_logged_in_as": "You are currently logged in as <b>__email__</b>.",
-  "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</0> to find out more.",
   "you_are_on_x_plan_as_a_confirmed_member_of_institution_y": "You are on our <0>__planName__</0> plan as a <1>confirmed member</1> of <1>__institutionName__</1>",
   "you_are_on_x_plan_as_member_of_group_subscription_y_administered_by_z": "You are on our <0>__planName__</0> plan as a <1>member</1> of the group subscription <1>__groupName__</1> administered by <1>__adminEmail__</1>",

+ 0 - 1
services/web/types/subscription/payment-context-value.tsx

@@ -73,5 +73,4 @@ export type PaymentContextValue = {
     React.SetStateAction<PaymentContextValue['studentConfirmationChecked']>
   >
   updatePlan: (newPlanCode: string) => void
-  showNudgeToAnnualText: boolean
 }