Repository navigation
Normalize Cloud tree machine icon spacing - #13081
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 (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 4 remain after this review. 📝 WalkthroughWalkthroughThe change extracts the local machine row, standardizes machine and pending row icon spacing and scaling, registers the new source file, and adds compact layout tests for spacing and alignment. ChangesCloud tree layout
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix · Severity of issue fixed: Low 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
✨ 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 |
|
e3f22bd ci: run slow and history-dependent guards beside workflow-guard-tests (manaflow-ai#13097) 974c2c4 Normalize Cloud tree machine icon spacing (manaflow-ai#13081) 10d13a6 test: align cloud rename parity with optimistic tree (manaflow-ai#13092) be7692c ci: start the agent notification lane only for the suites it runs (manaflow-ai#13067) 2bda736 ci: run web validation for the merge queue (manaflow-ai#13069) 39f1328 ci: cancel superseded pull request runs in three macOS workflows (manaflow-ai#13064) 80ee5dc ci: skip blocked internal TestFlight polls (manaflow-ai#13062) cbb3477 ci: stop routing workflow plumbing changes to macOS (manaflow-ai#13083) 22d913e Quiet cloud terminal creation tabs (manaflow-ai#12979)
Summary
The Cloud tree cloud glyph used an unscaled 9-point symbol in a fixed 10-point status-dot slot. Folder and terminal rows used the style’s larger, magnification-aware icon column. The reported screenshot has an 8-pixel cloud-to-name gap versus 12 pixels for the other pairs.
Cloud and local machine headers now use
CloudTreeRowIconand the same style gap as leaf rows. Pending headers reserve that shared column too. Two-line local/pending geometry scales with the glyph and text. Native disclosure geometry, hierarchy indentation, pin decoration, and the Sections preset’s whole-band inset retain their owners. The local row moves to its own file to stay within the Swift file budget.Closes #13072. Independent of #13074; no naming, directory, or detail-toggle changes.
Testing
./scripts/reload.sh --tag 13072-cloud-icon-spacing --launchsucceeded on production commit71d45e1b47c9b12fafccd106210e3520750226e9; tagged socket responds and auth reports signed in. Zero warnings in changed Swift files. The subsequent9718b62ddccommit changes only tests; the running app is intentionally preserved.Visual evidence and limitations
Before/after PNGs and measurements are attached to the hosted test results. At 220 points and 200% magnification, deeply nested leaf titles are clipped in both implementations; that case records the clipping and verifies full accessible identities, with no claim of a measurable icon-to-label gap.
Trade-off: the shared icon column leaves slightly less horizontal room for machine names. Glyphs follow the chosen style’s size and tint/chip treatment; Compact remains monochrome.
A cloud-Mac interaction video remains blocked by missing controller scheduling support in that provisioner. No retired fleet allocation was used. The local build uses the supplied existing dev-backend URL; the original dogfood app/backend/machine were not restarted or changed.
The original compile-admission checkout DNS failure recovered on retry. Current-head CI and structured review are in progress. Build tag:
13072-cloud-icon-spacing. Do not merge; dogfood approval remains with the user.Summary by CodeRabbit
New Features
Improvements
Tests