Repository navigation
Switch to the new timeline - #88
Merged
Merged
Conversation
|
🚀 Deployed on https://pr88--element-aurora.netlify.app |
for updated tanstack patch
When older messages from the same day load, the SDK removes the date divider above the oldest message and inserts a new one above them. With the spinner rejected as the scroll anchor, the view anchored to that divider, whose key no longer existed after the prepend, so the scroll position wasn't compensated: the timeline stayed at the top and kept paginating. Matches element-web's suppressLeadingSeparator.
paginateBackwards published from inside the async function, which runs up to its first await before `this.paginating` is assigned, so the spinner was left out. It only appeared if an SDK diff happened to arrive mid-pagination, so with a warm event cache it never showed.
Clears the SDK's caches (including every room's event cache) and reloads, keeping the session, so pagination can be tested against the server again without logging out and in.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This one is fully claude-ed but is a nice demo that it can be done without to big of a lift