mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-20 06:51:59 +00:00
Opening a long conversation built a toolbar for every message as its rows mounted: the copy, edit, branch, feedback, read-aloud and rerun buttons that show on hover or under the latest message. That was close to half of what opening a 246-row thread cost the main thread, and most of it in a thread four times as long. A row a long thread adds after its first commit now leaves its toolbar out until the thread's row observer finds it within a screen of the viewport, then keeps it. The footer holds the toolbar's height throughout. The rows a thread opens on, the latest message, short threads and rows outside the main thread view are unchanged. The copy-last-response and edit-last-message shortcuts reach their row first, and screenshot export mounts every toolbar before it clones. Adds e2e/benchmarks-fade/open.perf.spec.ts, which traces a reload, a switch from the sidebar and a switch while a reply is in flight. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| sw | ||
| test | ||
| babel.config.cjs | ||
| check_updates.sh | ||
| index.html | ||
| jest.config.cjs | ||
| jest.resolver.cjs | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||