Let an AI model use a real iPhone with a $7 ESP32: AirPlay eyes, USB HID hands, any OpenAI-compatible vision model. No Mac, no developer account, no jailbreak.
Show home refresh progress as an unlabeled top spinner
Henry32267d6306e1
diff --git a/docs/home-status-refresh-2026-10-16.md b/docs/home-status-refresh-2026-10-16.mdindex c8fc388..fb110c0 100644--- a/docs/home-status-refresh-2026-10-16.md+++ b/docs/home-status-refresh-2026-10-16.md@@ -7,3 +7,5 @@ Pulling down the Agent list or releasing a tap/drag on its character refreshes rRefresh reads fresh board status and signal strength, reconnecting to the remembered board when needed. It preserves pairing, shows progress and actionable failures, and clears stale failure text when fresh status arrives. Model readiness remains the existing local validation state; this gesture does not run a model inference test.Validation: signed iOS device build succeeded; whitespace checks passed. Installation was attempted, but CoreDevice reported the user's iPhone unavailable. Physical gesture behavior and installation remain unverified for this change.++Follow-up: the phone reconnected and the refresh build was installed and launched successfully. The next UI revision starts from `c995e41`, with only untracked `ios/fastlane/` in the source checkout. It removes the visible refresh label and uses the native top spinner for pull-to-refresh and a top-aligned, unlabeled spinner for character-triggered refresh. The custom spinner is hidden during native refresh to avoid duplicate indicators; VoiceOver retains a descriptive accessibility label.diff --git a/ios/IPhoneAgent/UI/HomeView.swift b/ios/IPhoneAgent/UI/HomeView.swiftindex d4d4946..0635a6f 100644--- a/ios/IPhoneAgent/UI/HomeView.swift+++ b/ios/IPhoneAgent/UI/HomeView.swift@@ -17,6 +17,7 @@ struct HomeView: View {@State private var intentName = ""@FocusState private var editing: Bool@State private var renaming = false+ @State private var pullingToRefresh = falsevar body: some View {NavigationStack {@@ -34,7 +35,19 @@ struct HomeView: View {intentSection}.listStyle(.insetGrouped)- .refreshable { await app.refreshHomeStatus() }+ .refreshable {+ pullingToRefresh = true+ defer { pullingToRefresh = false }+ await app.refreshHomeStatus()+ }+ .overlay(alignment: .top) {+ if app.refreshingStatus && !pullingToRefresh {+ ProgressView()+ .accessibilityLabel(Text("Refreshing status…"))+ .padding(.top, Space.s)+ .allowsHitTesting(false)+ }+ }.scrollDismissesKeyboard(.interactively).navigationTitle(Text(verbatim: settings.agentName)).navigationBarTitleDisplayMode(.inline)@@ -111,9 +124,7 @@ struct HomeView: View {.multilineTextAlignment(.center).padding(.horizontal, Space.xl)StatusChips(app: app, board: board, pointer: app.pointer, calibrator: app.calibrator)- if app.refreshingStatus {- ProgressView("Refreshing status…").font(.footnote)- } else if let error = app.statusRefreshError {+ if !app.refreshingStatus, let error = app.statusRefreshError {Text(verbatim: error).font(.footnote).foregroundStyle(.secondary).multilineTextAlignment(.center).padding(.horizontal, Space.l)}