Repository navigation
Anchor transcript scrolling to entries and bound viewport rendering - #46721
Merged
copyberry[bot] merged 1 commit intoSep 19, 2026
Conversation
…46721) ## Why Transcript-wide row offsets depend on content that can change during pagination, streaming, and resizing. Computing an exact scroll percentage also requires laying out offscreen history. ## What changed - Replace the transcript overlay's generic pager with `TranscriptView`, tracking entry identity and a display-row offset through history updates and stream consolidation. Clamp offsets within the entry on resize or replacement. - Render through bounded layout caches and show `100%` only when following the latest output with no unloaded history. - Keep the reading position while `Home` loads older pages, then jump to the beginning when loading completes. - Refresh animations whenever live output is visible, including while scrolled up. - Reveal selected prompts when backtracking and highlight their text without reversing gutters or padding. ## Testing Add regression coverage for reading anchors across pagination and live-output completion, resize and consolidation, prompt visibility and highlighting, navigation before the first draw, and avoiding offscreen formatting for the percentage indicator. GitOrigin-RevId: 105cb66f93c742ee537152419060a87f55896b44
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/105cb66f93c742ee537152419060a87f55896b44
branch
from
September 19, 2026 21:43
2d7080f to
a63ae00
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/105cb66f93c742ee537152419060a87f55896b44
branch
September 19, 2026 21:43
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Anchor transcript scrolling to entries and bound viewport rendering
Why
Transcript-wide row offsets depend on content that can change during pagination, streaming, and resizing. Computing an exact scroll percentage also requires laying out offscreen history.
What changed
TranscriptView, tracking entry identity and a display-row offset through history updates and stream consolidation. Clamp offsets within the entry on resize or replacement.100%only when following the latest output with no unloaded history.Homeloads older pages, then jump to the beginning when loading completes.Testing
Add regression coverage for reading anchors across pagination and live-output completion, resize and consolidation, prompt visibility and highlighting, navigation before the first draw, and avoiding offscreen formatting for the percentage indicator.