Skip to content

Refactor StatsDialog and Add Event History#17

Merged
mx57 merged 2 commits into
feat/desktop-pet-cat-implementation-13128440384193574434from
bolt-ui-ux-improvements-11620845377612478587
Jul 10, 2026
Merged

Refactor StatsDialog and Add Event History#17
mx57 merged 2 commits into
feat/desktop-pet-cat-implementation-13128440384193574434from
bolt-ui-ux-improvements-11620845377612478587

Conversation

@mx57

@mx57 mx57 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

This update enhances the Desktop Pet Cat's UI/UX by introducing a tabbed statistics dialog and a comprehensive event history log.

Key Improvements:

  1. Event History: A new "History" tab in the Statistics dialog allows users to track their interactions (feeding, level-ups, achievements, Pomodoro sessions) with timestamps and icons.
  2. Tabbed Stats Interface: Reorganized the Statistics dialog using QTabWidget for better clarity, separating long-term progress from recent activity.
  3. Precision Petting: Replaced a hardcoded +50 pixel offset in petting detection with dynamic center calculation, ensuring accurate interaction even when the cat window is stretched or resized.
  4. Enhanced Logging: Integrated DataStore.log_event across core components (InputManager, TrayMenu) to populate the new history view.

Verified via offscreen UI rendering and unit tests.


PR created automatically by Jules for task 11620845377612478587 started by @mx57

- Refactored `StatsDialog` to use `QTabWidget`, separating "Progress" and "History".
- Implemented event history view displaying the last 30 activities with icons.
- Integrated event logging for level-ups, achievements, feeding, and Pomodoro sessions.
- Improved petting detection precision by using dynamic window center instead of hardcoded offsets.
- Added UI verification script in `tests/`.
@google-labs-jules

Copy link
Copy Markdown

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

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-ui-ux-improvements-11620845377612478587
@mx57 mx57 merged commit c5c7b29 into feat/desktop-pet-cat-implementation-13128440384193574434 Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant