aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/sync.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-16 18:17:21 -0700
committerAdam Soltys <[email protected]>2026-10-16 18:17:21 -0700
commitca3b61ec61e2c2f0141eefd373fade86e9925c85 (patch)
treeb3ab7450e7f4a9b3fbb25cf92921e785aef012ad /src/features/sync.js
parent46181214dd880934f620424376d8aa29ba8794eb (diff)
downloadcoinosv3-ca3b61ec61e2c2f0141eefd373fade86e9925c85.tar.gz
coinosv3-ca3b61ec61e2c2f0141eefd373fade86e9925c85.zip
A thread never spins: the post reads at once, its replies come in whole — faces and pictures fetched ahead.
Adam, 2026-10-16: "I still see spinner when there's no replies. I'd rather have replies pop in if they have to than wait just to see there are none. … for ones we've preloaded they appear fast but they still take a moment to render and shift the page when they do, can we not pre-render them as well so they're just instantly there on screen?" (1) No spinner at all now: the post is on screen the moment it is tapped, replies land as they arrive, and "no replies" is said only once the relays have spoken. (2) What shifted was each row's face, pictures, previews and quote cards landing after the row: a thread's rows in hand — seeded from the count fetch, fetched ahead on a moment's reading, adopted when the count answers — are now warmed the way the feed warms a row before painting it (warmThread → noteReady: the face thumb, the pictures' sizes, the link cards, the quoted notes), so the tap paints the thread in its final shape; a reply arriving from a relay waits up to 1.5 s for its face before it goes in, so it pops in whole rather than shifting as it fills. tools/thread-instant-test.js: the post fetched ahead opens with its reply and, at its first paint, the replier's face already a thumb; a post with nothing in hand reads at once with no spinner and no "no replies", its first reply popping in at ~480 ms with the slow one still to come, never a spinner; the rest as before. thread-cache, thread-pager, thread-back-scroll, feed-conversations, moderation, reply-count, feed-live and notif-report-fold pass. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01J1Kon8bxJoHRpJdSzshCkp
Diffstat (limited to 'src/features/sync.js')
0 files changed, 0 insertions, 0 deletions