Skip to content

Keep iOS journal height stable across navigation and editing - #154

Merged
tiensonqin merged 2 commits into
mainfrom
devin/1794042380-stable-journal-height
Nov 7, 2026
Merged

tiensonqin merged 2 commits into
mainfrom
devin/1794042380-stable-journal-height

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Measure LGNavigationContent's minimum scroll viewport outside keyboard and editor safe-area avoidance, and pass it through luiMinimumScrollViewport. Today's journal keeps the same minimum height when native navigation shrinks for editing; actual content and toolbar keyboard avoidance remain unchanged.

Pin SwiftPM to the merged mainline commit cf618462 from logseq/lui#333, which retains first-section height across lazy recycling without changing logical row indices. This dependency PR is already merged. The mainline commit has an identical source tree to the validated branch revision, and the iOS simulator build passes with the resolved mainline pin.

Validated the pinned iOS simulator build, dune build @shared/native/runtest, existing short/empty journal and status-bar return checks, and a temporary full-renderer probe: fresh mounts in both editing modes, navigation back, scroll return and a visible 328-point software keyboard all retain a 657-point section height.

Non-editing journal
Editing journal

Link to Devin session: https://app.devin.ai/sessions/0bb77b567f87469f87be1e5081b16379
Open in Devin Desktop: https://app.devin.ai/desktop/session/0bb77b567f87469f87be1e5081b16379?variant=devin
Requested by: @tiensonqin


🟢 Devin Review found nothing to fix · View findings

Devin Review

@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@tiensonqin
tiensonqin merged commit a3690e6 into main Nov 7, 2026
3 checks passed
@tiensonqin
tiensonqin deleted the devin/1794042380-stable-journal-height branch November 7, 2026 09:57
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