fix(mobile): align channel indicators and Duo section menus (#9703)

Align the mobile channel-list indicators to one trailing column. The
unread dot stays at the right, with the temporary clock and mute
indicator to its left when present. Duo's native menus for built-in and
custom sections now place their ellipsis in the same 20-point slot while
preserving the full 44-point tap target and native menu behavior.

Validation: full mobile suite (5,098 passed, 71 skipped), 27 crypto
tests, clean Flutter analysis, native UIKit menu geometry/hit-target
checks, and a successful iOS release build. Installed on iPhone Air and
Duo using existing saved state; inspected the Duo's native section-menu
placement. Regression coverage checks row alignment, clock ordering,
native bridge geometry, and the full menu hit area.

---------

Signed-off-by: kenny lopez <klopez4212@gmail.com>
Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz>
This commit is contained in:
klopez4212
2026-11-19 16:38:55 +00:00
committed by GitHub
parent 7d116da335
commit 68d367cf23
6 changed files with 150 additions and 19 deletions

View File

@@ -38,6 +38,22 @@ struct SettingMenuSelectionTests {
precondition(merging.leftSurface.alpha == 1 && merging.rightSurface.alpha == 1)
UIView.setAnimationsEnabled(true)
let aligned = NavigationGlassButtonPlatformView(
frame: CGRect(x: 0, y: 0, width: 44, height: 44),
viewIdentifier: 22,
arguments: ["plain": true, "icon": "more", "iconSize": 14,
"buttonCenterX": 34, "controlWidth": 20, "controlSize": 44,
"hitTargetWidth": 44, "hitTargetHeight": 44],
messenger: SettingMenuMessenger()
)
let alignedButton = aligned.view().subviews.compactMap { $0 as? NavigationGlassButton }.first!
aligned.view().layoutIfNeeded()
precondition(alignedButton.center.x == 34)
for x in [CGFloat(1), 22, 43] {
let point = alignedButton.convert(CGPoint(x: x, y: 22), from: aligned.view())
precondition(alignedButton.point(inside: point, with: nil))
}
for deferred in [false, true] {
let messenger = SettingMenuMessenger()
let view = NavigationGlassButtonPlatformView(