Merge pull request #35393 from overleaf/ds-adding-paused-banner

[WEB] Add "Editing Paused" banner when we lock the editor due to network stall

GitOrigin-RevId: 6e8d984f03afb6a29ed900cd342a8a8a655e20d0
This commit is contained in:
Mathias Jakobsen
2026-09-17 11:28:27 +00:00
committed by Copybot
parent 6f06df61a6
commit e562fc97f1
8 changed files with 59 additions and 1 deletions
@@ -5,6 +5,7 @@ import PdfPreview from '@/features/pdf-preview/components/pdf-preview'
import { RailLayout } from '../rail/rail'
import { Toolbar } from '../toolbar/toolbar'
import { HorizontalToggler } from '@/features/ide-react/components/resize/horizontal-toggler'
import { EditingPausedBanner } from '../toolbar/editing-paused-banner'
import { useTranslation } from 'react-i18next'
import { usePdfPane } from '@/features/ide-react/hooks/use-pdf-pane'
import { useLayoutContext } from '@/shared/context/layout-context'
@@ -46,6 +47,7 @@ export default function MainLayout() {
return (
<div className="ide-redesign-main">
<Toolbar />
<EditingPausedBanner />
<div className="ide-redesign-body">
<PanelGroup
autoSaveId="ide-redesign-outer-layout"