Skip to content

Prefetch earlier chat history before the boundary - #479

Merged
cfal merged 1 commit into
chat-scroll-stabilityfrom
chat-earlier-prefetch
Aug 6, 2026
Merged

cfal merged 1 commit into
chat-scroll-stabilityfrom
chat-earlier-prefetch

Conversation

@cfal

@cfal cfal commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Long transcripts should keep earlier history buffered while the user is reading or scrolling toward the top instead of waiting for the page boundary to enter the viewport. This expands earlier-page prefetch to two viewports, recognizes scrollbar-originated upward intent, and advances paging by the exact earlier-history revision so each cursor is requested once while preserving explicit clamped-edge loading; no migration is required because this is a client-side paging policy change.

@cfal
cfal force-pushed the chat-earlier-prefetch branch from c80756e to 3e6a401 Compare August 5, 2026 17:20
@cfal
cfal force-pushed the chat-earlier-prefetch branch from 3e6a401 to 22e95b4 Compare August 6, 2026 04:44
@cfal
cfal merged commit 658d8ba into main Aug 6, 2026
11 of 23 checks passed
@cfal
cfal deleted the chat-earlier-prefetch branch August 6, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant