From ab4f23ab86432e2450ac9466bc1d034542218a49 Mon Sep 17 00:00:00 2001 From: Tim Down <158919+timdown@users.noreply.github.com> Date: Fri, 22 May 2026 11:28:18 +0100 Subject: [PATCH] Merge pull request #33788 from overleaf/td-payment-preview-ai Add AI to features list on upgrade checkout page GitOrigin-RevId: 0b5b94fc4961ac2e8e2d2812bb80c1041f4c8c24 --- services/web/frontend/extracted-translations.json | 8 ++++++-- services/web/locales/en.json | 5 +++-- .../test/frontend/features/subscription/fixtures/plans.ts | 2 +- services/web/types/subscription/plan.ts | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index e5f72dda46..23e6671319 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -122,6 +122,7 @@ "ai_assist_subscriber_can_now_write_smarter": "", "ai_assist_unavailable_due_to_subscription_type": "", "ai_assistance": "", + "ai_assistant": "", "ai_can_make_mistakes": "", "ai_features": "", "ai_feedback_please_provide_more_detail": "", @@ -139,7 +140,6 @@ "all_features_in_group_standard_plus": "", "all_logs": "", "all_premium_features": "", - "all_premium_features_including": "", "all_project_activity": "", "all_project_activity_description": "", "all_projects": "", @@ -319,7 +319,9 @@ "collaborator_chat": "", "collabs_per_proj": "", "collabs_per_proj_multiple": "", + "collabs_per_proj_plus": "", "collabs_per_proj_single": "", + "collabs_per_proj_single_plus": "", "collapse": "", "column_width": "", "column_width_is_custom_click_to_resize": "", @@ -939,6 +941,7 @@ "include_the_error_message_and_ai_response": "", "included_as_part_of_your_writefull_subscription": "", "increase_indent": "", + "increased_ai_allowance": "", "increased_compile_timeout": "", "info": "", "inline": "", @@ -1166,6 +1169,7 @@ "math": "", "math_display": "", "math_inline": "", + "max_ai_allowance": "", "maximum_files_uploaded_together": "", "maybe_later": "", "member": "", @@ -2189,9 +2193,9 @@ "university_school": "", "unknown": "", "unknown_group": "", - "unlimited_ai_use": "", "unlimited_collaborators_per_project": "", "unlimited_collabs": "", + "unlimited_collabs_per_project_plus": "", "unlimited_document_history": "", "unlimited_projects": "", "unlink": "", diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 9ac0438753..7caf348f3a 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -177,7 +177,6 @@ "all_features_in_group_standard_plus": "All features in Standard group, plus:", "all_logs": "All logs", "all_premium_features": "All premium features", - "all_premium_features_including": "All premium features, including:", "all_prices_displayed_are_in_currency": "All prices displayed are in __recommendedCurrency__.", "all_project_activity": "All project activity", "all_project_activity_description": "You’ll be notified about all comments and track changes.", @@ -424,7 +423,9 @@ "collabratec_account_not_registered": "IEEE Collabratec™ account not registered. Please connect to Overleaf from IEEE Collabratec™ or log in with a different account.", "collabs_per_proj": "__collabcount__ collaborators per project", "collabs_per_proj_multiple": "Multiple collaborators per project", + "collabs_per_proj_plus": "__collabcount__ collaborators per project, plus:", "collabs_per_proj_single": "__collabcount__ collaborator per project", + "collabs_per_proj_single_plus": "__collabcount__ collaborator per project, plus:", "collapse": "Collapse", "column_width": "Column width", "column_width_is_custom_click_to_resize": "Column width is custom. Click to resize", @@ -2819,9 +2820,9 @@ "unknown": "Unknown", "unknown_group": "Unknown group", "unlimited": "Unlimited", - "unlimited_ai_use": "Unlimited AI use", "unlimited_collaborators_per_project": "Unlimited collaborators per project", "unlimited_collabs": "Unlimited collaborators", + "unlimited_collabs_per_project_plus": "Unlimited collaborators per project, plus:", "unlimited_document_history": "Unlimited document history", "unlimited_overleaf_ai": "Unlimited Overleaf AI", "unlimited_projects": "Unlimited projects", diff --git a/services/web/test/frontend/features/subscription/fixtures/plans.ts b/services/web/test/frontend/features/subscription/fixtures/plans.ts index 6a78f96a5e..aed10f6782 100644 --- a/services/web/test/frontend/features/subscription/fixtures/plans.ts +++ b/services/web/test/frontend/features/subscription/fixtures/plans.ts @@ -37,7 +37,7 @@ const features = { symbolPalette: true, }, collaborator: { - aiUsageQuota: 'unlimited', + aiUsageQuota: 'standard', collaborators: 10, dropbox: true, versioning: true, diff --git a/services/web/types/subscription/plan.ts b/services/web/types/subscription/plan.ts index 2f575045a1..5edd9d1155 100644 --- a/services/web/types/subscription/plan.ts +++ b/services/web/types/subscription/plan.ts @@ -1,7 +1,7 @@ import { StripeCurrencyCode } from './currency' export type Features = { - aiUsageQuota: 'basic' | 'unlimited' + aiUsageQuota: 'free' | 'basic' | 'standard' | 'unlimited' // todo: quota clean-up: remove aiErrorAssistant once migration finishes aiErrorAssistant?: boolean collaborators: number