LibreChat/client/src
Marco Beretta fc407bc1e4
🧭 perf: Load Search, Share, Trace and Composer Popovers on Demand (#18123)
* perf: Load Search, Share, Trace and Composer Popovers on Demand

The search, share, response-review and marketplace routes, the trace
viewer and the composer's popovers (mention, prompts, skills, ask, tool
dialogs, code approval and workspace menus) were statically imported by
the chat, so every visit downloaded them, and the search and share routes
pulled most of the message renderer into boot. Routes load through route
loaders, the trace viewer behind a loading state, and the composer
pieces under null Suspense boundaries, since they render nothing until
triggered.

* test: Cover Surfaces That Load on Demand

* test: Wait for the Composer Popovers Instead of Network Idle

* fix: Let a Loading Trace Be Closed

While the trace viewer's chunk downloaded, its fallback covered an inert
chat with no way out: the close button and Escape live in the viewer.
The fallback now keeps the viewer's header with a focused close button
and dismisses on Escape.

* test: Close a Trace Whose Download Stalls

* fix: Return Focus to the Trace Opener Across the Loading State

The loading fallback took focus before the viewer mounted, so the viewer
recorded the fallback as its opener and closing left focus on the page.
The surface now records the opener when the trace opens, passes it to
the viewer and returns focus there when either closes.

* test: Assert Focus Returns to the Trace Button

* fix: Hold the Viewer Theme Back While a Shared Link's Code Loads
2026-11-13 22:48:48 +01:00
..
@types
__tests__ 📶 fix: Show Progress on Slow Connections and Name Offline Failures (#18107) 2026-11-13 17:22:22 +01:00
a11y
common 🛝 perf: Render Chats Independently of Catalog Discovery (#17692) 2026-11-09 11:11:22 -05:00
components 🧭 perf: Load Search, Share, Trace and Composer Popovers on Demand (#18123) 2026-11-13 22:48:48 +01:00
constants
data-provider ✅ fix: Submit Tool Approvals When the Generation Epoch Is Unknown (#17928) 2026-11-13 00:46:39 +01:00
hooks 📶 fix: Show Progress on Slow Connections and Name Offline Failures (#18107) 2026-11-13 17:22:22 +01:00
lib 🛖 fix: Isolate Sandpack Console Globals From HTML Artifacts (#18093) 2026-11-12 11:42:03 -05:00
locales 📶 fix: Show Progress on Slow Connections and Name Offline Failures (#18107) 2026-11-13 17:22:22 +01:00
polyfills
Providers 🎨 fix: Polish ClickHouse Theme Controls, Menus and Panels (#18042) 2026-11-11 09:03:40 +01:00
routes 🧭 perf: Load Search, Share, Trace and Composer Popovers on Demand (#18123) 2026-11-13 22:48:48 +01:00
store 🧵 refactor: Read the Pane Conversation Through ChatSettings in Stream Resume (#17420) 2026-10-25 15:09:45 +01:00
utils 🪶 perf: Load Math, Highlighting, Side Panels and RE2 Only When Needed (#18108) 2026-11-13 17:21:50 +01:00
App.jsx 📼 refactor: Move the Subagent Transcript Into @librechat/chat Behind a Subagents Host (#17678) 2026-10-31 22:11:03 +01:00
main.jsx 🪶 perf: Load Math, Highlighting, Side Panels and RE2 Only When Needed (#18108) 2026-11-13 17:21:50 +01:00
mobile.css 🪄 refactor: Compose Chat Package Styles From Shared Primitive Variants (#17760) 2026-11-04 21:56:57 +01:00
style.css 🧩 refactor: Ship Icon Sizes, Status Type and the Label Sweep From @librechat/client (#17800) 2026-11-07 18:51:02 +01:00
style.spec.ts 🎨 refactor: Theme the Retry Action Radius and the Select Arrow (#17360) 2026-10-23 18:46:59 +02:00
vite-env.d.ts