Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add “Copy to Clipboard” Functionality to Chat Bubbles #168

Open
visten1 opened this issue Nov 15, 2024 · 1 comment
Open

Add “Copy to Clipboard” Functionality to Chat Bubbles #168

visten1 opened this issue Nov 15, 2024 · 1 comment
Labels
new feature New feature or request

Comments

@visten1
Copy link

visten1 commented Nov 15, 2024

Summary

Currently, in the chat component, only code snippets have a “copy to clipboard” icon. However, it would be highly beneficial for users to have the option to copy the entire content of a chat bubble (for both text and code bubbles) directly, without needing to select the text manually.

Problem Statement

For users, especially in support and collaboration scenarios, it’s common to share the entire response or instruction from a chat bubble with others. Currently, users must select the content manually, which can be time-consuming and error-prone, especially on mobile devices. A “copy to clipboard” button for the entire chat bubble would greatly improve the user experience and make sharing information more convenient.

Proposed Solution

Add a “copy to clipboard” button/icon for each chat bubble, ideally positioned on the bottom right (next to the thumbs up/down) for accessibility and consistency. This icon would work similarly to the existing “copy to clipboard” functionality for code snippets but would encompass all the text in the chat bubble.

Expected Behavior

1.	Each chat bubble displays a “copy to clipboard” icon when hovered (or in the bottom right corner).
2.	Clicking the icon copies the full content of the chat bubble to the user’s clipboard.
3.	An optional toast or tooltip can confirm that the content has been copied successfully.
4.     When pasted into Obsidian/Notion, it should copied exactly how it was shown

Alternative solution

  • Is there a way for consumers to update the thumbs up and down and replace it with our own?
@Jurredr Jurredr added the new feature New feature or request label Nov 15, 2024
@Jurredr
Copy link
Contributor

Jurredr commented Nov 19, 2024

Thank you for taking the time to request a feature. Good idea. Currently, there are higher priority items to be worked on, but we will take this on in our backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants