Bring the Wapuu World easter egg to the agentic UI - #4299
Merged
Conversation
Port the Konami-triggered platformer and its high-score display from the legacy renderer to apps/ui, wiring the score through the connector layer so it persists on desktop and in the browser targets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Collaborator
📊 Performance Test ResultsComparing 5267962 vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
…to-agentic-ui # Conflicts: # apps/ui/src/components/settings-view/index.test.tsx # apps/ui/src/components/settings-view/index.tsx # apps/ui/src/components/settings-view/style.module.css
Reuse the Usage tab's progress-bar styles for the Wapuu score meter so it renders consistently, instead of the custom track/fill that displayed poorly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Use the same outline/neutral Button variant as the account "Log out" button for the "Visit wapuu.studio" action, instead of a small minimal button. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
Ha, I didn't know this existed! Fun! |
…to-agentic-ui # Conflicts: # apps/ui/src/data/core/connectors/local/index.ts
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.
Related issues
How AI was used in this PR
The migration was carried out with Claude Code: exploring both the legacy easter-egg module and the agentic UI's architecture, adapting the engine, wiring the connector/score layer, and writing the tests. All changes were reviewed by me, and the game and Settings score block were verified running in the browser (light + dark).
Proposed Changes
The Wapuu World easter egg — the Konami-triggered mini platformer with a persisted high score shown in Settings — previously existed only in the legacy Studio renderer. This brings it to the agentic UI so the same easter egg is available there.
studio ui/ hosted, via local storage).Note on adapting to apps/ui: the agentic UI has no Redux and no Tailwind, so open/close state uses a small subscribable module slot (mirroring the existing
pending-blueprintpattern), the external link and score go through theConnectorabstraction, and the overlay is styled with a CSS module +--wpds-color-*tokens rather than utility classes. The canvas game engine itself moved over essentially unchanged — its only host coupling (persisting the win score) is now an injected callback.Testing Instructions
Automated:
npm test -- apps/ui(273 pass, incl. new Konami-hook, overlay open/close, and score-display tests) andnpm run typecheck.Pre-merge Checklist