Skip to content

[FEATURE]: Paginated message loading for long sessions #6548

@CasualDeveloper

Description

@CasualDeveloper

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Long sessions can contain thousands of messages, and loading the entire history up front is slow and memory-heavy.

Add paginated message loading so the app and TUI can keep a bounded message window, load older/newer history on demand, and still support jumps to oldest/latest history.

The pagination contract should also be available through the server/API/SDK, and revert/restore flows should remain correct even when the relevant boundary messages are outside the currently loaded window.

Virtualized rendering could still be a separate future optimization, but this issue is focused on paged message loading and bounded client history.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions