mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## 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