Repository navigation
Default status-bar usage to Compact and explain the change once - #26726
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (24)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe status bar usage mode default and fallback change from Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to The status bar now defaults to Compact usage and shows a one-time dismissible notice to affected existing profiles. No merge-blocking risk was found. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)✅ Passed checks (4 passed)Full details: Docstring CoverageExplanation Docstring coverage is 38.89% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 18 functions across 21 files. (6 skipped: 6 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
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 |
ELI5
New users start with a shorter usage status bar. Existing users whose unsaved preference changes to Compact get one small card explaining how to find Detailed. Saved choices stay unchanged.
What Changed
Changed the canonical status-bar usage default from Detailed (
verbose) to Compact. Existing initialization, hydration, persistence, and web normalization inherit that default.The loader decides notice eligibility from the saved profile before filling defaults. New profiles and either explicit usage mode are excluded. A persisted flag keeps the decision and dismissal across restarts. The card appears above Usage after a short delay, without taking focus. Got it, close, Escape, or choosing either mode dismisses it permanently.
Why
Detailed shows multiple limits and pools, making the status bar long. Reusing the canonical default avoids competing fallbacks. The new card reuses the existing percentage notice’s portal, positioning, timing, and dismissal behavior. It supersedes that older rollout notice for affected users so two cards do not stack. The Detailed/Compact selector and automatic width-based density remain intact.
Linked Issue
No linked issue; maintainer-requested change.
Visual Proof
Full-window CDP screenshots from hidden macOS Electron instances launched with
ORCA_BACKGROUND_LAUNCH=1. No test window was revealed or activated.Previous default comparison: Detailed selected through the existing selector in this build (not an old-build screenshot); that choice survived reload.

Fresh profile: Compact is selected, with no rollout card.

Existing profile with no saved mode: the card anchors above Usage.

After Got it and renderer reload: the card stays dismissed.

Testing
I manually tested these changes locally
Automated tests added/updated
Focused shared default/audience, main persistence, renderer hydration, and status-bar suites: 67 files, 649 tests passed, including selector, density, Antigravity, and countdown coverage.
ORCA_BACKGROUND_LAUNCH=1 pnpm tc:webandORCA_BACKGROUND_LAUNCH=1 pnpm tc:node: passed.ORCA_BACKGROUND_LAUNCH=1 pnpm run check:code-quality:changed: passed, zero new findings.RPC parameter catalog and localization catalogs, extraction, and coverage checks: passed. Card copy is available in all supported locales.
Hidden Electron: verified worktree identity; fresh-profile Compact with no card; an actual older-profile migration showing the rendered card; Got it persisted to the main store and stayed dismissed on reload; both selector choices persisted and restored.
Linux, Windows, and SSH were not manually exercised. Remaining full tests/build checks run in CI.
Review
Self-reviewed default and normalization call sites, migration eligibility before default filling, persisted dismissal, focus behavior, selector discovery, and reuse of the existing notice. Old hosts omit the new flag, which keeps the notice hidden; choosing a mode sends the new field only for an armed notice. The RPC addition is optional. Antigravity code and tests were untouched; the worktree was clean at task start.
Agent skill upstream boundary
Notes
No platform-specific paths or shortcuts, remote execution, or process-status behavior changed. Folder workspaces share the same preference and migration path.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)