mirror of
https://github.com/block/buzz.git
synced 2026-11-01 06:51:17 +00:00
## Summary - Simplify agent profiles with Message/Bestie actions, relay-authored published instructions (unavailable without a config channel), management details, public-key copying, and a separate final Delete section. - Sort the Agents directory by name and mark the selected Bestie with a muted filled star. - Place Model and Thinking together below Name. Use native iOS Liquid Glass menus and preserve selection callbacks as controls become enabled. Related: #8685. ## Validation Full mobile checks passed. Regression coverage includes relay-author filtering, unavailable instructions, metadata retry, resizing native pickers, accurate deletion state, selection after loading, and Bestie switching. Real iOS simulator taps verified both pickers; the user confirmed the earlier iPhone build works. Review fixes were checked with widget journeys and the native UIKit resize/selection probe. <details> <summary>Previews</summary> Synthetic fixture renders: | Profile | Create agent | Bestie card | | --- | --- | --- | |  |  |  | Native iOS simulator interaction with a synthetic catalog:  </details> --------- Signed-off-by: kenny lopez <klopez4212@gmail.com> Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz>
22 lines
1.1 KiB
Bash
Executable File
22 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
# Exercise the production UIKit settings menu on a booted iOS simulator.
|
|
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
|
|
# Compile the production menu and invoke its actual UIKit UIActions.
|
|
cat "$repo_root/mobile/ios/Runner/NativeTabler.swift" \
|
|
"$repo_root/mobile/ios/Runner/JumpToLatestGlassButton.swift" \
|
|
"$repo_root/mobile/ios/NativeControlTests/SettingMenuSelectionTests.swift" > "$fixture/test.swift"
|
|
xcrun --sdk iphonesimulator swiftc -parse-as-library \
|
|
-sdk "$(xcrun --sdk iphonesimulator --show-sdk-path)" \
|
|
-target "$(uname -m)-apple-ios16.0-simulator" \
|
|
-F "$frameworks" -framework Flutter \
|
|
-Xlinker -rpath -Xlinker "$frameworks" \
|
|
"$fixture/test.swift" \
|
|
-o "$fixture/setting-menu-tests"
|
|
xcrun simctl spawn "$device" "$fixture/setting-menu-tests"
|