summaryrefslogtreecommitdiffhomepage
path: root/src/features/chat/ui/LazyCollapse.svelte
AgeCommit message (Collapse)Author
11 daysfeat(ui): Artix-style inset wells (chat thinking/tool blocks + sidebar ↵Adam Malczewski
views) and darkstrap navbar header in theme colours
11 daysfeat(tool-call-cards): pair calls and results in summarized collapsible bubblesAdam Malczewski
2026-10-10perf(chat): fast open of long in-flight turnsAdam Malczewski
- Batch live chat events: fold a burst in one pass per animation frame (rAF + timeout fallback for hidden tabs) instead of one reactive cycle per WS frame. Flushed before send/resync to keep ordering. - De-dup the late-join replay against committed history: provisional chunks of the in-flight turn already persisted (CR-6 per-step persistence) are hidden by aligned-prefix matching (fail-safe: mismatch shows, never hides). - Memoize chunks/turnMetrics getters by state identity. - LazyCollapse: tool/thinking card bodies mount only on first open. - content-visibility:auto on transcript rows. - scripts/probe-replay.ts + bench-pure.ts for measuring the replay path.