Skip to content

refactor(app): migrate session timeline to TanStack Virtual#29373

Draft
Hona wants to merge 1 commit into
anomalyco:devfrom
Hona:feat/desktop-tanstack-virtual-chat-20260526
Draft

refactor(app): migrate session timeline to TanStack Virtual#29373
Hona wants to merge 1 commit into
anomalyco:devfrom
Hona:feat/desktop-tanstack-virtual-chat-20260526

Conversation

@Hona
Copy link
Copy Markdown
Member

@Hona Hona commented May 26, 2026

Summary

  • replace the patched virtua session timeline with TanStack Virtual chat-mode anchoring
  • delegate prepend stability, append follow, end detection, and latest scrolling to TanStack APIs
  • remove virtua-era scroll/cache compensation and the virtua patch/dependency
  • keep Solid-rendered virtual rows keyed and measured safely across history prepends and row replacement

Validation

  • bun typecheck in packages/app
  • bun run build in packages/app
  • bun typecheck in packages/desktop
  • bun run build in packages/desktop
  • git diff --check
  • repository pre-push hook: bun turbo typecheck
  • desktop smoke check in feat: Desktop - New Session: open at latest, scroll to history top without crash/overlap, and return via Latest

Notes

  • adds @tanstack/solid-virtual and removes the patched virtua integration
  • TanStack packages are excluded from minimumReleaseAge because the required chat/end-anchor APIs are in the newly resolved release

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