Merge pull request #16311 from overleaf/jdt-writefull-editor-notif-discount

Hide Writefull ad on small screens, and update content

GitOrigin-RevId: 0263849037ff0c652a683d8ac5f8befa797aaaa0
This commit is contained in:
Jimmy Domagala-Tang 2023-12-20 09:27:53 -05:00 committed by Copybot
parent 948d7638dc
commit 944753c9b5
3 changed files with 11 additions and 1 deletions

View file

@ -1352,6 +1352,7 @@
"try_recompile_project_or_troubleshoot": "",
"try_relinking_provider": "",
"try_to_compile_despite_errors": "",
"try_writefull_for_free": "",
"turn_off": "",
"turn_off_link_sharing": "",
"turn_on": "",

View file

@ -639,6 +639,7 @@ CodeMirror
// rule is added automatically (inline and not configurable), the only workaround is to use `!important`.
.editor-container {
overflow: visible !important;
container-type: inline-size;
}
.pdf-preview-messages {
@ -758,3 +759,10 @@ grammarly-extension[data-grammarly-shadow-root='true'] {
width: 80%;
max-width: 560px;
}
/* If the container is smaller than 400px */
@container (max-width: 400px) {
.writefull-notification {
display: none;
}
}

View file

@ -1969,6 +1969,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",
"turn_off": "Turn off",
"turn_off_link_sharing": "Turn off link sharing",
"turn_on": "Turn on",
@ -2122,7 +2123,7 @@
"would_you_like_to_see_a_university_subscription": "Would you like to see a university-wide __appName__ subscription at your university?",
"writefull": "Writefull",
"writefull_learn_more": "Learn more about Writefull for Overleaf",
"writefull_prompt_body": "Turn on the new Writefull integration to get AI-powered language feedback specifically tailored to research writing.",
"writefull_prompt_body": "Get free AI-powered language feedback with our Writefull integration. (You can also grab 10% off Writefull premium with the code OVERLEAF10.)",
"writefull_prompt_title": "AI writing assistance in Overleaf",
"writefull_settings_description": "Get free AI-based language feedback specifically tailored for research writing with Writefull for Overleaf. Plus, if you upgrade to Writefull Premium you can use TeXGPT to generate LaTeX code—use OVERLEAF10 at the checkout to get 10% off.",
"writefull_settings_instructions": "To use Writefull, log in from the Writefull toolbar in the Overleaf editor. And dont forget, if you upgrade to Writefull Premium you can use TeXGPT to generate LaTeX code—use OVERLEAF10 at the checkout to get 10% off.",