Remove AI Error Assistant feedback prompt (#23796)

GitOrigin-RevId: 36ee1ca0befc0f2e4bf817a6946213f814947079
This commit is contained in:
Alf Eaton
2025-02-25 09:19:24 +00:00
committed by Copybot
parent 4e353956db
commit 9dee601ba3
4 changed files with 1 additions and 17 deletions
-1
View File
@@ -956,7 +956,6 @@ module.exports = {
sourceEditorComponents: [],
pdfLogEntryComponents: [],
pdfLogEntriesComponents: [],
pdfPreviewPromotions: [],
diagnosticActions: [],
sourceEditorCompletionSources: [],
sourceEditorSymbolPalette: [],
@@ -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": "",
@@ -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() {
<PdfHybridPreviewToolbar />
)}
<PdfPreviewMessages>
{pdfPreviewPromotions.map(
({ import: { default: Component }, path }) => (
<Component key={path} />
)
)}
{hasShortCompileTimeout && <CompileTimeWarningUpgradePrompt />}
</PdfPreviewMessages>
<Suspense fallback={<FullSizeLoadingSpinner delay={500} />}>
-2
View File
@@ -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": "Weve recently <0>reduced the compile timeout limit</0> 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?",