Skip to content

Hold a fresh conversation back until its open bodies arrive - #301

Open
riki137 wants to merge 1 commit into
c9dev:mainfrom
riki137:no-loading-jump
Open

riki137 wants to merge 1 commit into
c9dev:mainfrom
riki137:no-loading-jump

Conversation

@riki137

@riki137 riki137 commented Dec 4, 2026

Copy link
Copy Markdown

Opening a conversation whose messages weren't downloaded yet showed a "Loading…" line in every open message, and then the whole page jumped once the bodies came in. Now the page stays hidden for up to 600 ms while an open message is loading and shows as soon as the bodies are in. On a slow server you still get the loading state after that.

It's CSS only, so a body that goes back to loading later (like one the engine opens) never hides the page mid-read.

A thread opened before its bodies were stored drew a Loading… line in
each open message, then jumped as the fetched bodies replaced them a
moment later. The page now stays hidden for its first 600 ms while an
open message is loading, and shows as soon as the patch brings the
bodies in. A slow server still gets the loading state after that.

It is CSS alone: a one-shot animation on body hides the page, and its
children come back once no expanded article holds a .loading body. The
animation never restarts on a patch, so a body that goes back to
loading mid-read, such as one the engine opened, cannot hide the page.

This branch has not been deployed

No deployments
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