Skip to content

Keep journal content inside the outliner viewport - #319

Merged
tiensonqin merged 2 commits into
mainfrom
fix/outliner-content-bounds
Dec 3, 2026
Merged

tiensonqin merged 2 commits into
mainfrom
fix/outliner-content-bounds

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Keep inline image placeholders and thumbnails proportional to their available width.
  • Limit outliner content to its column and reserve the trailing disclosure control when blocks are deeply nested. This also contains wide video embeds, iframes, native text, and tags.
  • Cover wide images and embedded media in the iOS and Android regression checks.

Verification

  • iOS 27.2 on iPhone 18 Pro and iPhone 13 simulators. Verified nested images, 1,600 px iframe and video content, and expansion and collapse at the trailing edge.
  • Android 16 on a Pixel 6-sized emulator. Verified that a level-24 iframe or video stays in its column and the disclosure remains clickable. The new test fails on the previous Android layout and passes with this change.
  • The broader Android outliner and image run passed 14 of 16 tests. The bullet zoom event and merged task-date semantics failures also reproduced on the baseline APK. The iOS long-journal comparison found the same keyboard positioning issues on the older build.
  • Validation used local fixtures on simulators and an emulator. Physical devices and live sync were outside these checks.

Review follow-up

  • iOS drops use the rendered indentation for the child threshold and indicator. The simulator runtime check exercised a rightward drop over a capped row, and the narrow image retry check passed at an accessibility text size.
  • Android clipping is limited to the block body so the bullet can receive taps in the journal margin. The updated app and instrumentation APKs built successfully. The gutter-tap test could not run because the emulator host was out of disk space.

Before and after

The same journal fixture runs side by side on iPhone 18 Pro. The orange ring marks each tap. The first section shows the wide image and the trailing collapse control. The last section shows a wide video iframe in a deeply nested row.

outliner-before-after.mp4

Devin Review

devin-ai-integration[bot]

This comment was marked as resolved.

@tiensonqin
tiensonqin merged commit 2957579 into main Dec 3, 2026
10 checks passed
@tiensonqin
tiensonqin deleted the fix/outliner-content-bounds branch December 3, 2026 13:37
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