SurfSense/surfsense_web/components/public-chat
SohamBhattacharjee2003 ac554974f6 perf: lazy load video presentation in public chat
Convert GenerateVideoPresentationToolUI from static import to dynamic import
with ssr: false in public-thread.tsx. This prevents Remotion and @babel/standalone
from being bundled in the public chat page.

The main app's assistant-message.tsx already correctly lazy-loads this component,
but the public thread was still using a static import, unnecessarily increasing
the bundle size for public shared chats.

Benefits:
- Removes Remotion and @babel/standalone from public chat bundle
- Reduces initial bundle size for public shared chats
- Video presentations still render correctly when present
- Faster page load for users viewing public chats

Fixes #1145
2026-04-08 06:32:05 +05:30
..
public-chat-footer.tsx perf: replace useSearchParams() with window.location.search in effects 2026-04-02 02:45:46 +05:30
public-chat-not-found.tsx feat: add graceful public chat not found page 2026-02-02 20:08:38 +02:00
public-chat-view.tsx refactor: migrate thinking steps handling to new data structure and streamline related components 2026-03-24 02:23:05 +05:30
public-thread.tsx perf: lazy load video presentation in public chat 2026-04-08 06:32:05 +05:30