Skip to content

Prepare journal windows before status-bar scroll-to-top - #76

Merged
tiensonqin merged 1 commit into
mainfrom
fix/journal-status-bar-scroll
Oct 23, 2026
Merged

tiensonqin merged 1 commit into
mainfrom
fix/journal-status-bar-scroll

Conversation

@tiensonqin

Copy link
Copy Markdown
Contributor

Tapping the iPhone status bar after scrolling through many journals animates through unloaded virtual-list windows, causing blank content and repeated row hydration. Update LUI to prepare the first window before a direct long-distance return; nearby returns retain the standard iOS animation, and starting a new drag cancels a pending return.

Depends on logseq/lui#261. The dependency change contains only Apple Swift code and tests; there are no OCaml core logic changes.

Validation:

  • iOS Release simulator build passed using the published LUI revision.
  • Added and ran the standalone native journal-scroll-to-top regression fixture: 2,000 rows, destination visible after return, no movement before preparation, nearby animation preserved, delegate forwarding/veto/restoration, and drag cancellation.
  • Reproduced with an actual status-bar tap on the same offline Lambda RTC graph: 31 journals / 664 rows. In one controlled simulator comparison, the largest frame gap fell from 309 ms to 133 ms, and intermediate row-hydration RPCs during the return disappeared. This is a single simulator sample, not a physical-device latency claim.

No XCTest runner was used.

@tiensonqin
tiensonqin merged commit a1bcc6a into main Oct 23, 2026
4 of 5 checks passed
@tiensonqin
tiensonqin deleted the fix/journal-status-bar-scroll branch November 3, 2026 08:25
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