Skip to content

Dev#248

Merged
patchzyy merged 2 commits intomainfrom
dev
Mar 31, 2026
Merged

Dev#248
patchzyy merged 2 commits intomainfrom
dev

Conversation

@patchzyy
Copy link
Copy Markdown
Member

@patchzyy patchzyy commented Mar 31, 2026

Summary by CodeRabbit

  • New Features
    • April Fools' Day celebration: Mii images display with random rotations throughout the application.
    • Game title "Retro Rewind" is renamed to "Retro Beefbai" on April 1st.
    • Sequential confirmation popups appear when launching gameplay on April 1st.
    • Special April Fools' themed Mii character data is now used in the system.

@patchzyy patchzyy merged commit c4c6b0e into main Mar 31, 2026
2 of 3 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 31, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c69a9381-3e81-460e-a281-f2b6f17cc715

📥 Commits

Reviewing files that changed from the base of the PR and between 27b313e and 1b4c845.

📒 Files selected for processing (5)
  • WheelWizard/Features/MiiImages/MiiStudioDataSerializer.cs
  • WheelWizard/Utilities/AprilFirstHelper.cs
  • WheelWizard/Views/Pages/HomePage.axaml.cs
  • WheelWizard/Views/Patterns/MiiImages/MiiImageLoader.axaml.cs
  • WheelWizard/Views/Patterns/MiiImages/MiiImageLoaderWithHover.axaml.cs

📝 Walkthrough

Walkthrough

This PR introduces an April Fools Day feature across the WheelWizard codebase. It adds date-detection logic, special Mii data substitution during serialization, UI title transformations (Retro Rewind → Retro Beefbai), sequential confirmation prompts on button clicks, and random rotation effects applied to Mii images.

Changes

Cohort / File(s) Summary
Date Detection Utility
WheelWizard/Utilities/AprilFirstHelper.cs
New static utility class providing IsAprilFirstLocalOrBst() method that checks if current date is April 1st, with timezone-aware logic supporting London/BST and UTC fallback.
Mii Serialization
WheelWizard/Features/MiiImages/MiiStudioDataSerializer.cs
Added conditional logic in Serialize() method: when April 1st is detected, replaces input Mii with predefined April Fools Mii data via deserialization; includes new private static constants for date check and base64-encoded Mii data.
Home Page UI
WheelWizard/Views/Pages/HomePage.axaml.cs
Converted PlayButton_Click to async handler with conditional sequential yes/no prompts (up to 4) on April 1st; modified UpdatePage() and PopulateGameModeDropdown() to replace "Retro Rewind" title with "Retro Beefbai" during April Fools.
Mii Image Display
WheelWizard/Views/Patterns/MiiImages/MiiImageLoader.axaml.cs, MiiImageLoaderWithHover.axaml.cs
Added random RotateTransform (0-360°) to Mii image containers when April 1st is detected, affecting visual rendering of both standard and hover-enabled Mii image loaders.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Poem

🐰 Upon the first of April's jest,
The Beefbai emerges from its nest!
Mii dancers twirl and spin about,
While prompts appear—what's this all about?
A whimsical patch to brighten the day! ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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