feat: enhance stats visualization with improved charts and time range selection#8
Merged
Merged
Conversation
… selection - Fix chart interpolation: use linear interpolation instead of catmullRom for accurate data representation - Add time range picker with proper labels and fixed size to prevent wrapping - Implement DetailedStatsView with larger charts and comprehensive metrics - Refactor chart components into reusable views (CPUChart, MemoryChart, NetworkIOChart, BlockIOChart) - Add proper chart updating when time range changes using .id() modifiers - Fix layout recursion issues by using explicit axis configurations - Add CLAUDE.md with project guidelines for consistent UI patterns - Eliminate code duplication by creating shared chart components - Fix Time Range picker label wrapping on both main and detailed views All charts now display with: - Straight lines between data points for accurate representation - Proper time range filtering with visual updates - Consistent styling across main and detailed views - No UI freezing or layout warnings Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Chart Interpolation
.interpolationMethod(.catmullRom)from all chartsCode Refactoring
CPUChart- configurable with height and showXAxis parametersMemoryChart- configurable with height and showXAxis parametersNetworkIOChart- configurable with height and showXAxis parametersBlockIOChart- specific for detailed view with dual read/write linesBug Fixes
.id()modifiers on individual sections instead of entire view hierarchyDocumentation
Test Plan
🤖 Generated with Claude Code