Repository navigation
fix(mobile): clear the Duo top edge in the Activity header - #9807
Conversation
On iPhone Duo the Activity pane reports no top safe area beside the strip, so its custom header put Close and the title 8 points below the window edge on the cover display and in the wide layout. Reserve the same 24-point clearance the other Duo pane headers use, and share that value with FrostedAppBar. Regular iPhones and Android keep 8 points. Co-authored-by: RemoteHorse <68deea58679ad75e9bf031fa370502f884c022db55043f5f3a19f5d8bb0edfe2> Signed-off-by: Stephen Barnes <799470+smbarne@users.noreply.github.com>
ab785b4 to
4400d02
Compare
🔐 Codex Security Review
Review SummaryOverall Risk: NONE
FindingsNo concrete security, correctness, or reliability findings were identified. Notes
Generated by Codex Security Review | |
…mployee-name-sync-20261112-92c07862 * origin/main: (65 commits) fix(mobile): diagnostic reporting follow-ups (#9808) feat(relay): list and revoke invite links (#9680) fix(push-gateway): answer 429, not 404, when the delivery quota is exhausted (#9803) feat(cli): leave archived identities out of users get --name (#9752) fix(mobile): skip the emoji picker when its opener is gone (#9820) fix(push-gateway): retry, don't drop, a delivery replayed while its first attempt is in flight (#9802) fix(mobile): clear the Duo top edge in the Activity header (#9807) feat(test-client): add buzz-acceptance relay probe (#9767) feat(relay): add pinned messages (nip-pm) (#9729) Align Duo chat headers, inset Home selections, and fix received photo-stack swipes (#9795) fix(mobile): only dot channel-sent replies in the reader's threads (#9696) docs: point community invite at buzz.communities (#9797) Mobile: refine section filters and ordering in Messages (#9796) feat(push-gateway): mint FCM tokens through AWS workload identity federation (#9692) feat(mobile): report explicit diagnostic errors (#9673) fix(mobile): keep the agent poster over a failed iOS player (#9693) perf(push-gateway): evict the oldest signed-call window without scanning (#9799) Refine iOS composer and transcribe recordings into drafts (#9574) fix(mobile): recognize agents without NIP-OA in Huddles (#8545) test(relay): cover member-cache invalidation routes and refill orders (#9748) ... Signed-off-by: Matt Dickenson <mdickenson@squareup.com> # Conflicts: # crates/buzz-relay/src/router.rs
|
🤖 Bot review: addressed Mobile review team: no blocking findings open on the reviewed head. Details in Buzz: Kept by Team Queue. Change it from the sheet or with the |
Summary
On iPhone Duo, the Activity page's custom header put Close and the "Activity" title 8 points below the window's top edge. The Duo panes report no top safe area beside the strip, so the 8-point row padding was the only clearance. This happened on the cover display and in the inner display's wide layout.
Other Duo pane headers already reserve 24 points above their 44-point controls (
FrostedAppBarand the native bar inIosNavigationBar.swift). Activity now does the same:activity_page.dart: on iOS with a Duo strip, the header row's top padding isduoHeaderTopClearance(24). Otherwise it staysGrid.xxs(8). The bottom padding stays 8.duo_toolbar.dart: addsduoHeaderTopClearance = 24.frosted_app_bar.dart: uses the constant in place of its literal+ 24. No value change.Pareto: better on the Duo cover and in the wide layout. No change on regular iPhones (no strip), Android, or the Duo inner display in portrait (no side strip; it already has an 82-point top inset). No new rebuild dependencies:
stripwas already read throughDuoToolbarScope.maybeStripOf.Related issue
None found.
Testing
Activity header clears the top edge on …checks the header row's top edge on the Duo cover (466×678, right strip), the Duo wide layout (951×669), an iPhone (62-point top inset), and Android. It fails onmainfor both Duo cases (8, expected 24) and passes with this change.dart format --set-exit-if-changed .andflutter analyze: clean.flutter test(mobile): passes on macOS.Before / after
Captured on iOS 27.2 simulators. Before is
mainat9c0bcd6239, after is this branch at4400d021b. In each pair, before is on the left and after is on the right.Duo cover display: open Activity from the bell, hold, then Close.
duo-cover-before-after.mp4
🤖 Generated with Claude Code