fix(ui): hide RAM/CPU/VRAM in header by default; opt in via Settings → Performance - #106
Conversation
…→ Performance The header's live metrics block (`RAM 12.8/16G CPU 25% VRAM 3.2G ●Idle Flush`) was loud chrome — a user picking "Voice Clone" doesn't need a resource monitor competing with the OmniVoice brand. The Idle/Ready/Loading status badge + Flush button stay visible because both are action-relevant; only the three numeric counters are gated. Behind a Zustand-persisted `showHeaderLiveStats` flag, default `false`. Power users can flip it on via Settings → Performance → "Show live system metrics in header" — same panel where the torch.compile toggle already lives, so all "Performance" controls cluster. Why opt-in (not opt-out): the project's stated core value is "a first-run that actually works" — successful state should be invisible. Telemetry chrome is the opposite of that. Defaults must work on every platform per the CLAUDE.md rule landed earlier today; "Show metrics by default" is fine-on-developer-laptops noise on every other machine. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughA new toggleable preference is added to conditionally display live system metrics (RAM/CPU/VRAM) in the header. The preference is stored in the Zustand app store, persisted via localStorage, controlled through a checkbox in the Performance Settings panel, and read by the Header component to show or hide the metrics. ChangesHeader Live Stats Visibility Toggle
🎯 2 (Simple) | ⏱️ ~12 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 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 |
Continuation of the "calm chrome" pass started in #105. Removes the loudest piece of always-visible telemetry from the welcome screen.
What was annoying
`RAM 12.8/16G CPU 25% VRAM 3.2G ●Idle Flush` lived in the header beside the OmniVoice brand. A user picking "Voice Clone" doesn't need a resource monitor. Telemetry chrome is the opposite of "a first-run that actually works."
What's hidden vs kept
How to enable
Settings → Performance → "Show live system metrics in header"
Persists via the Zustand store (same path as the existing torch.compile toggle, so the "Performance" panel clusters all perf controls).
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit