Conversation
feat(components): add PlayButton component with demo and docs
feat(buttons): add CopyButton component with confetti animation
|
Caution Review failedThe pull request is closed. WalkthroughAdds two new UI components (CopyButton with confetti and PlayButton), their demos, docs, and registry/navigation entries. Updates preview registry, CLI registry files, and package dependencies (adds lottie types/deps, removes packageManager). Bumps CLI version. Removes SplashCursorDemo and drops a client directive from ColorChangingButton. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor U as User
participant CB as CopyButton (client)
participant CL as Clipboard API
participant LA as Lottie Animation
U->>CB: Click button
activate CB
CB->>CL: navigator.clipboard.writeText(text)
CL-->>CB: Promise resolved
CB->>CB: set copied = true (2s timer)
CB->>LA: Start confetti (autoplay, no loop)
Note over CB,LA: Success label shown during copied=true window
CB-->>U: Visual feedback (label + confetti)
CB->>CB: After 2s set copied = false
deactivate CB
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (17)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary by CodeRabbit