Remember the iOS computer picker selection across launches - #13772
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (10)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe workspace Mac selection now uses a raw-value representation and ChangesMac selection persistence
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The iOS computer picker now remembers the last selected computer, or All Computers, across launches. A saved computer that is temporarily unavailable displays as All Computers without losing the saved choice. Missing or invalid preferences safely default to All Computers. No merge-blocking issues were found. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 7 functions across 10 files. (1 skipped: 1 too large.)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
All contributors have signed the CLA ✍️ ✅ |
|
Merged current main into this branch (no conflicts) so the next soki/sokx tagged rebuild inherits the three terminal-latency fixes that landed today (#13432, #13734, #13761). Context: the currently installed sokx/soki phone builds predate them and are producing 4-10s input_to_output anomalies in Axiom, which was confusing latency dogfood on other builds. Please rebuild your tags from this refreshed head at the next round. |
This comment has been minimized.
This comment has been minimized.
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
e9154a9 Merge pull request manaflow-ai#13367 from manaflow-ai/13366-cloud-notification-layout 66dd9ea Remember the iOS computer picker selection across launches (manaflow-ai#13772) f64ccb6 test: cover Cloud notification layout at minimum font magnification 156cce4 Merge remote-tracking branch 'origin/main' into 13366-cloud-notification-layout 70dfb47 ci: parallelize iOS test product downloads (manaflow-ai#13884) 368c1fb Merge remote-tracking branch 'origin/main' into 13366-cloud-notification-layout 0ce01ea Merge remote-tracking branch 'origin/main' into 13366-cloud-notification-layout ac3f20c Merge remote-tracking branch 'origin/main' into 13366-cloud-notification-layout efe16fa test: measure rendered Cloud row geometry without style heuristics 5985511 test: scope title raster workaround to ledger rows 8b71061 test: measure Cloud machine title columns robustly ab0d82a fix: remove empty Cloud notification gutter 403a815 Merge remote-tracking branch 'origin/main' into 13366-cloud-notification-layout d454a9c fix: import Cloud font scaling support 84303f0 fix: avoid empty Cloud attention space until unread f5c168d Merge branch 'main' of https://github.com/manaflow-ai/cmux into 13366-cloud-notification-layout 696afe4 test: account for clipped narrow Cloud rows 20d4e69 test: align compact Cloud spacing with attention slots 15b4b5d ci: keep Cloud layout suites in the strict macOS gate a49053c Merge origin/main into 13366-cloud-notification-layout 05ba773 fix: keep Cloud attention indicators in the leading slot a4acf3f fix: separate Cloud unread indicators from row icons 649f602 test: catch overlapping Cloud unread indicators # Conflicts: # .github/workflows/test-ios.yml
Summary
The iOS computer picker reset to All Computers on every launch. Persist the selection through AppStorage so a chosen computer, including its exact app-instance identity, or All Computers survives relaunching. Both picker entrypoints and Show All use the same saved binding.
The selection type and persisted format live in CmuxMobileShellModel; the SwiftUI binding remains in CmuxMobileShellUI. This addresses the review bot's package-boundary finding. A temporarily missing computer displays All Computers without overwriting the saved choice, allowing discovery to restore it. Missing or invalid preferences default to All Computers.
Validation
Verified source:
9ca754715282c5422b334c3c8461aeeef9776100.git diff --checkpasses.The UI test mounts the production WorkspaceShellView with two fixed, disconnected computer snapshots, selects through the real picker, and never seeds the selection preference. Authentication and live Mac connectivity are outside this focused check; physical iPhone verification is incomplete. No user-facing strings or layout changed.
The manual workflow's optional conventions check reports the same four pre-existing failures on main, in unchanged
TaskComposerAttachmentStager.swift,MobileNetworkOutcomeReporter.swift, andPushTabNavigationPreviewView.swift. The feature's focused test jobs above pass.