Skip to content

feat(chat): load earlier thread history on scroll - #12

Merged
Type-Delta merged 1 commit into
devfrom
feat/auto-load-thread-history
Nov 24, 2026
Merged

Type-Delta merged 1 commit into
devfrom
feat/auto-load-thread-history

Conversation

@Type-Delta

Copy link
Copy Markdown
Owner

Long threads previously required a click for each older page. The timeline now prefetches when the reader scrolls near the top, keeps the visible rows and open tool groups anchored, and shows a delayed loading label or a retry action.

Verification

  • 372 changed-file tests passed. Coverage includes multiple pages, mixed-height rows, expanded tool groups, empty history windows, and guest reconnects.
  • Chromium, Electron, and Android reached the oldest turn against an isolated server.
  • vp check, vp run typecheck, and vp run lint:mobile passed.
  • The export scan in vp run check:changed origin/dev reported the same 59 unused exports and 5 duplicate exports on both a clean origin/dev checkout and this patch. Every other step passed.

Built with GPT-6.2 Sol in Codex. The pagination patch received an independent Sol review.

Before scrolling stopped at the Load earlier turns button

After scrolling to the oldest turn on web

Oldest turn reached by swiping on Android

Long threads required a click for each older page. Prefetch near the
start of the loaded history, preserve the viewport and open tool groups,
and show loading feedback for slow requests.

Built with GPT-6.2 Sol in Codex.
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L labels Nov 24, 2026
@Type-Delta
Type-Delta merged commit d43eab7 into dev Nov 24, 2026
12 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant