Skip to content

Preserve transcript overlay state across updates - #40751

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/be4bf4d0676261cc52864da9acb567573e34a799
Aug 26, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/be4bf4d0676261cc52864da9acb567573e34a799

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 26, 2026 •

Copy link
Copy Markdown

Preserve transcript overlay state across updates

What changed

  • Detach and restore the live tail when rebuilding transcript renderables after history replacement, consolidation, removal, or highlighting.
  • Keep an overlay that is following the bottom pinned to the tail when the composer height changes.
  • Update cached content height after prepending history so subsequent scroll calculations use the rebuilt content.

Testing

  • Cover history rebuilds with absent, empty, and active live tails.
  • Cover bottom-following across terminal height changes and subsequent committed output.

## What changed

- Detach and restore the live tail when rebuilding transcript renderables after history replacement, consolidation, removal, or highlighting.
- Keep an overlay that is following the bottom pinned to the tail when the composer height changes.
- Update cached content height after prepending history so subsequent scroll calculations use the rebuilt content.

## Testing

- Cover history rebuilds with absent, empty, and active live tails.
- Cover bottom-following across terminal height changes and subsequent committed output.

GitOrigin-RevId: be4bf4d0676261cc52864da9acb567573e34a799
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/be4bf4d0676261cc52864da9acb567573e34a799 branch from 2d204e1 to 2764e83 Compare August 26, 2026 01:21
@copyberry
copyberry Bot merged commit 2764e83 into main Aug 26, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/be4bf4d0676261cc52864da9acb567573e34a799 branch August 26, 2026 01:23
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 26, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 2764e836 Deployed Aug 26, 2026 by robjarawan via Identify potential duplicates (all issues) #39962
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants