opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: virtualized scrolling + paginated message loading for long sessions (#8535)

Open CasualDeveloper opened this issue 2 weeks ago • 5 comments

Following up on feedback from #6138 - @rekram1-node mentioned virtualized scrolling would be the better long-term solution.

Problem

Loading thousands of messages at once is slow and memory-heavy.

Proposed approach

  1. Paginated fetch - load messages in chunks as user scrolls up
  2. Virtualized rendering - only render visible messages, placeholder the rest

Questions for maintainers

  • Is this something you'd want contributed, or is it already on the roadmap?
  • Any pointers on how virtualization fits with opentui/SolidJS?

Happy to take a stab at this with guidance.

CasualDeveloper avatar Dec 31 '25 21:12 CasualDeveloper