feat(ios): reachability R2–R4 — Tailscale toggle, off-Wi-Fi banner, one-tap Cloud#203
Merged
Conversation
…ne-tap Cloud Builds on R1 (#202): - R2 (Mac app): PairController detects the Tailscale address (100.64/10) and adds a "Same Wi-Fi / Anywhere (Tailscale)" segmented toggle to the Pair window that regenerates the QR + details for the chosen host — GUI parity with `lisa pair`. - R3 (iOS): AppState watches NWPathMonitor (`onCellular`); RootView shows a ReachabilityBanner when paired to a private-LAN host while on cellular ("You've left your Mac's Wi-Fi"). - R4 (iOS): AppState.switchToCloud() flips to the LISA Cloud data plane + lands on Settings; wired to a one-tap "Use LISA Cloud" in the banner and the roster cannot-reach error (ConnectionProblem.offersCloud). Verified: iOS build.sh test → 27 tests, 0 failures; Mac `swift build` clean. Plan/status: docs/PLAN_IOS_REACHABILITY_v1.0.md (R1–R4 all landed). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes the reachability plan (docs/PLAN_IOS_REACHABILITY_v1.0.md) on top of R1 (#202).
PairControllerdetects the Tailscale address (100.64/10) and adds a "Same Wi-Fi / Anywhere (Tailscale)" segmented toggle to the Pair window that regenerates the QR + details for the chosen host (GUI parity withlisa pair).AppStatewatchesNWPathMonitor(onCellular);RootViewshows aReachabilityBanner("You've left your Mac's Wi-Fi") when paired to a private-LAN host while on cellular.AppState.switchToCloud()flips to the LISA Cloud data plane + lands on Settings; wired to a one-tap "Use LISA Cloud" in the banner and the roster cannot-reach error.Verified
iOS
build.sh test→ 27 tests, 0 failures; Macswift buildclean.🤖 Generated with Claude Code