Repository navigation
Even out the composer bars' spacing and lighten their glass - #194
Merged
Merged
Conversation
The reply field sat 20pt under the fade and only 8pt above the row of tools. The reply row drops its 8pt top padding and the field row gains 8pt underneath, so the field is 12pt under the fade and 16pt above the tools. The bar is the same height as before. On iOS the bar now asks mobile-air for its glass at 0.8 opacity (glass-opacity on native:bottom-bar, NativePHP/mobile-air#735), so a little more of the page shows through. Android draws no glass and is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 task
The lighter glass is now mobile-air's glass/N suffix rather than a separate attribute, and it's on Display::composerBarGlass(), so the Messages composer gets it too. Messages had the same uneven gaps as the reply bar, so the spacing moves into composer-box for both: no top padding on the row around the box, and 8pt between the field and the row of tools. Both bars keep their height. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It sat at the end of tests/Pest.php, where the build branch's partial frames helpers also land, so the two clashed on merge. It's a small class in tests/Support now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 task
simonhamp
marked this pull request as ready for review
November 23, 2026 17:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Needs NativePHP/mobile-air#735 for the glass change. Without it,
glass/80isn't a class mobile-air knows, so the bars would lose their glass on iOS. Bump mobile-air before merging this. Based on #192 (feat/post-as-avatars), because the reply bar's tools and Post as only exist on that stack (#177, #180, #182, #192), not on main yet.Two fixes to the composer bars, from build 38 on an iPhone. Both the reply bar on a commit and the Messages composer get them.
Spacing: the field sat 20pt under the fade (8pt row padding, 4pt field row, 8pt inside the field) and only 8pt above the row of tools. The row around the box drops its 8pt top padding and the field row gains 8pt underneath, so it's now 12pt above the field and 16pt between the field and the tools. Messages had exactly the same gaps, so the change lives in
composer-boxand both bars share it. Each bar keeps its total height, soComposerBoxBarHeight, the reply page's clearance and the Messages bar height inConversationdon't change.Fade: on iOS the glass behind the bar faded in to full strength and read as a heavy grey slab over a dark screen.
Display::composerBarGlass()now returnsglass/80(Display::ComposerGlassOpacity), mobile-air's new opacity suffix on the glass class, so a little more of the screen shows through on both bars. Android draws no glass and looks the same.To watch for: 80 is a guess at "a little more transparent". It's one constant if it needs nudging after a build.
Tests: new cases in
CommitDetailTestandRemotesComposerTestfor the paddings on both platforms and forglass_opacityon each bar's bottom bar. The iOS glass checks skip until the app's mobile-air readsglass/N(Tests\Support\GlassOpacity). The full suite passes (1950 tests) with the mobile-air PR's PHP applied to vendor.🤖 Generated with Claude Code