feat: add copy button to assistant messages#212
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Disabled knowledge base sources:
📝 WalkthroughWalkthroughModifies AssistantMessage component to aggregate text content from all text parts and display a copy button alongside the final text part. Updates container styling to enable hover-group effects and adjusts memo dependencies accordingly. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
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. Comment |
Position copy button inline at end of last text paragraph, hidden by default with smooth opacity transition on hover. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
CopyButtoncomponent and text extraction pattern fromUserMessage.tsxTest plan
🤖 Generated with Claude Code
Summary by CodeRabbit