Ver Fonte

Merge pull request #31220 from overleaf/mg-workbench-ai-assist-release

Update workbench to be for AI Assist users

GitOrigin-RevId: a53c52344cae7d27fc0e1e13f3956e00df421503
Mathias Jakobsen há 8 meses atrás
pai
commit
30b09bfdcc

+ 1 - 0
services/web/app/src/Features/Tutorial/TutorialController.mjs

@@ -9,6 +9,7 @@ const VALID_KEYS = [
   'bib-file-tpr-prompt',
   'ai-error-assistant-consent',
   'workbench-consent',
+  'workbench-consent-release',
   'history-restore-promo',
   'us-gov-banner',
   'us-gov-banner-fedramp',

+ 15 - 9
services/web/frontend/extracted-translations.json

@@ -116,6 +116,7 @@
   "agree_with_the_terms": "",
   "ai_assist_in_overleaf_is_included_via_writefull_groups": "",
   "ai_assist_in_overleaf_is_included_via_writefull_individual": "",
+  "ai_assist_subscriber_can_now_write_smarter": "",
   "ai_assist_unavailable_due_to_subscription_type": "",
   "ai_can_make_mistakes": "",
   "ai_features": "",
@@ -211,6 +212,7 @@
   "buy_licenses": "",
   "buy_more_licenses": "",
   "buy_now_no_exclamation_mark": "",
+  "by_continuing_you_agree_to_use_this_feature_in_line_with_your_institutions_policies": "",
   "by_subscribing_you_agree_to_our_terms_of_service": "",
   "can_link_institution_email_acct_to_institution_acct": "",
   "can_link_your_institution_acct_2": "",
@@ -272,6 +274,7 @@
   "choose_how_you_search_your_references": "",
   "choose_which_experiments": "",
   "citation": "",
+  "citation_checks_are_powered_by_trusted_sources_from_dimensions": "",
   "cite_a_reference_from_your_reference_manager_to_automatically_add_it_to_your_bib_file": "",
   "cite_directly_or_import_references": "",
   "cite_faster": "",
@@ -371,6 +374,7 @@
   "create_new_subscription": "",
   "create_new_tag": "",
   "create_project_in_github": "",
+  "create_summaries": "",
   "created": "",
   "created_at": "",
   "creating": "",
@@ -526,7 +530,6 @@
   "edited": "",
   "editing": "",
   "editing_captions": "",
-  "editing_tools": "",
   "editor": "",
   "editor_and_pdf": "",
   "editor_disconected_click_to_reconnect": "",
@@ -560,7 +563,6 @@
   "emails_and_affiliations_title": "",
   "empty": "",
   "enable": "",
-  "enable_ai_assistant_to_get_access": "",
   "enable_ai_features": "",
   "enable_managed_users": "",
   "enable_single_sign_on": "",
@@ -576,10 +578,8 @@
   "enter_the_code": "",
   "enter_the_confirmation_code": "",
   "enter_the_number_of_licenses_youd_like_to_add_to_see_the_cost_breakdown": "",
-  "equation_generator": "",
   "equation_preview": "",
   "error": "",
-  "error_assist": "",
   "error_opening_document": "",
   "error_opening_document_detail": "",
   "error_performing_request": "",
@@ -599,6 +599,7 @@
   "explore_what_s_new": "",
   "export_csv": "",
   "export_project_to_github": "",
+  "failed_to_consent_to_workbench_terms": "",
   "failed_to_send_group_invite_to_email": "",
   "failed_to_send_managed_user_invite_to_email": "",
   "failed_to_send_sso_link_invite_to_email": "",
@@ -630,6 +631,7 @@
   "files_selected": "",
   "filter_projects": "",
   "find": "",
+  "find_and_check_citations": "",
   "find_and_fix_errors_faster": "",
   "find_out_more": "",
   "find_out_more_about_institution_login": "",
@@ -640,6 +642,7 @@
   "first_name": "",
   "fit_to_height": "",
   "fit_to_width": "",
+  "fix_errors": "",
   "fixed_width": "",
   "fixed_width_wrap_text": "",
   "fold_line": "",
@@ -680,6 +683,7 @@
   "future_payments": "",
   "generate_from_text": "",
   "generate_from_text_or_image": "",
+  "generate_latex_from_prompts_and_images": "",
   "generate_tables_and_equations": "",
   "generate_token": "",
   "generating": "",
@@ -687,11 +691,14 @@
   "generic_linked_file_compile_error": "",
   "generic_something_went_wrong": "",
   "get_access_to_enterprise_features": "",
+  "get_ai_assist": "",
   "get_collaborative_benefits": "",
   "get_discounted_plan": "",
+  "get_early_access_with_ai_assist_add_on": "",
   "get_error_assist": "",
   "get_exclusive_access_to_labs": "",
   "get_in_touch": "",
+  "get_language_suggestions": "",
   "get_more_compile_time": "",
   "get_most_subscription_by_checking_ai_writefull": "",
   "get_most_subscription_by_checking_overleaf": "",
@@ -961,7 +968,6 @@
   "labels_help_you_to_easily_reference_your_figures": "",
   "labels_help_you_to_reference_your_tables": "",
   "language": "",
-  "language_suggestions": "",
   "last_active": "",
   "last_active_description": "",
   "last_edit": "",
@@ -1827,6 +1833,7 @@
   "suggests_code_completions_while_typing": "",
   "support_for_the_old_editor_is_ending_soon": "",
   "support_for_your_browser_is_ending_soon": "",
+  "supporting_your_research_respecting_your_privacy": "",
   "supports_up_to_x_licenses": "",
   "sure_you_want_to_cancel_plan_change": "",
   "sure_you_want_to_change_plan": "",
@@ -1856,7 +1863,6 @@
   "tab_connecting": "",
   "tab_no_longer_connected": "",
   "table": "",
-  "table_generator": "",
   "tag_color": "",
   "tag_name_cannot_exceed_characters": "",
   "tag_name_is_already_used": "",
@@ -1875,7 +1881,6 @@
   "test_configuration": "",
   "test_configuration_successful": "",
   "tex_live_version": "",
-  "texgpt": "",
   "thank_you": "",
   "thank_you_exclamation": "",
   "thank_you_for_joining_the_rolling_texlive": "",
@@ -1966,7 +1971,6 @@
   "to_modify_your_subscription_go_to": "",
   "to_pull_results_directly_from_your_reference_manager_enable_one_of_the_available_reference_manager_integrations": "",
   "to_use_text_wrapping_in_your_table_make_sure_you_include_the_array_package": "",
-  "to_use_the_ai_assistant_you_need_to_enable_the_experiment": "",
   "toggle_compile_options_menu": "",
   "toggle_group": "",
   "toggle_personal_library": "",
@@ -2247,7 +2251,7 @@
   "work_offline_pull_to_overleaf": "",
   "work_with_non_overleaf_users": "",
   "work_with_other_github_users": "",
-  "write_faster_smarter_with_overleaf_and_writefull_ai_tools": "",
+  "write_faster_smarter_with_research_ready_ai": "",
   "x_changes_in": "",
   "x_changes_in_plural": "",
   "x_libraries_accessed_in_this_project": "",
@@ -2296,6 +2300,7 @@
   "you_have_x_licenses_and_your_plan_supports_up_to_y": "",
   "you_have_x_licenses_on_your_subscription": "",
   "you_need_to_configure_your_sso_settings": "",
+  "you_remain_in_control_please_review_all_suggestions_carefully": "",
   "you_unpaused_your_subscription": "",
   "you_will_be_able_to_reassign_subscription": "",
   "youll_get_best_results_in_visual_but_can_be_used_in_source": "",
@@ -2330,6 +2335,7 @@
   "your_plan_is_limited_to_n_editors": "",
   "your_plan_is_limited_to_n_editors_plural": "",
   "your_premium_plan_is_paused": "",
+  "your_project_content_is_never_used_for_model_training": "",
   "your_project_exceeded_collaborator_limit": "",
   "your_project_exceeded_compile_timeout_limit_on_free_plan": "",
   "your_project_near_compile_timeout_limit": "",

+ 0 - 2
services/web/frontend/js/shared/components/notification.tsx

@@ -93,8 +93,6 @@ function Notification({
     if (onDismiss) onDismiss()
   }
 
-  // return null
-
   if (!show) {
     return null
   }

+ 15 - 3
services/web/locales/en.json

@@ -140,6 +140,7 @@
   "ai_assist_description": "AI Assist combines AI tools from Overleaf and Writefull to help you write faster, smarter and with confidence.",
   "ai_assist_in_overleaf_is_included_via_writefull_groups": "AI Assist in Overleaf is included as part of your group or organization’s Writefull subscription. To make changes you’ll need to speak to your subscription admin",
   "ai_assist_in_overleaf_is_included_via_writefull_individual": "AI Assist in Overleaf is included as part of your Writefull subscription. You can cancel or manage your access to AI Assist in your Writefull subscription settings.",
+  "ai_assist_subscriber_can_now_write_smarter": "AI Assist subscribers can now write smarter, find citations, and generate LaTeX from prompts and images.",
   "ai_assist_unavailable_due_to_subscription_type": "We’re sorry—it looks like AI Assist isn’t available to you just yet due to your current subscription type.",
   "ai_can_make_mistakes": "AI can make mistakes. Review fixes before you apply them.",
   "ai_features": "AI features",
@@ -268,6 +269,7 @@
   "buy_more_licenses": "Buy more licenses",
   "buy_now_no_exclamation_mark": "Buy now",
   "by": "by",
+  "by_continuing_you_agree_to_use_this_feature_in_line_with_your_institutions_policies": "By continuing, you agree to use this feature in line with your institution’s policies.",
   "by_joining_labs": "By joining Labs, you agree to receive occasional emails and updates from Overleaf—for example, to request your feedback. You also agree to our <0>terms of service</0> and <1>privacy notice</1>.",
   "by_registering_you_agree_to_our_terms_of_service": "By registering, you agree to our <0>terms of service</0> and <1>privacy notice</1>.",
   "by_subscribing_you_agree_to_our_terms_of_service": "By subscribing, you agree to our <0>terms of service</0>.",
@@ -344,6 +346,7 @@
   "choose_your_plan": "Choose your plan",
   "ciam_info_login": "We’re making some changes to improve your login experience. You’ll start seeing a new look, including mentions of our parent company, Digital Science. Don’t worry, this won’t change your account or login options.",
   "citation": "Citation",
+  "citation_checks_are_powered_by_trusted_sources_from_dimensions": "Citation checks are powered by trusted sources from Dimensions.",
   "cite_a_reference_from_your_reference_manager_to_automatically_add_it_to_your_bib_file": "Cite a reference from your reference manager to automatically add it to your .bib file.",
   "cite_directly_or_import_references": "Cite directly or import references",
   "cite_faster": "Cite faster",
@@ -476,6 +479,7 @@
   "create_new_subscription": "Create new subscription",
   "create_new_tag": "Create new tag",
   "create_project_in_github": "Create a GitHub repository",
+  "create_summaries": "Create summaries",
   "create_your_account": "Create your account",
   "created": "Created",
   "created_at": "Created at",
@@ -709,7 +713,6 @@
   "empty_zip_file": "Zip doesn’t contain any file",
   "en": "English",
   "enable": "Enable",
-  "enable_ai_assistant_to_get_access": "Enable AI Assistant to get access",
   "enable_ai_features": "Enable AI features",
   "enable_managed_users": "Enable Managed Users",
   "enable_single_sign_on": "Enable single sign-on",
@@ -766,6 +769,7 @@
   "explore_what_s_new": "Explore what’s new",
   "export_csv": "Export CSV",
   "export_project_to_github": "Export Project to GitHub",
+  "failed_to_consent_to_workbench_terms": "Failed to consent to workbench terms. Please try again later.",
   "failed_to_send_group_invite_to_email": "Failed to send Group invite to <0>__email__</0>. Please try again later.",
   "failed_to_send_managed_user_invite_to_email": "Failed to send Managed User invite to <0>__email__</0>. Please try again later.",
   "failed_to_send_sso_link_invite_to_email": "Failed to send SSO invite reminder to <0>__email__</0>. Please try again later.",
@@ -807,6 +811,7 @@
   "filter_projects": "Filter projects",
   "filters": "Filters",
   "find": "Find",
+  "find_and_check_citations": "Find and check citations",
   "find_and_fix_errors_faster": "Find and fix errors faster",
   "find_out_more": "Find out More",
   "find_out_more_about_institution_login": "Find out more about institutional login",
@@ -817,6 +822,7 @@
   "first_name": "First name",
   "fit_to_height": "Fit to height",
   "fit_to_width": "Fit to width",
+  "fix_errors": "Fix errors",
   "fixed_width": "Fixed width",
   "fixed_width_wrap_text": "Fixed width, wrap text",
   "flexible_plans_for_everyone": "Flexible plans for everyone—from individual students and researchers, to large businesses and universities.",
@@ -876,6 +882,7 @@
   "general": "General",
   "generate_from_text": "From text",
   "generate_from_text_or_image": "From text or image",
+  "generate_latex_from_prompts_and_images": "Generate LaTeX from prompts and images",
   "generate_tables_and_equations": "Generate tables and equations from text and images. Try it for free in the Overleaf toolbar!",
   "generate_token": "Generate token",
   "generating": "Generating",
@@ -883,13 +890,16 @@
   "generic_linked_file_compile_error": "This project’s output files are not available because it failed to compile. Please open the project to see the compilation error details.",
   "generic_something_went_wrong": "Sorry, something went wrong",
   "get_access_to_enterprise_features": "Get access to enterprise features and benefits provided by your organization.",
+  "get_ai_assist": "Get AI Assist",
   "get_collaborative_benefits": "Get the collaborative benefits from __appName__, even if you prefer to work offline",
   "get_discounted_plan": "Get discounted plan",
+  "get_early_access_with_ai_assist_add_on": "Get early access with the AI Assist add-on",
   "get_error_assist": "Get Error Assist",
   "get_exclusive_access_to_labs": "Get exclusive access to early-stage experiments when you join Overleaf Labs. All we ask in return is your honest feedback to help us develop and improve.",
   "get_in_touch": "Get in touch",
   "get_in_touch_having_problems": "<a href=\"__link__\">Get in touch with support</a> if you’re having problems",
   "get_involved": "Get involved",
+  "get_language_suggestions": "Get language suggestions",
   "get_more_compile_time": "Get more compile time",
   "get_most_subscription_by_checking_ai_writefull": "Get the most out of your subscription by checking out <0>Overleaf’s AI features</0> and <1>Writefull’s features</1>.",
   "get_most_subscription_by_checking_overleaf": "Get the most out of your subscription by checking out <0>Overleaf’s features</0>.",
@@ -2319,6 +2329,7 @@
   "support": "Support",
   "support_for_the_old_editor_is_ending_soon": "Support for the old editor is ending soon",
   "support_for_your_browser_is_ending_soon": "Support for your browser is ending soon",
+  "supporting_your_research_respecting_your_privacy": "Supporting your research, respecting your privacy",
   "supports_up_to_x_licenses": "Supports up to <0>__count__ licenses</0>",
   "sure_you_want_to_cancel_plan_change": "Are you sure you want to revert your scheduled plan change? You will remain subscribed to the <0>__planName__</0> plan.",
   "sure_you_want_to_change_plan": "Are you sure you want to change plan to <0>__planName__</0>?",
@@ -2489,7 +2500,6 @@
   "to_modify_your_subscription_go_to": "To modify your subscription go to",
   "to_pull_results_directly_from_your_reference_manager_enable_one_of_the_available_reference_manager_integrations": "To pull results directly from your reference manager, <0>enable one of the available reference manager integrations</0>.",
   "to_use_text_wrapping_in_your_table_make_sure_you_include_the_array_package": "<0>Please note:</0> To use text wrapping in your table, make sure you include the <1>array</1> package in your document preamble:",
-  "to_use_the_ai_assistant_you_need_to_enable_the_experiment": "To use the AI Assistant, you need to <0>enable the experiment</0>.",
   "toggle_compile_options_menu": "Toggle compile options menu",
   "toggle_unknown_group": "Toggle unknown group",
   "token": "Token",
@@ -2797,7 +2807,7 @@
   "work_or_university_sso": "Work/university single sign-on",
   "work_with_non_overleaf_users": "Work with non Overleaf users",
   "work_with_other_github_users": "Work with other GitHub users",
-  "write_faster_smarter_with_overleaf_and_writefull_ai_tools": "Write faster, smarter and with confidence with AI Assist",
+  "write_faster_smarter_with_research_ready_ai": "Write faster, smarter and with confidence with research-ready AI",
   "writefull": "Writefull",
   "x_changes_in": "__count__ change in",
   "x_changes_in_plural": "__count__ changes in",
@@ -2852,6 +2862,7 @@
   "you_have_x_licenses_and_your_plan_supports_up_to_y": "You have allocated __addedUsersSize__ licenses and your plan supports up to __groupSize__.",
   "you_have_x_licenses_on_your_subscription": "You have __groupSize__ licenses on your subscription.",
   "you_need_to_configure_your_sso_settings": "You need to configure and test your SSO settings before enabling SSO",
+  "you_remain_in_control_please_review_all_suggestions_carefully": "You remain in control, so please review all suggestions carefully before accepting them.",
   "you_unpaused_your_subscription": "You unpaused your subscription.",
   "you_will_be_able_to_contact_us_any_time_to_share_your_feedback": "<0>You will be able to contact us</0> any time to share your feedback",
   "you_will_be_able_to_reassign_subscription": "You will be able to reassign their subscription membership to another person in your organization",
@@ -2890,6 +2901,7 @@
   "your_plan_is_limited_to_n_editors": "Your plan allows __count__ collaborator with edit access and unlimited viewers.",
   "your_plan_is_limited_to_n_editors_plural": "Your plan allows __count__ collaborators with edit access and unlimited viewers.",
   "your_premium_plan_is_paused": "Your Premium plan is <0>paused</0>.",
+  "your_project_content_is_never_used_for_model_training": "Your project content is never used for model training. There are more details about how we use your data in <0>our docs</0>.",
   "your_project_exceeded_collaborator_limit": "Your project exceeded the collaborator limit and access levels were changed. Select a new access level for your collaborators, or upgrade to add more editors or reviewers.",
   "your_project_exceeded_compile_timeout_limit_on_free_plan": "Your project exceeded the compile timeout limit on our free plan.",
   "your_project_near_compile_timeout_limit": "Your project is near the compile timeout limit for our free plan.",