Fix/sonar issues and metrics bar - #4494
Conversation
Mark never-reassigned members as readonly, drop unnecessary Node type assertions in favor of instanceof guards, and add accessible names to metrics-bar inputs and the metric search label. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Center the bottom metrics bar on the viewport instead of between the sidebars, so resizing the explorer no longer shifts it. Remove the now unused --cc-explorer-width / --cc-inspector-occupied-width plumbing. Co-Authored-By: Claude Opus 4.8 (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 Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThree main feature areas and one test support change: (1) ChangesRemove CSS Variable Layout, Update MetricsBar Positioning
Add ariaLabel to SliderNumberInput and Consumer Templates
readonly Modifiers and instanceof Node Guards
E2E Test Support for Metrics Bar Interaction
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (2 warnings, 1 inconclusive)
✅ Passed checks (2 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 |
The metrics bar is centered on the viewport and intentionally sits behind the open explorer, so its left-most area segment was unreachable and the area-metric e2e tests timed out. Collapse the explorer first to expose it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|



{Meaningful title}
Please read the CONTRIBUTING.md before opening a PR.
Closes: #
Description
Descriptive pull request text, answering:
Definition of Done
A PR is only ready for merge once all the following acceptance criteria are fulfilled:
Screenshots or gifs
Summary by CodeRabbit