feat: add copy button to user messages in chat sidebar

- Add copy-to-clipboard functionality for user messages
- Support non-HTTPS environments with execCommand fallback
- Add visual feedback with check icon on successful copy
This commit is contained in:
dayuan.jiang
2025-11-29 12:19:14 +09:00
parent b87e3a2de9
commit b396f07254
2 changed files with 108 additions and 42 deletions

5
.gitignore vendored
View File

@@ -41,3 +41,8 @@ yarn-error.log*
next-env.d.ts
push-via-ec2.sh
.claude/settings.local.json
next
next-ai-draw-io@0.2.0
object
starting