SurfSense/surfsense_web/components
barry3406 d9841cb798 perf: remove react-dom/server from client bundle
Replace ReactDOMServer.renderToString with a client-side helper using
createRoot + flushSync to render small icon elements to HTML strings.

react-dom/server pulls the entire server rendering runtime into the
client JS bundle. Since this file is imported by the main chat
component (thread.tsx), the extra weight hits every chat page load.

react-dom and react-dom/client are already in the client bundle, so
the replacement adds zero new bundle weight.

Fixes #1189
2026-04-09 05:10:16 -07:00
..
announcements fix: remove unnecessary "use client" from pure presentational components 2026-03-26 11:50:39 +08:00
assistant-ui perf: remove react-dom/server from client bundle 2026-04-09 05:10:16 -07:00
auth chore: linting 2026-03-27 03:17:05 -07:00
chat-comments chore: ran linting 2026-04-07 05:55:39 +05:30
connectors feat: enhance OneDrive folder management by adding mimeType handling and integrating DriveFolderTree component for improved UI 2026-03-29 03:29:31 +05:30
contact chore: linting 2026-03-27 03:17:05 -07:00
desktop Formatting 2026-04-07 20:28:07 +02:00
documents feat: enhance folder indexing with metadata management and improve folder structure handling in UI components 2026-04-08 16:48:40 +05:30
editor chore: ran linting 2026-04-07 05:55:39 +05:30
editor-panel Merge remote-tracking branch 'upstream/dev' into feat/unified-etl-pipeline 2026-04-06 22:04:51 +05:30
hitl-edit-panel chore: linting 2026-03-31 14:45:46 -07:00
homepage chore: linting 2026-04-08 16:14:26 -07:00
icons/providers feat: complete MiniMax LLM provider integration 2026-03-13 07:27:47 +08:00
layout Merge commit 'fe6f830eab' into dev_mod 2026-04-08 16:21:36 -07:00
new-chat chore: linting 2026-04-08 16:14:26 -07:00
pricing fix: update pricing description to reflect 500 pages included in the free plan 2026-04-08 18:37:43 -07:00
prompt-kit refactor: improve write_todos tool and UI components 2025-12-26 17:49:56 +05:30
providers feat: integrate Stripe for page purchases and reconciliation tasks 2026-03-31 18:39:45 -07:00
public-chat chore: linting 2026-04-08 16:14:26 -07:00
public-chat-snapshots chore: linting 2026-04-08 16:14:26 -07:00
report-panel fix: resolve setTimeout memory leak on unmounted component 2026-04-04 01:28:45 +05:30
settings chore: linting 2026-04-08 16:14:26 -07:00
shared chore: ran linting 2026-04-08 05:20:03 +05:30
sources Merge commit 'fe6f830eab' into dev_mod 2026-04-08 16:21:36 -07:00
theme chore: linting 2026-03-27 03:17:05 -07:00
tool-ui chore: linting 2026-04-08 16:42:25 -07:00
ui fix: add cancelAnimationFrame cleanup in animated-tabs useEffect 2026-04-08 01:39:14 -07:00
document-viewer.tsx Biome: fixes for compontents directory 2025-07-27 10:41:15 -07:00
inference-params-editor.tsx feat: integrate document upload dialog in ComposerAction and update sidebar components for improved user interaction and styling consistency 2026-03-07 03:29:46 +05:30
json-metadata-viewer.tsx chore: linting 2026-02-09 16:49:11 -08:00
LanguageSwitcher.tsx feat: add support for additional languages in LanguageSwitcher and SidebarUserProfile components 2026-02-11 00:39:01 -08:00
Logo.tsx fix: add priority prop to Logo component for LCP optimization on auth pages 2026-04-03 18:32:13 +05:30
markdown-viewer.tsx refactor: remove unused drizzle-orm import from markdown-viewer 2026-04-08 06:36:50 +05:30
onboarding-tour.tsx perf: add passive option to scroll and touch event listeners 2026-04-04 22:03:06 -07:00
platform-gate.tsx feat: enhance keyboard shortcut management and improve app responsiveness 2026-04-07 00:43:40 -07:00
pricing.tsx Add index parameter to plans.map callback in Pricing component 2026-03-24 20:44:14 -07:00
search-space-form.tsx ui: adjust dashboard search spaces heading text and padding responsiveness 2026-01-03 01:09:33 +07:00
TokenHandler.tsx Formatting 2026-04-07 20:28:07 +02:00
UserDropdown.tsx fix: replace window.location with router.push for client-side navigation 2026-04-08 00:01:30 -07:00