Merge pull request #17353 from overleaf/jdt-wf-oauth-tutorial

Writefull Oauth banner

GitOrigin-RevId: cdd8d27b70c9c0f5be326f6861a7c997ca81616e
This commit is contained in:
Jakob Ackermann 2024-03-06 11:20:37 +00:00 committed by Copybot
parent 43007539a0
commit 5415aafaf8
6 changed files with 21 additions and 6 deletions

View file

@ -608,7 +608,7 @@ const ProjectController = {
SplitTestHandler.getAssignment(
req,
res,
'writefull-integration',
'writefull-oauth-promotion',
cb
)
}

View file

@ -6,6 +6,7 @@ const VALID_KEYS = [
'react-history-buttons-tutorial',
'table-generator-promotion',
'writefull-integration',
'writefull-oauth-promotion',
]
async function completeTutorial(req, res, next) {

View file

@ -1394,7 +1394,7 @@
"try_recompile_project_or_troubleshoot": "",
"try_relinking_provider": "",
"try_to_compile_despite_errors": "",
"try_writefull_for_free": "",
"try_writefull": "",
"turn_off": "",
"turn_off_link_sharing": "",
"turn_on": "",
@ -1509,12 +1509,14 @@
"work_offline": "",
"work_with_non_overleaf_users": "",
"writefull": "",
"writefull_alternate_login_prompt": "",
"writefull_disable_prompt_body": "",
"writefull_learn_more": "",
"writefull_loading_error_body": "",
"writefull_loading_error_title": "",
"writefull_prompt_body": "",
"writefull_prompt_terms": "",
"writefull_prompt_terms_title": "",
"writefull_prompt_title": "",
"writefull_settings_description": "",
"x_changes_in": "",

View file

@ -97,6 +97,8 @@
}
.notification-disclaimer {
color: @neutral-60;
font-size: @font-size-small;
padding-bottom: 16px;
}

View file

@ -13,3 +13,11 @@
max-width: 520px;
text-align: left;
}
.writefull-disclosure-summary {
display: flex;
align-items: center;
cursor: pointer;
color: @blue-50;
user-select: none;
}

View file

@ -1991,7 +1991,7 @@
"try_recompile_project_or_troubleshoot": "Please try recompiling the project from scratch, and if that doesnt help, follow our <0>troubleshooting guide</0>.",
"try_relinking_provider": "It looks like you need to re-link your __provider__ account.",
"try_to_compile_despite_errors": "Try to compile despite errors",
"try_writefull_for_free": "Try Writefull for free",
"try_writefull": "Try Writefull",
"turn_off": "Turn off",
"turn_off_link_sharing": "Turn off link sharing",
"turn_on": "Turn on",
@ -2138,13 +2138,15 @@
"work_with_non_overleaf_users": "Work with non Overleaf users",
"would_you_like_to_see_a_university_subscription": "Would you like to see a university-wide __appName__ subscription at your university?",
"writefull": "Writefull",
"writefull_alternate_login_prompt": "If you have a Writefull account, <0>log in</0> to get started. If you dont have a Writefull account, well create one for you. By enabling Writefull, you accept Writefulls <1>terms of service</1> and <2>privacy policy.</2>",
"writefull_disable_prompt_body": "Writefull is enabled. You can switch it on or off in the account settings anytime.",
"writefull_learn_more": "Learn more about Writefull for Overleaf",
"writefull_loading_error_body": "Try refreshing the page. If this doesnt work, try disabling any active browser extensions to check they arent blocking Writefull from loading.",
"writefull_loading_error_title": "Writefull didnt load correctly",
"writefull_prompt_body": "Turn on the new Writefull integration to get free AI-powered language feedback specifically tailored to research writing.",
"writefull_prompt_terms": "[COPY NOT FINAL] By trying Writefull you agree to their <0>terms of service</0> and <1>privacy policy</1>. If you already have a Writefull account, you can <2>log in</2> to it. If not, well create one for you as <3>__email__</3>.",
"writefull_prompt_title": "AI writing assistance in Overleaf",
"writefull_prompt_body": "Get Writefulls research-tailored, AI-powered language feedback and LaTeX help directly in Overleaf.",
"writefull_prompt_terms": "When you click <0>Try Writefull</0>, your email address and Overleaf user ID will be shared with Writefull. This will either link your Overleaf and Writefull accounts (if you have both with the same email address) or itll create a new Writefull account for you.<1></1> When enabled, Writefull has access to the content of any project you open, so you can get AI language feedback and suggestions. Read more about <2>Writefull for Overleaf.</2>",
"writefull_prompt_terms_title": "What data is shared with Writefull?",
"writefull_prompt_title": "Accelerate your writing process with AI",
"writefull_settings_description": "Get free AI-based language feedback specifically tailored for research writing with Writefull for Overleaf.",
"x_changes_in": "__count__ change in",
"x_changes_in_plural": "__count__ changes in",