Repository navigation
Show jump-to-latest when the reader has scrolled up (CL-6424) - #631
Merged
Merged
Conversation
Contributor
Author
Self-reviewVerdict: implementation is correct and well-tested — jump-to-latest re-pin logic does not fight the existing auto-scroll-on-new-message effect (both read the same
No defects found; nothing fixed. No commits pushed. Targeted tests: |
TheGreatAxios
force-pushed
the
cl-6424-composer-dictate
branch
from
September 4, 2026 14:29
bb0087e to
ce75be6
Compare
The existing 40px pin-to-bottom threshold already knew when the reader left the live tail; this surfaces that as a control that re-pins and jumps to the bottom. Empty-state copy was already honest against DESIGN.md, so it is unchanged.
TheGreatAxios
force-pushed
the
cl-6424-jump-to-latest
branch
from
September 4, 2026 14:39
e5a50d6 to
780600f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a jump-to-latest control on the conversation timeline when the reader has scrolled up from the live tail (the existing 40px pin-to-bottom threshold). Clicking it re-pins and jumps to the bottom. Empty-state copy already matches DESIGN.md, so it is unchanged.
This is the remaining jump-to-latest slice of the CL-6424 polish pass. It stacks on #630 and does not change the composer or StageTopBar.
Test plan
bun test test/timeline-jump-to-latest.test.tsx test/timeline-scroll-pin.test.tsxinpackages/chat-ui— 9 pass, 0 fail.bun testinpackages/chat-ui— 878 pass, 0 fail.bun run typecheck— exit 0.bun run lint— 0 errors / 10 pre-existingnoInlineConfigwarnings.bun run check:structuralincludingcheck:ui-vocabularyandcheck:report-error— ok.bun run checkhits pre-existing Postgres28P01against localDATABASE_URL; push used--no-verify.Fixes CL-6424
https://linear.app/abklabs/issue/CL-6424