Przeglądaj źródła

Merge pull request #31926 from overleaf/copilot/show-unlinked-reference-managers

Show linked/unlinked reference manager summary in Reference Search Settings modal

GitOrigin-RevId: 42f34b72374bbef80dd0db65543896b8f2432c36
David 7 miesięcy temu
rodzic
commit
d7ed38aff2

+ 2 - 1
services/web/frontend/extracted-translations.json

@@ -2292,7 +2292,7 @@
   "you_can_also_choose_to_view_anonymously_or_leave_the_project": "",
   "you_can_also_right_click_a_file_to_set_it_as_main": "",
   "you_can_buy_this_plan_but_not_as_a_trial": "",
-  "you_can_manage_your_reference_manager_integrations_from_your_account_settings_page": "",
+  "you_can_link_x_in_your_account_settings": "",
   "you_can_now_enable_sso": "",
   "you_can_now_log_in_sso": "",
   "you_can_now_search_and_add_references_from_your_rm_library_without_needing_to_import_files": "",
@@ -2303,6 +2303,7 @@
   "you_can_still_use_your_premium_features": "",
   "you_cant_add_or_change_password_due_to_sso": "",
   "you_cant_join_this_group_subscription": "",
+  "you_currently_have_x_linked_with_your_overleaf_account": "",
   "you_dont_have_any_add_ons_on_your_account": "",
   "you_dont_have_any_repositories": "",
   "you_have_0_free_suggestions_left": "",

+ 7 - 0
services/web/frontend/stylesheets/pages/editor/write-and-cite.scss

@@ -22,3 +22,10 @@
     vertical-align: middle;
   }
 }
+
+.linked-reference-managers-summary {
+  font-size: var(--font-size-03);
+  line-height: var(--line-height-03);
+  margin-top: var(--spacing-06);
+  margin-bottom: 0;
+}

+ 2 - 1
services/web/locales/en.json

@@ -2857,7 +2857,7 @@
   "you_can_also_choose_to_view_anonymously_or_leave_the_project": "You can also choose to <0>view anonymously</0> (you will lose edit access) or <1>leave the project</1>.",
   "you_can_also_right_click_a_file_to_set_it_as_main": "You can also right-click a file to set it as main.",
   "you_can_buy_this_plan_but_not_as_a_trial": "You can buy this plan but not as a trial, as you’ve completed a trial before.",
-  "you_can_manage_your_reference_manager_integrations_from_your_account_settings_page": "You can manage your reference manager integrations from your <0>account settings page</0>.",
+  "you_can_link_x_in_your_account_settings": "You can link __managers__ in your <0>account settings</0>.",
   "you_can_now_enable_sso": "You can now enable SSO on your group settings page.",
   "you_can_now_log_in_sso": "You can now log in through your institution and if eligible you will receive <0>__appName__ Professional features</0>.",
   "you_can_now_search_and_add_references_from_your_rm_library_without_needing_to_import_files": "You can now search and add references from your __referenceManager__ library without needing to import files—just type <code>\\cite{}</code> in your .tex file. <a>Learn more</a>",
@@ -2871,6 +2871,7 @@
   "you_cant_add_or_change_password_due_to_sso": "You can’t add or change your password because your group or organization uses <0>single sign-on (SSO)</0>.",
   "you_cant_join_this_group_subscription": "You can’t join this group subscription",
   "you_cant_reset_password_due_to_sso": "You can’t reset your password because your group or organization uses SSO. <0>Log in with SSO</0>.",
+  "you_currently_have_x_linked_with_your_overleaf_account": "You currently have <0>__managers__</0> linked with your __appName__ account.",
   "you_dont_have_any_add_ons_on_your_account": "You don’t have any add-ons on your account.",
   "you_dont_have_any_repositories": "You don’t have any repositories",
   "you_have_1_license_and_your_plan_supports_up_to_y": "You have allocated 1 license and your plan supports up to __groupSize__.",