Repository navigation
Add Copy Debug Information to iOS Settings - #13007
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
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 (6)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe iOS mobile settings diagnostics section now creates and copies a structured debug report. The report includes account, device, app, analytics, host, and connection details. The analytics client ID is propagated through the SwiftUI environment. ChangesMobile debug information
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant MobileSettingsDiagnosticsSection
participant MobileDebugInformation
participant UIPasteboard
MobileSettingsDiagnosticsSection->>MobileDebugInformation: Assemble diagnostic fields
MobileDebugInformation-->>MobileSettingsDiagnosticsSection: Render report text
MobileSettingsDiagnosticsSection->>UIPasteboard: Copy report to general pasteboard
Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (5 errors, 1 warning)
✅ Passed checks (19 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 37.50% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 8 functions across 5 files. (1 skipped: 1 unsupported.) Full details: Cmux Swift Blocking RuntimeExplanation The PR adds Resolution Replace the production Full details: Cmux Swift ConcurrencyExplanation The diff adds a discarded Resolution Store the copy-feedback task in view state, cancel any previous task before starting a new one, and cancel and clear it in the diagnostics view’s Full details: Cmux User-Facing Error PrivacyExplanation The new production Settings action copies a user-facing support report to Resolution Remove Full details: Cmux Full InternationalizationExplanation The new Settings button text is localized correctly: it uses Resolution Route every report label and the unavailable-value text through the localized API. Add matching translated keys to Full details: Cmux Swiftui State LayoutExplanation The diff introduces a store reference below the settings form boundary. Resolution Do not pass
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
|
Fleet instruction update for head |
4c67b4d feat(ios): add copy debug information action (manaflow-ai#13007)
Summary
Testing
swift testfromPackages/iOS/CmuxMobileSupportpython3 scripts/localization_catalog.py checkpython3 scripts/check-package-resolved-policy.pyPackages/iOS/CmuxMobileShellUIpackage build was attempted but is blocked in this checkout becauseGhosttyKit.xcframeworkis absent.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Adds a one-tap Copy Debug Information action to iOS Settings > Diagnostics that copies a support snapshot to the clipboard.
MobileDebugInformationformatter inCmuxMobileSupportand localized labels.Written for commit cb5818b. Summary will update on new commits.
Summary by CodeRabbit
New Features
Bug Fixes