diff --git a/services/web/config/settings.defaults.js b/services/web/config/settings.defaults.js
index 1db43b9dfe..57e3e2553f 100644
--- a/services/web/config/settings.defaults.js
+++ b/services/web/config/settings.defaults.js
@@ -956,7 +956,6 @@ module.exports = {
sourceEditorComponents: [],
pdfLogEntryComponents: [],
pdfLogEntriesComponents: [],
- pdfPreviewPromotions: [],
diagnosticActions: [],
sourceEditorCompletionSources: [],
sourceEditorSymbolPalette: [],
diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json
index 17637f8580..9c9ba60192 100644
--- a/services/web/frontend/extracted-translations.json
+++ b/services/web/frontend/extracted-translations.json
@@ -540,7 +540,6 @@
"file_tree": "",
"files_cannot_include_invalid_characters": "",
"files_selected": "",
- "fill_in_our_quick_survey": "",
"filter_projects": "",
"find_out_more": "",
"find_out_more_about_institution_login": "",
@@ -1973,7 +1972,6 @@
"weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_this_project": "",
"weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_your_project": "",
"what_do_you_need_help_with": "",
- "what_do_you_think_of_the_ai_error_assistant": "",
"what_does_this_mean": "",
"what_does_this_mean_for_you": "",
"what_happens_when_sso_is_enabled": "",
diff --git a/services/web/frontend/js/features/pdf-preview/components/pdf-preview-pane.tsx b/services/web/frontend/js/features/pdf-preview/components/pdf-preview-pane.tsx
index 5a6b542367..a1d23c5e6f 100644
--- a/services/web/frontend/js/features/pdf-preview/components/pdf-preview-pane.tsx
+++ b/services/web/frontend/js/features/pdf-preview/components/pdf-preview-pane.tsx
@@ -1,4 +1,4 @@
-import { ElementType, memo, Suspense } from 'react'
+import { memo, Suspense } from 'react'
import classNames from 'classnames'
import PdfLogsViewer from './pdf-logs-viewer'
import PdfViewer from './pdf-viewer'
@@ -8,16 +8,10 @@ import { useDetachCompileContext as useCompileContext } from '../../../shared/co
import { PdfPreviewMessages } from './pdf-preview-messages'
import CompileTimeWarningUpgradePrompt from './compile-time-warning-upgrade-prompt'
import { PdfPreviewProvider } from './pdf-preview-provider'
-import importOverleafModules from '../../../../macros/import-overleaf-module.macro'
import { useFeatureFlag } from '@/shared/context/split-test-context'
import PdfPreviewHybridToolbarNew from '@/features/ide-redesign/components/pdf-preview/pdf-preview-hybrid-toolbar'
import PdfErrorState from '@/features/ide-redesign/components/pdf-preview/pdf-error-state'
-const pdfPreviewPromotions = importOverleafModules('pdfPreviewPromotions') as {
- import: { default: ElementType }
- path: string
-}[]
-
function PdfPreviewPane() {
const { pdfUrl, hasShortCompileTimeout } = useCompileContext()
const classes = classNames('pdf', 'full-size', {
@@ -34,11 +28,6 @@ function PdfPreviewPane() {
)}
- {pdfPreviewPromotions.map(
- ({ import: { default: Component }, path }) => (
-
- )
- )}
{hasShortCompileTimeout && }
}>
diff --git a/services/web/locales/en.json b/services/web/locales/en.json
index a633ef31dd..d8259e1cad 100644
--- a/services/web/locales/en.json
+++ b/services/web/locales/en.json
@@ -713,7 +713,6 @@
"file_tree": "File tree",
"files_cannot_include_invalid_characters": "File name is empty or contains invalid characters",
"files_selected": "files selected.",
- "fill_in_our_quick_survey": "Fill in our quick survey.",
"filter_projects": "Filter projects",
"filters": "Filters",
"find_out_more": "Find out More",
@@ -2516,7 +2515,6 @@
"weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_your_project": "We’ve recently <0>reduced the compile timeout limit0> on our free plan, which may have affected your project.",
"what_do_you_need": "What do you need?",
"what_do_you_need_help_with": "What do you need help with?",
- "what_do_you_think_of_the_ai_error_assistant": "What do you think of the AI error assistant?",
"what_does_this_mean": "What does this mean?",
"what_does_this_mean_for_you": "This means:",
"what_happens_when_sso_is_enabled": "What happens when SSO is enabled?",