mirror of
https://github.com/block/buzz.git
synced 2026-11-03 16:01:35 +00:00
fix(mobile): polish photo carousels and video viewer controls (#8079)
## Summary - Keep neighboring carousel photos visible, add page-change haptics, and reuse appearance-style dots with native iOS glass and grouped actions. - Refine full-screen video controls with fading transport, cycling speeds, pinch-to-zoom, and double-tap reset before swipe-to-dismiss. ### Related issue N/A. Checked recent open PRs; repository issue search was unavailable. ### Testing - Mobile analysis/format checks, file-size guards, and full Flutter suite passed (2,680 tests; 4 skipped). - Built, installed, and manually verified on the connected iPhone. - `just ci` was attempted but blocked fetching a Rust dependency because this Mac could not connect to GitHub. --------- Signed-off-by: kenny lopez <klopez4212@gmail.com> Signed-off-by: klopez4212 <klopez4212@gmail.com>
This commit is contained in:
20
scripts/test-mobile-pagination-accessibility.sh
Normal file
20
scripts/test-mobile-pagination-accessibility.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
# Test the actual UIKit paginator and Flutter bridge on a booted iOS simulator.
|
||||
# Usage: /bin/bash scripts/test-mobile-pagination-accessibility.sh <simulator-udid>
|
||||
set -euo pipefail
|
||||
repo_root=$(cd "$(dirname "$0")/.." && pwd)
|
||||
device=${1:?Pass a booted iOS simulator UDID}
|
||||
flutter_root=$(sed -n 's/^FLUTTER_ROOT=//p' "$repo_root/mobile/ios/Flutter/Generated.xcconfig")
|
||||
frameworks="$flutter_root/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator"
|
||||
fixture=$(mktemp -d)
|
||||
trap 'rm -r "$fixture"' EXIT
|
||||
xcrun --sdk iphonesimulator swiftc \
|
||||
-sdk "$(xcrun --sdk iphonesimulator --show-sdk-path)" \
|
||||
-target "$(uname -m)-apple-ios15.0-simulator" \
|
||||
-F "$frameworks" -framework Flutter \
|
||||
-Xlinker -rpath -Xlinker "$frameworks" \
|
||||
"$repo_root/mobile/ios/Runner/ThemePaginationGeometry.swift" \
|
||||
"$repo_root/mobile/ios/Runner/ThemePaginationGlassControl.swift" \
|
||||
"$repo_root/mobile/ios/NativeControlTests/ThemePaginationAccessibilityTests.swift" \
|
||||
-o "$fixture/pagination-accessibility-tests"
|
||||
xcrun simctl spawn "$device" "$fixture/pagination-accessibility-tests"
|
||||
11
scripts/test-mobile-pagination.sh
Normal file
11
scripts/test-mobile-pagination.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# Compile the UIKit control's production geometry without Flutter or a simulator.
|
||||
set -euo pipefail
|
||||
repo_root=$(cd "$(dirname "$0")/.." && pwd)
|
||||
fixture=$(mktemp -d)
|
||||
trap 'rm -r "$fixture"' EXIT
|
||||
xcrun swiftc \
|
||||
"$repo_root/mobile/ios/Runner/ThemePaginationGeometry.swift" \
|
||||
"$repo_root/mobile/ios/NativeControlTests/ThemePaginationGeometryTests.swift" \
|
||||
-o "$fixture/pagination-tests"
|
||||
"$fixture/pagination-tests"
|
||||
Reference in New Issue
Block a user