Skip to content

feat(plugins): Add BetterBackreading. - #4701

Open
EtorixDev wants to merge 12 commits into
Vendicated:devfrom
EtorixDev:betterbackreading-vencord-20261014
Open

EtorixDev wants to merge 12 commits into
Vendicated:devfrom
EtorixDev:betterbackreading-vencord-20261014

Conversation

@EtorixDev

@EtorixDev EtorixDev commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Adds a plugin to improve backreading a channel.

Currently if you scroll any faster than a snail's pace you're often hit with rubberbanding as Discord pushes your scroll position back down as it renders messages and fetches more.

4 main fixes for that:

  1. Prevent the forced scroll adjustment.
  2. Start rendering messages sooner/farther "off screen" outside the viewport.
  3. Start fetching the next batch of messages sooner/farther "off screen" outside the viewport.
  4. Optionally fetch more messages at a time, up to the endpoint limit, so there are less opportunities for loading zones.

Used Codex (6.1 Sol/6 Astra) via T3 Code to investigate the rubberbanding issue, to implement patches and then review logged scroll height and request timings while I scrolled a channel's history, and then to implement the plugin. Manually tested and reviewed each patch/setting individually. PR written and opened manually. Code comments kept intentionally, and reviewed. I like my patches explained in layman's terms.

Checklist before submitting

  • I have read the contribution rules and made sure this pull request complies with it
  • This pull request was written by me, and not an AI agent.
  • I understand that if any of the above conditions are not met, this pull request will be closed and I will be banned from future contributions without further warning

@EtorixDev
EtorixDev marked this pull request as draft October 15, 2026 07:03
@EtorixDev
EtorixDev marked this pull request as ready for review October 15, 2026 11:05
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.

1 participant