You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enhance statistics page UI with improved visual design
## Visual Improvements
### Mastery Breakdown
- Replace ⬤ with ■ symbol for consistency with heatmap legend
- Color icons to match mastery level (Green/Yellow/LightRed/Blue)
- Display actual keys under each mastery level (not truncated)
- Remove empty lines for tighter, cleaner spacing
### Weaknesses List
- Update title to "Weakest Keys (Lower = More Practice)"
- Change format from "1." to "#1" for emphasis
- Add "← WEAKEST" indicator for #1 entry (most practice needed)
- Ensure all top 10 keys are displayed
### Common Mistypes
- Increase from 5 to 10 items
- Display in 2-column layout for efficient space usage
- Remove empty lines for compact presentation
### Keyboard Heatmap Legend
- Update labels: "Good" → "Proficient", "Weak" → "Beginner"
- Change Beginner color from Red to Blue for better distinction from Learning (LightRed)
### Global Padding & Spacing
- Add horizontal and top padding to all blocks for breathing room
- Statistics blocks: Padding(1, 1, 1, 0) - left, right, top
- Menu lists: Padding(1, 1, 1, 0) for consistent spacing
- Lesson content blocks: Padding(2, 2, 1, 0) for enhanced readability
- Increase typing area height from 10 to 14 lines (7+7 with padding)
- Remove initial empty lines from all stat blocks for cleaner presentation
## Layout Adjustments
### Statistics Page
- Overall Performance: 8 lines
- Mastery Levels: 20 lines (displays all 4 levels with keys)
- Weakest Keys: 8 lines (compact, focused)
- Common Mistypes: 10+ lines (2-column layout)
### Lesson Screen
- Text blocks increased from Length(5) to Length(7) each
- Content area increased from 10 to 14 total lines
- Proper spacing between text and borders
## Technical Changes
- Update mastery breakdown to collect and display keys per level
- Implement 2-column layout for common mistypes using div_ceil
- Standardize padding across all UI components
- Maintain consistent color scheme throughout
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
0 commit comments