(null)
+
return (
<>
@@ -36,6 +42,7 @@ export const LabsActions = () => {
>
)
diff --git a/services/web/frontend/js/features/ide-redesign/components/tooltip-promo.tsx b/services/web/frontend/js/features/ide-redesign/components/tooltip-promo.tsx
index 4359f42dd3..f5d21376b1 100644
--- a/services/web/frontend/js/features/ide-redesign/components/tooltip-promo.tsx
+++ b/services/web/frontend/js/features/ide-redesign/components/tooltip-promo.tsx
@@ -1,6 +1,7 @@
import Close from '@/shared/components/close'
import { useEditorContext } from '@/shared/context/editor-context'
import useTutorial from '@/shared/hooks/promotions/use-tutorial'
+import { isSplitTestEnabled } from '@/utils/splitTestUtils'
import classNames from 'classnames'
import { useCallback, useEffect } from 'react'
import { Overlay, OverlayProps, Popover } from 'react-bootstrap'
@@ -13,6 +14,7 @@ export default function TooltipPromotion({
content,
header,
placement = 'bottom',
+ splitTestName,
}: {
target: HTMLElement | null
tutorialKey: string
@@ -21,6 +23,7 @@ export default function TooltipPromotion({
content: string
header?: string
placement?: OverlayProps['placement']
+ splitTestName?: string
}) {
const { inactiveTutorials } = useEditorContext()
const { showPopup, tryShowingPopup, hideUntilReload, dismissTutorial } =
@@ -32,11 +35,15 @@ export default function TooltipPromotion({
}
}, [tryShowingPopup, inactiveTutorials, tutorialKey])
+ const isInSplitTestIfNeeded = splitTestName
+ ? isSplitTestEnabled(splitTestName)
+ : true
+
const onHide = useCallback(() => {
hideUntilReload()
}, [hideUntilReload])
- if (!target) {
+ if (!target || !isInSplitTestIfNeeded) {
return null
}
diff --git a/services/web/locales/en.json b/services/web/locales/en.json
index 85833c3e18..12eea7d0da 100644
--- a/services/web/locales/en.json
+++ b/services/web/locales/en.json
@@ -698,7 +698,6 @@
"error": "Error",
"error_assist": "Error Assist",
"error_log": "Error log",
- "error_logs_have_had_an_update": "Error logs have had an update",
"error_opening_document": "Error opening document",
"error_opening_document_detail": "Sorry, something went wrong opening this document. Please try again.",
"error_performing_request": "An error has occurred while performing your request.",
@@ -1003,6 +1002,7 @@
"hotkey_toggle_track_changes": "Toggle track changes",
"hotkey_undo": "Undo",
"hotkeys": "Hotkeys",
+ "how_are_you_finding_the_updates_to_the_new_editor": "How are you finding the updates to the new editor?",
"how_it_works": "How it works",
"how_many_licenses_do_you_want_to_buy": "How many licenses do you want to buy?",
"how_many_users_do_you_need": "How many users do you need?",
@@ -2238,6 +2238,7 @@
"take_short_survey": "Take a short survey",
"take_survey": "Take survey",
"tell_the_project_owner_and_ask_them_to_upgrade": "<0>Tell the project owner0> and ask them to upgrade their Overleaf plan if you need more compile time.",
+ "tell_us_what_you_think": "Tell us what you think",
"template": "Template",
"template_approved_by_publisher": "This template has been approved by the publisher",
"template_description": "Template Description",