mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
Convert MobileEditorPanel, MobileHitlEditPanel, and MobileReportPanel from static imports to dynamic imports with ssr: false. These panels pull in heavy dependencies (PlateEditor, MarkdownViewer) that are only needed when users interact with them on mobile. Benefits: - Reduces initial bundle size for chat page - Mobile panels load only when opened by user - Faster initial page load and Time to Interactive - Heavy editor dependencies are code-split into separate chunks Fixes #1146 |
||
|---|---|---|
| .. | ||
| [search_space_id] | ||
| layout.tsx | ||
| loading.tsx | ||
| page.tsx | ||