Refinement: Performance, UI/UX and Logic Improvements - #23
Conversation
As Bolt ⚡, I have implemented a set of optimizations and refinements: 1. ⚡ **Perf: Dynamic FPS for SVG Animations** - Sleeping state now runs at 4 FPS (saving CPU). - Overheat and Shaking states run at 20 FPS (smoother feedback). - Other states run at 12 FPS. 2. 🎨 **UI/UX: Window Opacity & Stats Fix** - Added 'Opacity' setting (20-100%) to Config and Settings UI. - Fixed layout in StatsDialog Progress tab: Points and Speed Record are now aligned. - History tab icons and formatting refined. 3. 🐛 **Fix: Petting Logic & Redundant Logs** - Petting now requires active mouse movement (>30px) and has a 500ms cooldown. - Removed double logging of events in TrayMenu and InputManager. - Removed deprecated `flush_points` in favor of `flush_all`. 4. 🧹 **Clean: Code Cleanup** - Refactored achievement checks to use cached stats more effectively. - Optimized InputManager data flushing. All tests passed. Verified in headless environment with mocks.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
…4' into bolt-perf-ui-refinement-1978427563272863595
This submission introduces several key improvements to the desktop pet application, focusing on performance, user experience, and code quality.
Key changes:
Technical impact: Improved CPU efficiency, better interaction feedback, and enhanced user customization.
PR created automatically by Jules for task 1978427563272863595 started by @mx57