Skip to content

Conversation

@leeroybrun
Copy link
Collaborator

Implements pagination in the chat message list, allowing users to load older messages as they scroll. Updates the ChatList component to handle loading state and triggers loading via scroll events. Adds pagination state and logic to the sync layer, including tracking the oldest loaded message and whether more messages are available.

Implements pagination in the chat message list, allowing users to load older messages as they scroll. Updates the ChatList component to handle loading state and triggers loading via scroll events. Adds pagination state and logic to the sync layer, including tracking the oldest loaded message and whether more messages are available.
@leeroybrun leeroybrun changed the title Add pagination for loading older chat messages feat: add pagination for loading older chat messages Dec 30, 2025
@bra1nDump
Copy link
Contributor

This looks like a good idea - pagination for older messages is definitely needed for long sessions.

A bit hesitant to merge though - worried about hidden implications with the sync layer and message ordering. Would need to test this thoroughly.

Will revisit when I have more time to dig into it.

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.

2 participants