Skip to content

Agent: auto-load older chat history on scroll - #1689

Open
AnthonyRonning wants to merge 1 commit into
masterfrom
codex-history-infinite-scroll-maple
Open

AnthonyRonning wants to merge 1 commit into
masterfrom
codex-history-infinite-scroll-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Replace the visible Load older messages button with automatic pagination shortly before the transcript reaches its top, including short, unscrollable transcripts.
  • Keep local and remote transcripts on the shared paging path and preserve the reader's anchor when older rows are prepended.
  • Avoid list resets during scrollbar drags. An older-page reply that arrives mid-drag is discarded and requested again after release, preventing viewport jumps and repeated eviction of newer history.

Tests

  • Added regression coverage for successful prepend anchoring, scrollbar-drag deferral and retry, in-flight replies during a drag, and unscrollable transcripts.
  • cd apps/maple-agent && just ci
  • Repository pre-commit checks: ci-lint and ci-test passed for Maple Work.
  • git diff --check
  • CI plan selects agent-lint, agent-test, agent-macos, and agent-windows.
  • Follow-up static reviews by Claude and Codex found no blockers.

Not run: a live paired-host remote smoke test.


Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

This branch has not been deployed

No deployments
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.

1 participant