aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread-cache.js
Commit message (Collapse)AuthorAgeFilesLines
* Paint cached thread counts and header hat on refreshAdam Soltys2026-09-241-2/+12
|
* Keep thread avatars and viewport stable on refreshAdam Soltys2026-09-241-1/+26
|
* Feed: threads cached locally, posts never inserted under the reader, rows ↵Adam Soltys2026-09-231-0/+59
keep their first look. Work by Codex, wrapped up and verified here. Threads: a viewed conversation is persisted (thread-cache.js, up to 12 threads / 160 events), so a refresh or a cached note link shows the root and ancestors at once instead of the selected reply and a spinner; relays are re-asked in the background and an empty answer keeps the cache. Feed window (feed-window.js): arrivals are merged without inserting between visible rows — a gap fill under the reader's eyes waits until that part of the feed is offscreen, prepends anchor the reading position, the notice counts what went in above, and only its tap goes to the top. Older pages are prepared a few screens ahead; a page's pictures and faces are decoded before it is shown. Rows keep the presentation they were admitted with (feedPaint): background profile and quote refreshes no longer rewrite text or swap faces mid-read; media dimensions are known before paint. Thumbnails queue instead of being dropped past the first three. Tests: thread-cache, feed-window, feed-stability; feed-live updated for the new arrival rules (the notice counts up while you read). Co-Authored-By: Claude Fable 5.1 <[email protected]>