Skip to content

release: chat stops following a reply when you scroll up; Pegasus 6.0.0.dev1 - #682

Merged
kthare10 merged 3 commits into
mainfrom
develop
Nov 13, 2026
Merged

kthare10 merged 3 commits into
mainfrom
develop

Conversation

@kthare10

Copy link
Copy Markdown
Contributor

Promotes the following, merged into develop after #677, to main.

Closes #678
Closes #681

Included:

  • fix(chat): stop following a streaming reply as soon as the reader scrolls up #679 (reviewed and merged into develop): while a chat reply is being written, scrolling up now stops the chat from following it. It used to pull the reader back down whenever they were within 160px of the bottom, which one wheel notch never escapes. Scrolling back near the bottom, sending a message or switching conversations resumes following, and a "Follow the reply" / "Jump to latest" button shows while it isn't. The rule is in lib/opencode/scroll-follow.ts with unit tests.
  • c42698c (pushed directly to develop, no PR): the image's Pegasus pin moves from 6.0.0.dev0 to 6.0.0.dev1 (Dockerfile). Pin the image to Pegasus 6.0.0.dev1 #681 records it.

CI on the develop head (5302af3) is green: pytest, tsc, vitest, image build.

Merging this publishes :main, which production pulls on the next pod restart.

Not yet checked by hand on :develop:

Not covered: hosted runs are planned on the AP, so the AP's own Pegasus version (salt, studio-system) is what plans them, not the image's.

rynge and others added 3 commits November 12, 2026 08:30
…olls up

The chat decided on every streamed update whether to follow the tail by
distance from the bottom: within 160px, jump to the bottom. One wheel notch
is about 100px, so the first move up still counted as "near the bottom" and
was undone on the next frame; the reader had to out-scroll the stream to
read anything above it.

Follow is now decided from the reader's scroll events
(lib/opencode/scroll-follow.ts, unit-tested): any move up leaves it, a
clamp from shrinking content does not, and scrolling back near the bottom
rejoins. Sending a message or switching conversations rejoins too, and a
sticky "Jump to latest" / "Follow the reply" button appears while not
following.

Refs #678
fix(chat): stop following a streaming reply as soon as the reader scrolls up
@kthare10
kthare10 merged commit 05ccac9 into main Nov 13, 2026
4 checks passed
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.

Pin the image to Pegasus 6.0.0.dev1 Chat yanks the reader back to the bottom while a reply streams

2 participants