Skip to content

feat: add copy response button with Sonner toast notifications#3

Open
karanray06 wants to merge 1 commit into
mainfrom
feature/copy-response-button
Open

feat: add copy response button with Sonner toast notifications#3
karanray06 wants to merge 1 commit into
mainfrom
feature/copy-response-button

Conversation

@karanray06

Copy link
Copy Markdown
Collaborator
  • Add Copy button to every AI response message
  • Replace simple copied state with Sonner toast notifications
  • Toast shows on successful copy with 2s duration
  • Error fallback toast if clipboard write fails
  • Install sonner package for toast notifications
  • Add Toaster component to root layout (bottom-right position)
  • Clean improvements to UX for response handling

- Add Copy button to every AI response message
- Replace simple copied state with Sonner toast notifications
- Toast shows on successful copy with 2s duration
- Error fallback toast if clipboard write fails
- Install sonner package for toast notifications
- Add Toaster component to root layout (bottom-right position)
- Clean improvements to UX for response handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant