diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index f80681c162..9d4407c796 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -1406,7 +1406,6 @@ "reactivating": "", "read_lines_from_path": "", "read_more": "", - "read_more_about_free_compile_timeouts_servers": "", "read_more_about_managed_users": "", "read_only_dropbox_sync_message": "", "read_only_token": "", @@ -2165,7 +2164,6 @@ "were_making_some_changes_to_project_sharing_this_means_you_will_be_visible": "", "were_performing_maintenance": "", "weve_redesigned_our_editor_to_make_it_easier_to_use_and_future_ready": "", - "weve_reduced_compile_timeout": "", "what_did_you_find_most_helpful": "", "what_do_you_need_help_with": "", "what_does_this_mean_for_you": "", diff --git a/services/web/frontend/js/features/ide-redesign/components/pdf-preview/pdf-error-state/compile-timeout-error-state.tsx b/services/web/frontend/js/features/ide-redesign/components/pdf-preview/pdf-error-state/compile-timeout-error-state.tsx index add431d39b..ee8a173221 100644 --- a/services/web/frontend/js/features/ide-redesign/components/pdf-preview/pdf-error-state/compile-timeout-error-state.tsx +++ b/services/web/frontend/js/features/ide-redesign/components/pdf-preview/pdf-error-state/compile-timeout-error-state.tsx @@ -7,10 +7,7 @@ import { useCallback, useMemo } from 'react' import ErrorState from './error-state' import StartFreeTrialButton from '@/shared/components/start-free-trial-button' import getMeta from '@/utils/meta' -import { - populateEditorRedesignSegmentation, - useEditorAnalytics, -} from '@/shared/hooks/use-editor-analytics' +import { populateEditorRedesignSegmentation } from '@/shared/hooks/use-editor-analytics' import { isNewUser, useIsNewEditorEnabled, @@ -20,7 +17,6 @@ import { getSplitTestVariant } from '@/utils/splitTestUtils' export const ShortCompileTimeoutErrorState = () => { const { t } = useTranslation() const { isProjectOwner } = useCompileContext() - const { sendEvent } = useEditorAnalytics() const newEditor = useIsNewEditorEnabled() const { compileTimeout } = getMeta('ol-compileSettings') @@ -37,14 +33,6 @@ export const ShortCompileTimeoutErrorState = () => { [isProjectOwner, compileTimeout, newEditor] ) - const sendInfoClickEvent = useCallback(() => { - sendEvent('paywall-info-click', { - ...segmentation, - 'paywall-type': 'compile-timeout', - content: 'blog', - }) - }, [segmentation, sendEvent]) - const extraSearchParams = useMemo(() => { if (!isNewUser()) { return undefined @@ -92,25 +80,6 @@ export const ShortCompileTimeoutErrorState = () => { iconType="running_with_errors" extraContent={
-

- - , - ]} - /> - -

} diff --git a/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx b/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx index 31d5d51621..dbe75be19c 100644 --- a/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx +++ b/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx @@ -7,10 +7,7 @@ import { useStopOnFirstError } from '../../../shared/hooks/use-stop-on-first-err import OLButton from '@/shared/components/ol/ol-button' import * as eventTracking from '../../../infrastructure/event-tracking' import getMeta from '@/utils/meta' -import { - populateEditorRedesignSegmentation, - useEditorAnalytics, -} from '@/shared/hooks/use-editor-analytics' +import { populateEditorRedesignSegmentation } from '@/shared/hooks/use-editor-analytics' import { isNewUser, useIsNewEditorEnabled, @@ -62,7 +59,6 @@ function TimeoutUpgradePromptNew() { )} @@ -151,51 +147,21 @@ const CompileTimeout = memo(function CompileTimeout({ type PreventTimeoutHelpMessageProps = { lastCompileOptions: any handleEnableStopOnFirstErrorClick: () => void - segmentation: eventTracking.Segmentation } const PreventTimeoutHelpMessage = memo(function PreventTimeoutHelpMessage({ lastCompileOptions, handleEnableStopOnFirstErrorClick, - segmentation, }: PreventTimeoutHelpMessageProps) { const { t } = useTranslation() - const { sendEvent } = useEditorAnalytics() const newLogsPosition = useIsNewErrorLogsPositionEnabled() - function sendInfoClickEvent() { - sendEvent('paywall-info-click', { - ...segmentation, - 'paywall-type': 'compile-timeout', - content: 'blog', - }) - } - - const compileTimeoutChangesBlogLink = ( - /* eslint-disable-next-line jsx-a11y/anchor-has-content, react/jsx-key */ - - ) - return ( -

- - - -

{t('common_causes_of_compile_timeouts_include')}:

  • diff --git a/services/web/locales/da.json b/services/web/locales/da.json index 8c4d10d48f..e1d3e51678 100644 --- a/services/web/locales/da.json +++ b/services/web/locales/da.json @@ -1425,7 +1425,6 @@ "reactivate_subscription": "Genaktivér dit abonnement", "read_lines_from_path": "Læste linjer fra __path__", "read_more": "Læs mere", - "read_more_about_free_compile_timeouts_servers": "Læs mere om ændringer i kompileringstidsgrænser og servere", "read_only_token": "Skrivebeskyttet nøgle", "read_write_token": "Læse- og skrivenøgle", "ready_to_join_x": "Du er klar til at slutte dig til __inviterName__", diff --git a/services/web/locales/en.json b/services/web/locales/en.json index ad0d77b055..4caab8faef 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1819,7 +1819,6 @@ "reactivating": "Reactivating", "read_lines_from_path": "Read lines from __path__", "read_more": "Read more", - "read_more_about_free_compile_timeouts_servers": "Read more about changes to free compile timeouts and servers", "read_more_about_managed_users": "Read more about managed users", "read_only_dropbox_sync_message": "As a read-only viewer you can sync the current project version to Dropbox, but changes made in Dropbox will <0>not sync back to Overleaf.", "read_only_token": "Read-Only Token", @@ -2709,7 +2708,6 @@ "were_making_some_changes_to_project_sharing_this_means_you_will_be_visible": "We’re making some <0>changes to project sharing. This means, as someone with edit access, your name and email address will be visible to the project owner and other editors.", "were_performing_maintenance": "We’re performing maintenance on Overleaf and you need to wait a moment. Sorry for any inconvenience. The editor will refresh automatically in __seconds__ seconds.", "weve_redesigned_our_editor_to_make_it_easier_to_use_and_future_ready": "We’ve redesigned our editor to make it easier to use and future ready. It’s now in beta, so try it out and give us your feedback.", - "weve_reduced_compile_timeout": "We’ve recently <0>reduced the compile timeout limit on our free plan, which may have affected your project.", "what_did_you_find_most_helpful": "What did you find most helpful?", "what_do_you_need": "What do you need?", "what_do_you_need_help_with": "What do you need help with?", diff --git a/services/web/locales/zh-CN.json b/services/web/locales/zh-CN.json index 73f0710398..a7c660d1bc 100644 --- a/services/web/locales/zh-CN.json +++ b/services/web/locales/zh-CN.json @@ -1687,7 +1687,6 @@ "reactivate_subscription": "重新激活您的订阅", "read_lines_from_path": "从 __path__ 读取行", "read_more": "阅读更多", - "read_more_about_free_compile_timeouts_servers": "阅读有关免费计划编译超时和服务器更改的更多信息", "read_only_dropbox_sync_message": "作为只读查看者,您可以将当前项目版本同步到 Dropbox,但在 Dropbox 中所做的更改<0>不会同步回 Overleaf。", "read_only_token": "只读令牌", "read_write_token": "可读写令牌",