feat: celebration UI — confetti + modal on certificate mint#5
Open
AzeemCreates wants to merge 3 commits intomainfrom
Open
feat: celebration UI — confetti + modal on certificate mint#5AzeemCreates wants to merge 3 commits intomainfrom
AzeemCreates wants to merge 3 commits intomainfrom
Conversation
Wire canvas-confetti explosion and a success modal with Solana Explorer link to the existing mint-certificate flow in SurgerySimulator. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…gic, voice coaching - Add SURGERY_SEQUENCE with 4 locked steps (Frontal → Parietal → Temporal → Occipital) - Clicking wrong region shows HUD error notification with Anime.js pulse - Correct region triggers existing /api/neuro-data + /api/mentor pipeline - Anime.js animates progress bar width, step label slide-in, and HUD background pulse - Voice coaching calls /api/audio-guide on each step completion (fails silently) - Claim Certificate button only unlocks after all 4 steps complete (isSurgeryComplete) - Add lucide-react for Check/Lock/AlertTriangle HUD icons Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…g, and ElevenLabs voice - New SurgeryRoom component: full-screen immersive surgery environment - Procedural brain mesh with sulci/gyri displacement (multi-octave noise + sine folds) - 4 interactive lobe hit zones with sequential lock (Frontal → Parietal → Temporal → Occipital) - Anime.js camera transitions to focus on active lobe during each procedure - Each step calls /api/neuro-data (Snowflake RAG) → /api/mentor (Gemini) → /api/audio-guide (ElevenLabs) - Real-time mentor text overlay and voice coaching audio playback - Progress HUD with step tracker, animated progress bar, and toast notifications - "Enter Surgery" button on dashboard opens immersive mode - Surgery completion syncs back to dashboard, unlocking Claim Certificate - Lazy-loaded and code-split (11.5 kB own chunk) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
canvas-confettidependency and fire a confetti explosion over the 3D canvas on successful certificate mintTest plan
npm run buildfrom frontend — confirm clean build🤖 Generated with Claude Code