Skip to content

Release: screen layout cohesion - #52

Merged
ohmzi merged 2 commits into
masterfrom
develop
Nov 9, 2026
Merged

ohmzi merged 2 commits into
masterfrom
develop

Conversation

@ohmzi

@ohmzi ohmzi commented Nov 9, 2026

Copy link
Copy Markdown
Owner

What ships

  • Screen layout cohesion (Align screen content start and empty scenes by screen-height ratio #51): content under a hero title starts on one shared line (0.38 of the screen height) and every empty scene sits in one slot (0.36 of the screen height), on Android, iOS and the web. Root feeds are unchanged.
  • New :shared:verifyLayoutTokens drift gate in pr-gate.yml and release.yml.

No database migration, no API change, no new Guide topic (spacing only).

Verification

CI on #51 was green (9 checks). Locally: shared tests and the four codegen drift gates, Android compile plus 906 unit tests, web lint / 2094 tests / build. No device pass on any platform yet; iOS was only compiled by macOS CI.

Merging publishes the release; the live instance is updated separately with scripts/deploy-release.sh.

ohmzi and others added 2 commits November 9, 2026 12:33
Titled screens already shared a 96 disc and title, but the first row landed at
a different height on every screen and platform: Android left 24 under the
title, iOS 36, the web whatever each page added, and the empty scene was
centred in 0.42, 0.34 or 0.32 of the screen depending on the call site.

LayoutTokens (shared) holds one set of ratios: content starts at 0.38 of the
screen height, the gap under the title is held between 36 and 64, and every
empty scene sits in a 0.36 slot. Each client measures where its own title
ends and spends what reaches the line, so Android and iOS start on the same
y. iOS keeps its position on the 874pt phone it was drawn for.

Android reads the Kotlin object; iOS and web read generated copies gated by
verifyLayoutTokens in both CI workflows. Root feeds are unchanged.
Align screen content start and empty scenes by screen-height ratio
@ohmzi
ohmzi enabled auto-merge November 9, 2026 18:09
@ohmzi
ohmzi merged commit e01ce76 into master Nov 9, 2026
17 checks passed
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