mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-26 09:53:26 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| @types | ||
| __tests__ | ||
| a11y | ||
| common | ||
| components | ||
| constants | ||
| data-provider | ||
| hooks | ||
| lib | ||
| locales | ||
| polyfills | ||
| Providers | ||
| routes | ||
| store | ||
| utils | ||
| App.jsx | ||
| main.jsx | ||
| mobile.css | ||
| style.css | ||
| style.spec.ts | ||
| vite-env.d.ts | ||