Skip to content

Scroll-back history lost on virtualized chat lists — consider relay-side message cache #43

Open

Description

@len5ky

The extractor only sees currently-mounted DOM rows. With Cursor's virtualized chat list, messages scrolled out of view are unmounted and vanish from extracted state, so the web client and Telegram only ever show the visible window of long sessions. The v0.1.47 extraction fix (#36) keeps this limitation — it restores extraction of visible rows on 3.8+, nothing more.

A proper fix is probably a relay-side message cache keyed by stable data-message-id: merge newly visible rows into the cached session instead of replacing message state wholesale. Needs care around edits/regenerations invalidating cached entries, and around session switches.

Refs #31, #36.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions